-
Notifications
You must be signed in to change notification settings - Fork 521
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
Fix inappropriate shard will cause base64 decode error #1383
Conversation
Change-Id: Ibc90df4e792b00222d41806fee769082545dea40
Codecov Report
@@ Coverage Diff @@
## master #1383 +/- ##
============================================
- Coverage 62.37% 62.09% -0.29%
- Complexity 5829 5842 +13
============================================
Files 385 385
Lines 31953 32260 +307
Branches 4460 4521 +61
============================================
+ Hits 19931 20032 +101
- Misses 10001 10199 +198
- Partials 2021 2029 +8 Continue to review full report at Codecov.
|
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.
please update PR title
@@ -327,6 +327,7 @@ public long estimateNumKeys(Session session) { | |||
|
|||
@Override | |||
public byte[] position(String position) { | |||
// The value of START AND END are same |
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.
AND => and
but prefer don't assume START and END are the same, prefer START.equals(position) || END.equals(position)
Change-Id: Ia21bb0bcbbca9c3110f6c6ad61c15f4a2f598b1c
* Fix shard start is 0 will cause base64 decode error Change-Id: Ibc90df4e792b00222d41806fee769082545dea40
No description provided.