Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10491 work items fix #5655

Merged
merged 4 commits into from
Dec 17, 2024
Merged

10491 work items fix #5655

merged 4 commits into from
Dec 17, 2024

Conversation

pixiwyn
Copy link
Contributor

@pixiwyn pixiwyn commented Dec 17, 2024

Just a quick comment for a paper trail:

The issue was that submitPetitionFromPaperSequence's createCaseFromPaperAction inserted a work item (to the east, write database instance) which we then immediately tried to fetch (from the west, read replica--depending on the user's location) and re-upsert in submitPetitionFromPaperSequence's later assignPetitionToAuthenticatedUserAction. In rare cases, the write won't have been replicated to the read replica by the time assignPetitionToAuthenticatedUserAction tries to fetch it.

We fixed this by passing the created work item through props to avoid re-fetching the work item we just created as part of createCaseFromPaperAction.

@pixiwyn pixiwyn merged commit 4642680 into ustaxcourt:test Dec 17, 2024
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants