-
Notifications
You must be signed in to change notification settings - Fork 417
Update KVStore and KVStoreSync arguments to being owned #3974
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
Conversation
👋 Thanks for assigning @tnull as a reviewer! |
2329565
to
619ec16
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3974 +/- ##
==========================================
- Coverage 88.91% 88.90% -0.01%
==========================================
Files 174 174
Lines 124232 124233 +1
Branches 124232 124233 +1
==========================================
- Hits 110455 110450 -5
- Misses 11301 11304 +3
- Partials 2476 2479 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
👋 The first review has been submitted! Do you think this PR is ready for a second reviewer? If so, click here to assign a second reviewer. |
daf19e3
to
d37c595
Compare
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.
Switch to Display
looks good, but this is pending on the other discussion.
d37c595
to
42eb7af
Compare
Updated PR according to offline discussion outcome. Only make the data to write owned for both sync and async. |
This avoids the need for async KVStore implementations to copy data.
42eb7af
to
23a1eb7
Compare
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
Going to land this to unblock the follow up. Approach has been discussed wider offline, and PR can be checked post-merge @TheBlueMatt. |
This avoids the need for async KVStore implementations to copy data.
Preparation for #3931