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-1575 HMaster does not handle ZK session expiration
|
||||||
HBASE-1620 Need to use special StoreScanner constructor for major compactions
|
HBASE-1620 Need to use special StoreScanner constructor for major compactions
|
||||||
(passed sf, no caching, etc) (Jon Gray via Stack)
|
(passed sf, no caching, etc) (Jon Gray via Stack)
|
||||||
|
HBASE-1624 Don't sort Puts if only one in list in HCM#processBatchOfRows
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
HBASE-1412 Change values for delete column and column family in KeyValue
|
HBASE-1412 Change values for delete column and column family in KeyValue
|
||||||
|
|
|
@ -1003,7 +1003,9 @@ public class HConnectionManager implements HConstants {
|
||||||
}
|
}
|
||||||
boolean retryOnlyOne = false;
|
boolean retryOnlyOne = false;
|
||||||
int tries = 0;
|
int tries = 0;
|
||||||
|
if (list.size() > 1) {
|
||||||
Collections.sort(list);
|
Collections.sort(list);
|
||||||
|
}
|
||||||
List<Put> currentPuts = new ArrayList<Put>();
|
List<Put> currentPuts = new ArrayList<Put>();
|
||||||
HRegionLocation location =
|
HRegionLocation location =
|
||||||
getRegionLocationForRowWithRetries(tableName, list.get(0).getRow(),
|
getRegionLocationForRowWithRetries(tableName, list.get(0).getRow(),
|
||||||
|
|
Loading…
Reference in New Issue