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

Avoid race condition between status monitoring and download tasks #532

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

ponyisi
Copy link
Collaborator

@ponyisi ponyisi commented Dec 5, 2024

If a transform task completed while the download polling was going on, we might miss some outstanding files to download. Do not terminate the polling loop now until all files are seen in the object store.

@ponyisi ponyisi added this to the 3.0.1 Bugfixes milestone Dec 5, 2024
@ponyisi ponyisi requested a review from BenGalewsky December 5, 2024 19:57
@ponyisi ponyisi requested a review from gordonwatts December 6, 2024 16:18
Copy link

codecov bot commented Dec 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.05%. Comparing base (2e2af1b) to head (6368f6b).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #532   +/-   ##
=======================================
  Coverage   88.05%   88.05%           
=======================================
  Files          26       26           
  Lines        1658     1658           
=======================================
  Hits         1460     1460           
  Misses        198      198           
Flag Coverage Δ
unittests 88.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@gordonwatts gordonwatts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fact we have a hang, with no info for the user, makes me uncomfortable. However, lets get this out.

@ponyisi
Copy link
Collaborator Author

ponyisi commented Dec 6, 2024

I propose to resolve @gordonwatts 's concern in 3.0.2 (#533).

@ponyisi ponyisi merged commit b969ab3 into master Dec 6, 2024
42 checks passed
@ponyisi ponyisi deleted the download-everything branch December 6, 2024 16:45
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.

2 participants