-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
kv: remove the useless field of snapshot
#10276
Conversation
/run-all-tests |
Codecov Report
@@ Coverage Diff @@
## master #10276 +/- ##
================================================
- Coverage 77.6992% 77.6727% -0.0265%
================================================
Files 411 411
Lines 85441 85389 -52
================================================
- Hits 66387 66324 -63
- Misses 14095 14105 +10
- Partials 4959 4960 +1 |
/run-all-tests |
@@ -80,7 +79,6 @@ type unionStore struct { | |||
func NewUnionStore(snapshot Snapshot) UnionStore { |
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.
Can you remove the argument of the function?
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.
It is used on line82.
PTAL @ngaut @tiancaiamao |
LGTM |
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
What problem does this PR solve?
snapshot
isn't being used.What is changed and how it works?
Remove the useless field in kv.
Check List
Tests