HBASE-1624 Don't sort Puts if only one in list in HCM#processBatchOfRows
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@791999 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d8607b4e16
commit
79e1eed60e
|
@ -447,6 +447,7 @@ Release 0.20.0 - Unreleased
|
|||
HBASE-1575 HMaster does not handle ZK session expiration
|
||||
HBASE-1620 Need to use special StoreScanner constructor for major compactions
|
||||
(passed sf, no caching, etc) (Jon Gray via Stack)
|
||||
HBASE-1624 Don't sort Puts if only one in list in HCM#processBatchOfRows
|
||||
|
||||
OPTIMIZATIONS
|
||||
HBASE-1412 Change values for delete column and column family in KeyValue
|
||||
|
|
|
@ -1003,7 +1003,9 @@ public class HConnectionManager implements HConstants {
|
|||
}
|
||||
boolean retryOnlyOne = false;
|
||||
int tries = 0;
|
||||
if (list.size() > 1) {
|
||||
Collections.sort(list);
|
||||
}
|
||||
List<Put> currentPuts = new ArrayList<Put>();
|
||||
HRegionLocation location =
|
||||
getRegionLocationForRowWithRetries(tableName, list.get(0).getRow(),
|
||||
|
|
Loading…
Reference in New Issue