accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktur...@apache.org
Subject [2/3] accumulo git commit: ACCUMULO-4324 update data version
Date Fri, 22 Jul 2016 20:33:37 GMT
ACCUMULO-4324 update data version


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

Branch: refs/heads/master
Commit: c8aa1fc110b4fb31f78ec5a59932046d79fbe875
Parents: 61e28dc
Author: Michael Wall <mjwall@gmail.com>
Authored: Tue Jun 21 14:50:52 2016 -0400
Committer: Keith Turner <kturner@apache.org>
Committed: Fri Jul 22 16:15:39 2016 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/accumulo/server/ServerConstants.java  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/c8aa1fc1/server/base/src/main/java/org/apache/accumulo/server/ServerConstants.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/ServerConstants.java b/server/base/src/main/java/org/apache/accumulo/server/ServerConstants.java
index 8c64d50..e840ea2 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/ServerConstants.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/ServerConstants.java
@@ -47,13 +47,17 @@ public class ServerConstants {
   public static final Integer WIRE_VERSION = 3;
 
   /**
+   * version (8) reflects changes to RFile index (ACCUMULO-1124) in version 1.8.0
+   */
+  public static final int SHORTEN_RFILE_KEYS = 8;
+  /**
    * version (7) also reflects the addition of a replication table
    */
   public static final int MOVE_TO_REPLICATION_TABLE = 7;
   /**
    * this is the current data version
    */
-  public static final int DATA_VERSION = MOVE_TO_REPLICATION_TABLE;
+  public static final int DATA_VERSION = SHORTEN_RFILE_KEYS;
   /**
    * version (6) reflects the addition of a separate root table (ACCUMULO-1481) in version
1.6.0
    */


Mime
View raw message