accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1448316 - /accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/tabletserver/log/DfsLogger.java
Date Wed, 20 Feb 2013 17:44:39 GMT
Author: ecn
Date: Wed Feb 20 17:44:39 2013
New Revision: 1448316

URL: http://svn.apache.org/r1448316
Log:
ACCUMULO-1053 force logger to write something before attempting recursive defineTablet flushes

Modified:
    accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/tabletserver/log/DfsLogger.java

Modified: accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/tabletserver/log/DfsLogger.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/tabletserver/log/DfsLogger.java?rev=1448316&r1=1448315&r2=1448316&view=diff
==============================================================================
--- accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/tabletserver/log/DfsLogger.java
(original)
+++ accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/tabletserver/log/DfsLogger.java
Wed Feb 20 17:44:39 2013
@@ -291,6 +291,7 @@ public class DfsLogger {
       key.tserverSession = filename;
       key.filename = filename;
       write(key, EMPTY);
+      logFile.sync();
       log.debug("Got new write-ahead log: " + this);
     } catch (IOException ex) {
       if (logFile != null)



Mime
View raw message