hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1235001 - /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java
Date Mon, 23 Jan 2012 21:37:18 GMT
Author: tedyu
Date: Mon Jan 23 21:37:18 2012
New Revision: 1235001

URL: http://svn.apache.org/viewvc?rev=1235001&view=rev
Log:
HBASE-5243 Addendum moves the close() method to right place

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

Modified: hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java?rev=1235001&r1=1235000&r2=1235001&view=diff
==============================================================================
--- hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java (original)
+++ hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java Mon
Jan 23 21:37:18 2012
@@ -1069,6 +1069,10 @@ public class HLog implements Syncable {
         LOG.info(getName() + " exiting");
       }
     }
+    
+    void close(){
+      closeLogSyncer = true;
+    }
   }
 
   private void syncer() throws IOException {
@@ -1203,11 +1207,7 @@ public class HLog implements Syncable {
       for (WALActionsListener i: this.listeners) {
         i.logRollRequested();
       }
-    }
-    
-    void close(){
-      closeLogSyncer = true;
-    }
+    }    
   }
 
   protected void doWrite(HRegionInfo info, HLogKey logKey, WALEdit logEdit,



Mime
View raw message