HBASE-16856 Exception message in SyncRunner.run() should print currentSequence (Allan Yang)
This commit is contained in:
parent
1e3d8c8226
commit
2786253120
|
@ -601,7 +601,7 @@ public class FSHLog extends AbstractFSWAL<Writer> {
|
||||||
currentSequence = this.sequence;
|
currentSequence = this.sequence;
|
||||||
long syncFutureSequence = takeSyncFuture.getTxid();
|
long syncFutureSequence = takeSyncFuture.getTxid();
|
||||||
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