Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
104752: upgrades: fix txn retry bug in upgrade batching r=stevendanna a=adityamaru In #104545 we broke up the txn that is responsible for backfill the `system.job_info` table as part of an upgrade. That diff had a bug where a txn retry inside the `db.Txn` closure could result in us skipping rows to backfill. The consequence of this is that some jobs will not have their payload and progress copied over from the `system.jobs` table to the `system.job_info` table. This is bad because once the cluster is fully upgraded, the job system will **only** consult the `system.job_info` table during execution. When it does so, the job is destined to fail as there will be no payload or progress entry corresponding to that job. Fixes: #104653 Release note (bug fix): fixes a bug where a txn retry during the backfill of the jobs info table could result in job rows being missed Co-authored-by: adityamaru <adityamaru@gmail.com>
- Loading branch information