anoopsjohn commented on a change in pull request #2092: URL: https://github.com/apache/hbase/pull/2092#discussion_r456809912
########## File path: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java ########## @@ -595,8 +595,12 @@ public void run() { Throwable lastException = null; try { TraceUtil.addTimelineAnnotation("syncing writer"); + long unSyncedFlushSeq = highestUnsyncedTxid; Review comment: Ya this looks to be an issue. We update the highestSyncedTxid with currentSequence which was calculated in above steps. By the time when we actually do the sync, it would have been changed. The moment we call a sync (by any syncer tread) we would sync all appends till then. cc @saintstack ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org