hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-16856 Exception message in SyncRunner.run() should print currentSequence (Allan Yang)
Date Mon, 17 Oct 2016 14:20:07 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 1e3d8c822 -> 278625312


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


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/27862531
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/27862531
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/27862531

Branch: refs/heads/master
Commit: 278625312047a2100f4dbb2d2eaa4e2219d00e14
Parents: 1e3d8c8
Author: tedyu <yuzhihong@gmail.com>
Authored: Mon Oct 17 07:19:49 2016 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Mon Oct 17 07:19:49 2016 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/27862531/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
index f93537d..3e0e829 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
@@ -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.


Mime
View raw message