Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use bigint to store job's result size to increase the limit ~2 GiB to…
… ~8 EiB * I was made aware of this limitation by the following error showing up in a cleanup task on OSD: ``` DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: ERROR: integer out of range [for Statement "UPDATE jobs SET logs_present = ?, result_size = result_size - 9511751560, t_updated = ? WHERE id = ?" with ParamValues: 1=\'0\', 2=\'2021-03-12 23:23:27\', 3=\'5572530\'] at /usr/share/openqa/script/../lib/OpenQA/Schema/Result/Jobs.pm line 1185 ``` * Requires 4 more byte per job * Migration might take a while to execute
- Loading branch information