hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1564593 - /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
Date Wed, 05 Feb 2014 00:48:09 GMT
Author: tedyu
Date: Wed Feb  5 00:48:09 2014
New Revision: 1564593

URL: http://svn.apache.org/r1564593
Log:
HBASE-10467 Restore HTableDescriptor#isDeferredLogFlush()


Modified:
    hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java

Modified: hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java?rev=1564593&r1=1564592&r2=1564593&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
(original)
+++ hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
Wed Feb  5 00:48:09 2014
@@ -1026,7 +1026,7 @@ class FSHLog implements HLog, Syncable {
           this.numEntries.incrementAndGet();
           this.asyncWriter.setPendingTxid(txid);
 
-          if (htd.isAsyncLogFlush()) {
+          if (htd.isDeferredLogFlush()) {
             lastUnSyncedTxid = txid;
           }
           this.latestSequenceNums.put(encodedRegionName, seqNum);
@@ -1037,7 +1037,7 @@ class FSHLog implements HLog, Syncable {
         // deferred log flushing
         if (doSync &&
             (info.isMetaRegion() ||
-            !htd.isAsyncLogFlush())) {
+            !htd.isDeferredLogFlush())) {
           // sync txn to file system
           this.sync(txid);
         }



Mime
View raw message