HBASE-10616. Addendum that fixes the case of multiget_batchsize == 1
git-svn-id: https://svn.apache.org/repos/asf/hbase/branches/hbase-10070@1577438 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
72ba78667c
commit
ffabf9ba9b
|
@ -206,7 +206,7 @@ public class MultiThreadedReader extends MultiThreadedAction
|
|||
numKeys++;
|
||||
} while (numKeys < batchSize);
|
||||
|
||||
if (numKeys > 1) { //meaning there is some key to read
|
||||
if (numKeys > 0) { //meaning there is some key to read
|
||||
readKey(keysForThisReader);
|
||||
// We have verified some unique key(s).
|
||||
numUniqueKeysVerified.getAndAdd(readingRandomKeyStartIndex == -1 ?
|
||||
|
|
Loading…
Reference in New Issue