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-32290: Re-order table creation in dataset manager #589

Merged
merged 1 commit into from Oct 29, 2021

Conversation

andy-slac
Copy link
Contributor

Tags and calib tables are now registered after their creation, this
avoids inconsistency if creation fails. Also added checks for table
existence when tables need to be read.

Checklist

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

@codecov
Copy link

codecov bot commented Oct 26, 2021

Codecov Report

Merging #589 (687c0d2) into master (6f853fa) will decrease coverage by 0.01%.
The diff coverage is 55.55%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #589      +/-   ##
==========================================
- Coverage   83.53%   83.52%   -0.02%     
==========================================
  Files         241      241              
  Lines       30228    30233       +5     
  Branches     4509     4511       +2     
==========================================
+ Hits        25252    25253       +1     
- Misses       3784     3786       +2     
- Partials     1192     1194       +2     
Impacted Files Coverage Δ
.../butler/registry/datasets/byDimensions/_manager.py 89.65% <55.55%> (-2.49%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6f853fa...687c0d2. Read the comment docs.

Tags and calib tables are now registered after their creation, this
avoids inconsistency if creation fails. Also added checks for table
existence when tables need to be read.
Copy link
Member

@TallJimbo TallJimbo left a comment

Choose a reason for hiding this comment

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

Looks great; sorry it took me so long to get to the review.

@andy-slac andy-slac merged commit 33d162b into master Oct 29, 2021
@andy-slac andy-slac deleted the tickets/DM-32290 branch October 29, 2021 15:35
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