-
Notifications
You must be signed in to change notification settings - Fork 687
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
store: add methods to check for presence of a value without reading it out #10494
Conversation
In general looks reasonable to me. But maybe either @wacban or @shreyan-gupta can also validate. I'll give my approval. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #10494 +/- ##
==========================================
+ Coverage 72.01% 72.02% +0.01%
==========================================
Files 720 720
Lines 146476 146558 +82
Branches 146476 146558 +82
==========================================
+ Hits 105486 105565 +79
+ Misses 36133 36130 -3
- Partials 4857 4863 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
3b88260
to
93ae45f
Compare
250b646
to
3642da6
Compare
Outstanding question: do we need or want to consult flat storage when checking for presence?
`get_received_data` has a property of returning the data read out from the storage which can result in the data being read out multiple times only for most of these reads to be immediately discarded. The newly added functions enable explicitly checking for presence of a key without reading out the corresponding value.
93ae45f
to
fb68b79
Compare
Best reviewed on a per-commit basis.
cc #10455