hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r934687 - in /hadoop/hbase/branches/0.20: CHANGES.txt src/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java
Date Fri, 16 Apr 2010 05:13:51 GMT
Author: stack
Date: Fri Apr 16 05:13:51 2010
New Revision: 934687

URL: http://svn.apache.org/viewvc?rev=934687&view=rev
Log:
HBASE-2456  deleteChangedReaderObserver spitting warnings after HBASE-2248

Modified:
    hadoop/hbase/branches/0.20/CHANGES.txt
    hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java

Modified: hadoop/hbase/branches/0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/CHANGES.txt?rev=934687&r1=934686&r2=934687&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.20/CHANGES.txt Fri Apr 16 05:13:51 2010
@@ -83,6 +83,7 @@ Release 0.20.4 - Unreleased
    HBASE-2439  HBase can get stuck if updates to META are blocked
                (Kannan Muthukkaruppan via Stack)
    HBASE-2451   .META. by-passes cache; BLOCKCACHE=>'false'
+   HBASE-2456   deleteChangedReaderObserver spitting warnings after HBASE-2248
 
   IMPROVEMENTS
    HBASE-2180  Bad read performance from synchronizing hfile.fddatainputstream

Modified: hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java?rev=934687&r1=934686&r2=934687&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java
(original)
+++ hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java
Fri Apr 16 05:13:51 2010
@@ -132,7 +132,8 @@ class StoreScanner implements KeyValueSc
   }
 
   public synchronized void close() {
-    this.closing.set(true);
+    boolean state = this.closing.getAndSet(true);
+    if (state) return;
     // under test, we dont have a this.store
     if (this.store != null)
       this.store.deleteChangedReaderObserver(this);



Mime
View raw message