hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From la...@apache.org
Subject svn commit: r1364895 - /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestAtomicOperation.java
Date Tue, 24 Jul 2012 05:19:31 GMT
Author: larsh
Date: Tue Jul 24 05:19:30 2012
New Revision: 1364895

URL: http://svn.apache.org/viewvc?rev=1364895&view=rev
Log:
HBASE-5659 Addendum

Modified:
    hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestAtomicOperation.java

Modified: hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestAtomicOperation.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestAtomicOperation.java?rev=1364895&r1=1364894&r2=1364895&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestAtomicOperation.java
(original)
+++ hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestAtomicOperation.java
Tue Jul 24 05:19:30 2012
@@ -276,6 +276,9 @@ public class TestAtomicOperation extends
                 synchronized(region) {
                   LOG.debug("flushing");
                   region.flushcache();
+                  if (i%100==0) {
+                    region.compactStores();
+                  }
                 }
               }
               long ts = timeStamps.incrementAndGet();
@@ -361,6 +364,9 @@ public class TestAtomicOperation extends
                 synchronized(region) {
                   LOG.debug("flushing");
                   region.flushcache();
+                  if (i%100==0) {
+                    region.compactStores();
+                  }
                 }
               }
               long ts = timeStamps.incrementAndGet();



Mime
View raw message