Skip to content

fix: pin bulk submission delete to primary DB#3019

Open
ukanga wants to merge 1 commit intomainfrom
fix/pin-delete-submissions-to-master
Open

fix: pin bulk submission delete to primary DB#3019
ukanga wants to merge 1 commit intomainfrom
fix/pin-delete-submissions-to-master

Conversation

@ukanga
Copy link
Copy Markdown
Member

@ukanga ukanga commented Feb 19, 2026

Changes / Features implemented

delete_xform_submissions and its async wrapper lack @use_master, so the submission_count correction reads from a replica that may have replication lag. The stale count matches num_of_submissions, skipping the correction entirely.

Steps taken to verify this change does what is intended

Existing tests still pass.

Side effects of implementing this change

None

Before submitting this PR for review, please make sure you have:

  • Included tests
  • Updated documentation

Closes #

@ukanga ukanga force-pushed the fix/pin-delete-submissions-to-master branch 2 times, most recently from 35e472a to 75e130f Compare February 19, 2026 20:57
delete_xform_submissions and its async wrapper lack @use_master,
so the submission_count correction reads from a replica that may
have replication lag. The stale count matches num_of_submissions,
skipping the correction entirely.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant