We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 124af63 commit d492aeaCopy full SHA for d492aea
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
@@ -635,8 +635,12 @@ public void run() {
635
Throwable lastException = null;
636
try {
637
TraceUtil.addTimelineAnnotation("syncing writer");
638
+ long unSyncedFlushSeq = highestUnsyncedTxid;
639
writer.sync(sf.isForceSync());
640
TraceUtil.addTimelineAnnotation("writer synced");
641
+ if (unSyncedFlushSeq > currentSequence) {
642
+ currentSequence = unSyncedFlushSeq;
643
+ }
644
currentSequence = updateHighestSyncedSequence(currentSequence);
645
} catch (IOException e) {
646
LOG.error("Error syncing, request close of WAL", e);
0 commit comments