HBASE-11701 Start and end of memstore flush log should be on the same level (Esteban Gutierrez)

This commit is contained in:
Andrew Purtell 2014-08-07 17:53:43 -07:00
parent e11e89e5af
commit da01d2f53d
1 changed files with 5 additions and 6 deletions

View File

@ -1711,12 +1711,11 @@ public class HRegion implements HeapSize { // , Writable{
this.updatesLock.writeLock().unlock(); this.updatesLock.writeLock().unlock();
} }
} }
if (LOG.isDebugEnabled()) {
LOG.debug("Started memstore flush for " + this + LOG.info("Started memstore flush for " + this +
", current region memstore size " + ", current region memstore size " +
StringUtils.byteDesc(this.memstoreSize.get()) + StringUtils.byteDesc(this.memstoreSize.get()) +
((wal != null)? "": "; wal is null, using passed sequenceid=" + myseqid)); ((wal != null)? "": "; wal is null, using passed sequenceid=" + myseqid));
}
// Stop updates while we snapshot the memstore of all of these regions' stores. We only have // Stop updates while we snapshot the memstore of all of these regions' stores. We only have
// to do this for a moment. It is quick. We also set the memstore size to zero here before we // to do this for a moment. It is quick. We also set the memstore size to zero here before we