HBASE-16856 Exception message in SyncRunner.run() should print currentSequence (Allan Yang)
This commit is contained in:
parent
a4cbdede31
commit
08498c6848
|
@ -1239,7 +1239,7 @@ public class FSHLog implements WAL {
|
||||||
currentSequence = this.sequence;
|
currentSequence = this.sequence;
|
||||||
long syncFutureSequence = takeSyncFuture.getRingBufferSequence();
|
long syncFutureSequence = takeSyncFuture.getRingBufferSequence();
|
||||||
if (syncFutureSequence > currentSequence) {
|
if (syncFutureSequence > currentSequence) {
|
||||||
throw new IllegalStateException("currentSequence=" + syncFutureSequence +
|
throw new IllegalStateException("currentSequence=" + currentSequence +
|
||||||
", syncFutureSequence=" + syncFutureSequence);
|
", syncFutureSequence=" + syncFutureSequence);
|
||||||
}
|
}
|
||||||
// See if we can process any syncfutures BEFORE we go sync.
|
// See if we can process any syncfutures BEFORE we go sync.
|
||||||
|
|
Loading…
Reference in New Issue