Update KVStore and KVStoreSync arguments to being owned#3974
Update KVStore and KVStoreSync arguments to being owned#3974joostjager merged 1 commit intolightningdevkit:mainfrom
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
tnull
left a comment
There was a problem hiding this comment.
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
|
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