HBASE-16856 Exception message in SyncRunner.run() should print currentSequence (Allan Yang)

This commit is contained in:
tedyu 2016-10-17 07:23:02 -07:00
parent a4cbdede31
commit 08498c6848
1 changed files with 1 additions and 1 deletions

View File

@ -1239,7 +1239,7 @@ public class FSHLog implements WAL {
currentSequence = this.sequence;
long syncFutureSequence = takeSyncFuture.getRingBufferSequence();
if (syncFutureSequence > currentSequence) {
throw new IllegalStateException("currentSequence=" + syncFutureSequence +
throw new IllegalStateException("currentSequence=" + currentSequence +
", syncFutureSequence=" + syncFutureSequence);
}
// See if we can process any syncfutures BEFORE we go sync.