Due to the data volume, the basic not null instruction constraint which is
blocking impose us downtime for loaders otherwise.
Related to T2547
Differential D3936
sql: Make the extra_headers not null a constraint ardumont on Sep 14 2020, 10:59 AM. Authored by
Details
Due to the data volume, the basic not null instruction constraint which is Related to T2547 tox
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D3936 (id=13869)Rebasing onto ed55e9c775... First, rewinding head to replay your work on top of it... Applying: sql: Make the extra_headers not null a constraint Changes applied before testcommit a9601712a106e4847fd91ff58298efa5982aa28b Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Sep 14 10:58:59 2020 +0200 sql: Make the extra_headers not null a constraint Due to the data volume, the basic not null instruction constraint which is blocking impose us downtime for loaders otherwise. Related to T2547 See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/931/ for more details. Comment Actions As there has been a release with the not null column property, this should be a new version of the database schema so people who deployed recently can get this change. But as the old version (not null column property) and the new version (not null constraint) are functionally equivalent, I'm not sure whether we really need to do one more migration here. Comment Actions ok, i think you meant i only need to change 161.sql and the remaining can stay as before as it is functionally equivalent. Comment Actions Build is green Patch application report for D3936 (id=13871)Rebasing onto ed55e9c775... Current branch diff-target is up to date. Changes applied before testcommit 3b781a8a523ca73fea815f79d339802362fa7705 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Sep 14 13:07:31 2020 +0200 sql: Make the extra_headers not null a constraint Due to the data volume, the basic not null instruction constraint (which is blocking) impose us downtime for loaders otherwise. Related to T2547 See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/932/ for more details. |