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:
Michael Stack 2010-08-05 03:58:32 +00:00
parent 2db593c8c6
commit 37af9aab2e
2 changed files with 5 additions and 11 deletions

View File

@ -468,6 +468,7 @@ Release 0.21.0 - Unreleased
reference files
HBASE-2871 Make "start|stop" commands symmetric for Master & Cluster
(Nicolas Spiegelberg via Stack)
HBASE-2901 HBASE-2461 broke build
IMPROVEMENTS
HBASE-1760 Cleanup TODOs in HTable

View File

@ -140,17 +140,10 @@ class SplitTransaction {
// Check splitrow.
byte [] startKey = hri.getStartKey();
byte [] endKey = hri.getEndKey();
KVComparator comparator = this.parent.comparator;
if (comparator.compareRows(startKey, 0, startKey.length,
this.splitrow, 0, this.splitrow.length) >= 0) {
LOG.info("Split row is <= start key row, not splitting: " +
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));
if (Bytes.equals(startKey, splitrow) ||
!this.parent.getRegionInfo().containsRow(splitrow)) {
LOG.info("Split row is not inside region key range or is equal to " +
"startkey: " + Bytes.toString(this.splitrow));
return prepared;
}
long rid = getDaughterRegionIdTimestamp(hri);