Fix overlogging; part of HBASE-792 patch
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@681833 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b3bdd512f3
commit
92bd62bf58
|
@ -1524,7 +1524,7 @@ public class HStore implements HConstants {
|
||||||
private static boolean isExpired(final HStoreKey hsk, final long ttl,
|
private static boolean isExpired(final HStoreKey hsk, final long ttl,
|
||||||
final long now) {
|
final long now) {
|
||||||
boolean result = ttl != HConstants.FOREVER && now > hsk.getTimestamp() + ttl;
|
boolean result = ttl != HConstants.FOREVER && now > hsk.getTimestamp() + ttl;
|
||||||
if (LOG.isDebugEnabled()) {
|
if (result && LOG.isDebugEnabled()) {
|
||||||
LOG.debug("rowAtOrBeforeCandidate 1:" + hsk +
|
LOG.debug("rowAtOrBeforeCandidate 1:" + hsk +
|
||||||
": expired, skipped");
|
": expired, skipped");
|
||||||
}
|
}
|
||||||
|
@ -1887,4 +1887,4 @@ public class HStore implements HConstants {
|
||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue