kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject kudu git commit: KUDU-1097: turn on 3-4-3 replica management scheme
Date Tue, 09 Jan 2018 01:13:41 GMT
Repository: kudu
Updated Branches:
  refs/heads/master 72c83c571 -> 1ac10d536


KUDU-1097: turn on 3-4-3 replica management scheme

This patch enables 3-4-3 replica management scheme for tablets: now
the 3-4-3 scheme is used by default.  To switch back to 3-2-3 scheme,
set --raft_prepare_replacement_before_eviction=false for both masters
and tablet servers.

Change-Id: I781d02fe455140ed3a4693438eece74f07700946
Reviewed-on: http://gerrit.cloudera.org:8080/8862
Tested-by: Kudu Jenkins
Reviewed-by: Mike Percy <mpercy@apache.org>


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

Branch: refs/heads/master
Commit: 1ac10d5364db507e5052f5dc13c19d32f62dc4f6
Parents: 72c83c5
Author: Alexey Serbin <aserbin@cloudera.com>
Authored: Sun Dec 17 22:06:16 2017 -0800
Committer: Alexey Serbin <aserbin@cloudera.com>
Committed: Tue Jan 9 01:13:07 2018 +0000

----------------------------------------------------------------------
 src/kudu/consensus/raft_consensus.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/1ac10d53/src/kudu/consensus/raft_consensus.cc
----------------------------------------------------------------------
diff --git a/src/kudu/consensus/raft_consensus.cc b/src/kudu/consensus/raft_consensus.cc
index 0892f9f..09f66d9 100644
--- a/src/kudu/consensus/raft_consensus.cc
+++ b/src/kudu/consensus/raft_consensus.cc
@@ -123,7 +123,7 @@ TAG_FLAG(raft_enable_tombstoned_voting, experimental);
 TAG_FLAG(raft_enable_tombstoned_voting, runtime);
 
 // Enable improved re-replication (KUDU-1097).
-DEFINE_bool(raft_prepare_replacement_before_eviction, false,
+DEFINE_bool(raft_prepare_replacement_before_eviction, true,
             "When enabled, failed replicas will only be evicted after a "
             "replacement has been prepared for them.");
 TAG_FLAG(raft_prepare_replacement_before_eviction, advanced);


Mime
View raw message