diff --git a/config/zookeeper.properties b/config/zookeeper.properties index 8c186a3cf9f..90f4332ec31 100644 --- a/config/zookeeper.properties +++ b/config/zookeeper.properties @@ -22,8 +22,3 @@ maxClientCnxns=0 # Set the port to something non-conflicting if choosing to enable this admin.enableServer=false # admin.serverPort=8080 - -# Enable snapshot.trust.empty config if the ZK upgrade from 3.4.X to 3.5.6 is failing -# with "java.io.IOException: No snapshot found, but there are log entries" error. -# Check upgrade docs for more details. -# snapshot.trust.empty=true diff --git a/docs/upgrade.html b/docs/upgrade.html index 2f470e38051..7773be1a62e 100644 --- a/docs/upgrade.html +++ b/docs/upgrade.html @@ -72,9 +72,21 @@
Additional Upgrade Notes:
snapshot.trust.empty=true in zookeeper.properties before the upgrade
-        to avoid ZOOKEEPER-3056. After the new version starts successfully, it is safe to remove this config.
-        See ZooKeeper advanced configuration for more details.
+    snapshot.trust.empty=true
+        config in zookeeper.properties before the upgrade. But we have observed data loss in standalone cluster upgrades when using
+        snapshot.trust.empty=true config. For more details about the issue please refer to ZOOKEEPER-3644.
+        So we recommend the safe workaround of copying empty snapshot file to the 3.4 data directory,
+        if there are no snapshot files in 3.4 data directory. For more details about the workaround please refer to ZooKeeper Upgrade FAQ.
+    zookeeper.properties) provided by the Apache Kafka distribution.
+        Make sure to update your local zookeeper.properties file with admin.enableServer=false if you wish to disable the AdminServer.
+        Please refer AdminServer config to configure the AdminServer.
     bin/kafka-preferred-replica-election.sh command line tool has been deprecated. It has been replaced by bin/kafka-leader-election.sh.electPreferredLeaders in the Java AdminClient class have been deprecated in favor of the methods electLeaders.NewTopic(String, int, short) constructor with literal values will need to explicitly call toShort on the second literal.