accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject git commit: ACCUMULO-2872 synchronize access to lastCompactId
Date Thu, 24 Jul 2014 20:10:42 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 78f1c1429 -> 449746792


ACCUMULO-2872 synchronize access to lastCompactId


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

Branch: refs/heads/master
Commit: 449746792430a055c77475def5bd5ca7667b42bc
Parents: 78f1c14
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Thu Jul 24 16:09:37 2014 -0400
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Thu Jul 24 16:09:54 2014 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/44974679/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
----------------------------------------------------------------------
diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
index 90ea7b2..11febc9 100644
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
@@ -2564,7 +2564,7 @@ public class Tablet implements TabletCommitter {
     return activeScans.size();
   }
 
-  public void setLastCompactionID(Long compactionId) {
+  synchronized public void setLastCompactionID(Long compactionId) {
     if (compactionId != null)
       this.lastCompactID = compactionId;
   }


Mime
View raw message