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-16801 The Append/Increment may return the data from future - addendum (ChiaPing Tsai)
Date Wed, 12 Oct 2016 17:06:59 GMT
Repository: hbase
Updated Branches:
  refs/heads/master b76b75142 -> 996d631c6


HBASE-16801 The Append/Increment may return the data from future - addendum (ChiaPing Tsai)


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

Branch: refs/heads/master
Commit: 996d631c620be9a8f167d32be7dc18e9447af8e2
Parents: b76b751
Author: tedyu <yuzhihong@gmail.com>
Authored: Wed Oct 12 10:06:51 2016 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Wed Oct 12 10:06:51 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/996d631c/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ServerNonceManager.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ServerNonceManager.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ServerNonceManager.java
index 47842fd..11e46a4 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ServerNonceManager.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ServerNonceManager.java
@@ -62,7 +62,7 @@ public class ServerNonceManager {
     private static final long WAITING_BIT = 4;
     private static final long ALL_FLAG_BITS = WAITING_BIT | STATE_BITS;
 
-    private long mvcc;
+    private volatile long mvcc;
 
     @Override
     public String toString() {


Mime
View raw message