hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r681833 - /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HStore.java
Date Fri, 01 Aug 2008 21:23:03 GMT
Author: stack
Date: Fri Aug  1 14:23:02 2008
New Revision: 681833

URL: http://svn.apache.org/viewvc?rev=681833&view=rev
Log:
Fix overlogging; part of HBASE-792 patch

Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HStore.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HStore.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HStore.java?rev=681833&r1=681832&r2=681833&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HStore.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HStore.java Fri Aug 
1 14:23:02 2008
@@ -1524,7 +1524,7 @@
   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 @@
       return key;
     }
   }
-}
\ No newline at end of file
+}



Mime
View raw message