-
Notifications
You must be signed in to change notification settings - Fork 349
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
perf: update proto_checkpoint_view to use index #8793
Conversation
✅ Deploy Preview for determined-ui canceled.
|
@NicholasBlaskey can you post the new plan? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8793 +/- ##
==========================================
+ Coverage 47.72% 53.93% +6.20%
==========================================
Files 1049 616 -433
Lines 167258 70734 -96524
Branches 2243 0 -2243
==========================================
- Hits 79816 38147 -41669
+ Misses 87284 32587 -54697
+ Partials 158 0 -158
Flags with carried forward coverage won't be shown. Click here to find out more. |
new query
|
old query
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, checked it out locally and hit some apis to make sure there wasn't some random thing using that view that was untested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, checked it out locally and hit some apis to make sure there wasn't some random thing using that view that was untested.
Description
proto_checkpoint_view
was castingcheckpoints_v2.uuid
to a text meaning we couldn't use the index oncheckpoints_v2.uuid
so model queries were full scanning checkpoints.Test Plan
TestCheckpointReturned
should have this covered wellCommentary (optional)
Checklist
docs/release-notes/
.See Release Note for details.
Ticket