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:
Michael Stack 2008-08-01 21:23:02 +00:00
parent b3bdd512f3
commit 92bd62bf58
1 changed files with 2 additions and 2 deletions

View File

@ -1524,7 +1524,7 @@ public class HStore implements HConstants {
private static boolean isExpired(final HStoreKey hsk, final long ttl,
final long now) {
boolean result = ttl != HConstants.FOREVER && now > hsk.getTimestamp() + ttl;
if (LOG.isDebugEnabled()) {
if (result && LOG.isDebugEnabled()) {
LOG.debug("rowAtOrBeforeCandidate 1:" + hsk +
": expired, skipped");
}
@ -1887,4 +1887,4 @@ public class HStore implements HConstants {
return key;
}
}
}
}