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

This commit is contained in:
tedyu 2016-10-17 07:19:49 -07:00
parent 1e3d8c8226
commit 2786253120
1 changed files with 1 additions and 1 deletions

View File

@ -601,7 +601,7 @@ public class FSHLog extends AbstractFSWAL<Writer> {
currentSequence = this.sequence;
long syncFutureSequence = takeSyncFuture.getTxid();
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.