kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From granthe...@apache.org
Subject [2/2] kudu git commit: [release_notes] replica management scheme notes
Date Wed, 14 Mar 2018 16:15:59 GMT
[release_notes] replica management scheme notes

Added relevant notes on the new replica management scheme used
in Kudu 1.7 by default:
  * the new replica management scheme is incompatible with old one
  * rolling upgrade 1.6 -> 1.7 is not possible

Change-Id: I49f1f1e17cdaee272592d598431a33dbfe55123f
Reviewed-on: http://gerrit.cloudera.org:8080/9571
Tested-by: Kudu Jenkins
Reviewed-by: Grant Henke <granthenke@gmail.com>


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

Branch: refs/heads/master
Commit: 84244461d0aa5df1c041869ecbd2d18a0cca7659
Parents: 706b3c3
Author: Alexey Serbin <aserbin@cloudera.com>
Authored: Fri Mar 9 16:40:13 2018 -0800
Committer: Grant Henke <granthenke@gmail.com>
Committed: Wed Mar 14 16:09:40 2018 +0000

----------------------------------------------------------------------
 docs/release_notes.adoc | 40 ++++++++++++++++++++++++++++++++++++++--
 1 file changed, 38 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/84244461/docs/release_notes.adoc
----------------------------------------------------------------------
diff --git a/docs/release_notes.adoc b/docs/release_notes.adoc
index 740c64d..1c7f7c5 100644
--- a/docs/release_notes.adoc
+++ b/docs/release_notes.adoc
@@ -32,8 +32,13 @@
 == Upgrade Notes
 
 * Upgrading directly from Kudu 1.6.0 is supported and no special upgrade steps
-  are required. A rolling upgrade may work, however it has not been tested.
-  When upgrading Kudu, it is recommended to first shut down all Kudu processes
+  are required. A rolling upgrade of the server side will _not_ work because
+  the default replica management scheme changed, and running masters and tablet
+  servers with different replica management schemes is not supported, see
+  <<rn_1.7.0_incompatible_changes>> for details. However, mixing client and
+  server sides of different versions is not a problem, i.e. you can still
+  update your clients before your servers or vice versa.
+  When upgrading to Kudu 1.7, it is required to first shut down all Kudu processes
   across the cluster, then upgrade the software on all servers, then restart
   the Kudu processes on all servers in the cluster.
 
@@ -89,6 +94,16 @@
   reporting changes have been made to make various common scenarios,
   particularly tablet copies, less alarming.
 
+* KUDU-1097: a new replica management scheme is implemented and enabled by
+  default. With the new replica management scheme, the system first adds a
+  replacement tablet replica before evicting the failed one. With the previous
+  replica management scheme, the system first evicts the failed replica and
+  then adds a replacement. The new replica management scheme allows for much
+  faster recovery of tablets in scenarios where one tablet server goes down and
+  then returns back shortly after 5 minutes or so. To switch back to the old
+  scheme, set the `--raft_prepare_replacement_before_eviction` run-time flag to
+  `false` for *all* tablet servers and masters in Kudu 1.7 cluster.
+
 [[rn_1.7.0_fixed_issues]]
 == Fixed Issues
 
@@ -123,6 +138,27 @@ on wire compatibility between Kudu 1.7 and versions earlier than 1.3:
 [[rn_1.7.0_incompatible_changes]]
 == Incompatible Changes in Kudu 1.7.0
 
+* The newly introduced replica management scheme is not compatible with the
+  old scheme, so it's not possible to run pre-1.7 Kudu masters with
+  1.7 Kudu tablet servers and vice versa, unless setting the run-time flag
+  `--raft_prepare_replacement_before_eviction` to `false` for 1.7 masters
+  and tablet servers. In essence, tablet servers cannot register with masters
+  running with different replica management scheme. This is the server-side
+  incompatibility only and it does not affect the client side. In other words,
+  Kudu clients of prior versions are compatible with the Kudu server side
+  running with either scheme, assuming the same replica management scheme
+  is used by all masters and tablet servers in the Kudu cluster.
+**  Kudu masters of 1.7 version will not register Kudu tablet servers of 1.6
+    and prior revisions. To run 1.7 masters with the old scheme, set the
+    `--raft_prepare_replacement_before_eviction` to `false`.
+**  Kudu tablet servers of 1.7 version will not work with Kudu masters of 1.6
+    and prior versions. To make the case of such misconfiguration easily
+    detectable, Kudu tablet servers of 1.7 version crash when they detect their
+    masters running with different replica management scheme. The crashing of
+    tablet servers in such scenarios can be disabled by setting their
+    `--heartbeat_incompatible_replica_management_is_fatal` run-time flag to
+    `false`.
+
 [[rn_1.7.0_client_compatibility]]
 === Client Library Compatibility
 


Mime
View raw message