HBASE-2901 HBASE-2461 broke build
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@982461 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2db593c8c6
commit
37af9aab2e
|
@ -468,6 +468,7 @@ Release 0.21.0 - Unreleased
|
||||||
reference files
|
reference files
|
||||||
HBASE-2871 Make "start|stop" commands symmetric for Master & Cluster
|
HBASE-2871 Make "start|stop" commands symmetric for Master & Cluster
|
||||||
(Nicolas Spiegelberg via Stack)
|
(Nicolas Spiegelberg via Stack)
|
||||||
|
HBASE-2901 HBASE-2461 broke build
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-1760 Cleanup TODOs in HTable
|
HBASE-1760 Cleanup TODOs in HTable
|
||||||
|
|
|
@ -140,17 +140,10 @@ class SplitTransaction {
|
||||||
// Check splitrow.
|
// Check splitrow.
|
||||||
byte [] startKey = hri.getStartKey();
|
byte [] startKey = hri.getStartKey();
|
||||||
byte [] endKey = hri.getEndKey();
|
byte [] endKey = hri.getEndKey();
|
||||||
KVComparator comparator = this.parent.comparator;
|
if (Bytes.equals(startKey, splitrow) ||
|
||||||
if (comparator.compareRows(startKey, 0, startKey.length,
|
!this.parent.getRegionInfo().containsRow(splitrow)) {
|
||||||
this.splitrow, 0, this.splitrow.length) >= 0) {
|
LOG.info("Split row is not inside region key range or is equal to " +
|
||||||
LOG.info("Split row is <= start key row, not splitting: " +
|
"startkey: " + Bytes.toString(this.splitrow));
|
||||||
Bytes.toString(this.splitrow));
|
|
||||||
return prepared;
|
|
||||||
}
|
|
||||||
if (comparator.compareRows(this.splitrow, 0, this.splitrow.length,
|
|
||||||
endKey, 0, endKey.length) >= 0) {
|
|
||||||
LOG.info("Split row is >= end key row, not splitting: " +
|
|
||||||
Bytes.toString(this.splitrow));
|
|
||||||
return prepared;
|
return prepared;
|
||||||
}
|
}
|
||||||
long rid = getDaughterRegionIdTimestamp(hri);
|
long rid = getDaughterRegionIdTimestamp(hri);
|
||||||
|
|
Loading…
Reference in New Issue