From dc59799cc329e841883d85be34e9594c02fac76f Mon Sep 17 00:00:00 2001 From: Edmund Higham Date: Fri, 31 Oct 2025 15:02:30 -0400 Subject: [PATCH] [batch] fix idempotent create update --- batch/batch/front_end/front_end.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch/batch/front_end/front_end.py b/batch/batch/front_end/front_end.py index a2277b9734c..1eee2196324 100644 --- a/batch/batch/front_end/front_end.py +++ b/batch/batch/front_end/front_end.py @@ -1866,7 +1866,7 @@ async def update(tx: Transaction): ) if record: - return (record['update_id'], record['start_job_id'], record['start_job_group_id']) + return (record['update_id'], record['start_job_group_id'], record['start_job_id']) # We use FOR UPDATE so that we serialize batch update insertions # This is necessary to reserve job id and job group id ranges.