Skip to content

Commit

Permalink
Revert "HBASE-27080 Optimize debug output log of ConstantSizeRegionSp…
Browse files Browse the repository at this point in the history
…litPolicy class. (apache#4481)"

This reverts commit 26e0416.
  • Loading branch information
wenwj0 authored Jun 14, 2022
1 parent 5c1889d commit 67204fc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ protected final boolean isExceedSize(long sizeToCheck) {
sumSize += store.getSize();
}
if (sumSize > sizeToCheck) {
LOG.debug("Should split because region size is big enough " + "sumSize={}, sizeToCheck={}",
LOG.debug("ShouldSplit because region size is big enough " + "sumSize={}, sizeToCheck={}",
StringUtils.humanSize(sumSize), StringUtils.humanSize(sizeToCheck));
return true;
}
} else {
for (HStore store : region.getStores()) {
long size = store.getSize();
if (size > sizeToCheck) {
LOG.debug("Should split because {} size={}, sizeToCheck={}", store.getColumnFamilyName(),
LOG.debug("ShouldSplit because {} size={}, sizeToCheck={}", store.getColumnFamilyName(),
StringUtils.humanSize(size), StringUtils.humanSize(sizeToCheck));
return true;
}
Expand Down

0 comments on commit 67204fc

Please sign in to comment.