Rake task to bump CI tables sequences
What does this MR do and why?
Adding a Rake Task to help with Rollback, in the DB Decomposition Phase 7, to bump all the CI Tables Sequences.
Rake task: gitlab:db:decomposition:rollback:bump_ci_sequences
Issue: #362321 (closed)
How to set up and validate locally
$ gdk psql -c 'select last_value from ci_build_needs_id_seq'
last_value
------------
1103
(1 row)
$ rake gitlab:db:decomposition:rollback:bump_ci_sequences
$ gdk psql -c 'select last_value from ci_build_needs_id_seq'
last_value
------------
101104
(1 row)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Omar Qunsul