hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1390787 - /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java
Date Thu, 27 Sep 2012 00:22:47 GMT
Author: stack
Date: Thu Sep 27 00:22:47 2012
New Revision: 1390787

URL: http://svn.apache.org/viewvc?rev=1390787&view=rev
Log:
HBASE-6679 RegionServer aborts due to race between compaction and split

Modified:
    hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java

Modified: hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java?rev=1390787&r1=1390786&r2=1390787&view=diff
==============================================================================
--- hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java (original)
+++ hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java Thu
Sep 27 00:22:47 2012
@@ -133,7 +133,7 @@ public class Store implements HeapSize {
    * List of store files inside this store. This is an immutable list that
    * is atomically replaced when its contents change.
    */
-  private ImmutableList<StoreFile> storefiles = null;
+  private volatile ImmutableList<StoreFile> storefiles = null;
 
   List<StoreFile> filesCompacting = Lists.newArrayList();
 



Mime
View raw message