Skip to content

Wait for transaction to commit before queueing modify job - #536

Merged
duckduckgrayduck merged 1 commit into
masterfrom
fix-modify-race-condition
Nov 10, 2026
Merged

duckduckgrayduck merged 1 commit into
masterfrom
fix-modify-race-condition

Conversation

@dnass

@dnass dnass commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Fixes a race condition that could cause a document's pending status to be overwritten by a stale success when a modification job is processing.

Comment thread documentcloud/documents/views.py Resolved
@dnass
dnass force-pushed the fix-modify-race-condition branch from 2d748c0 to 637d9cf Compare November 10, 2026 14:08
Comment thread documentcloud/documents/views.py Resolved
@dnass
dnass force-pushed the fix-modify-race-condition branch from 637d9cf to 731a0fd Compare November 10, 2026 14:11
@duckduckgrayduck
duckduckgrayduck merged commit e137536 into master Nov 10, 2026
3 checks passed
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.

3 participants