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

fix race condition for statuses on export #999

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Conversation

sephirothkod
Copy link
Contributor

There are times when the last entries of an export have an old version of an ExporterRun and they think there are still are enqueued record when other threads have already processed them. This causes the ExporterRun to potentially never update the status and it appears to never complete (stuck in pending state, despite the export being finished). This PR reloads the ExporterRun before checking to make sure it is up to date and the status update runs.

@sephirothkod sephirothkod added bug Something isn't working patch-ver for release notes labels Dec 20, 2024
@orangewolf orangewolf merged commit 5ae568a into main Dec 20, 2024
6 of 8 checks passed
@orangewolf orangewolf deleted the fix_export_statuses branch December 20, 2024 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants