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

DM-38305: Fix race condition in DatasetRecordStorageManager refresh #804

Merged
merged 2 commits into from Mar 15, 2023

Conversation

andy-slac
Copy link
Contributor

Refresh of collection summaries could see newly added dataset types which are not picked by the manager refresh. As we only care about consistency between them, the fix is to ignore dataset types which are not known to the manager.

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

Refresh of collection summaries could see newly added dataset types which
are not picked by the manager refresh. As we only care about consistency
between them, the fix is to ignore dataset types which are not known to the
manager.
@codecov
Copy link

codecov bot commented Mar 14, 2023

Codecov Report

Patch coverage: 93.33% and project coverage change: -0.01 ⚠️

Comparison is base (a415d2f) 85.63% compared to head (5b0350a) 85.63%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #804      +/-   ##
==========================================
- Coverage   85.63%   85.63%   -0.01%     
==========================================
  Files         266      266              
  Lines       35180    35182       +2     
  Branches     7380     7380              
==========================================
+ Hits        30127    30128       +1     
  Misses       3735     3735              
- Partials     1318     1319       +1     
Impacted Files Coverage Δ
...butler/registry/datasets/byDimensions/summaries.py 95.06% <91.66%> (-1.24%) ⬇️
.../butler/registry/datasets/byDimensions/_manager.py 91.95% <100.00%> (+0.08%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@andy-slac andy-slac merged commit f32ae8e into main Mar 15, 2023
@andy-slac andy-slac deleted the tickets/DM-38305 branch March 15, 2023 15:38
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.

None yet

2 participants