You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by kt...@apache.org on 2016/07/22 20:17:27 UTC
[2/2] accumulo git commit: ACCUMULO-4324 update data version
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/1.8
Commit: c8aa1fc110b4fb31f78ec5a59932046d79fbe875
Parents: 61e28dc
Author: Michael Wall <mj...@gmail.com>
Authored: Tue Jun 21 14:50:52 2016 -0400
Committer: Keith Turner <kt...@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
*/