Skip to content

Fix bug where files over 2 GB would not be saved in Geo tracking DB

Stan Hu requested to merge sh-fix-geo-file-size into master

If an LFS file were over 2 GB, Sidekiq would fail with a message such as:

2917923200 is out of range for ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Integer with limit 4

Increase the value in the database from a 4-byte integer to a 8-byte integer.

Merge request reports

Loading