提交 616d4590 编写于 作者: M Matteo Merli 提交者: Sijie Guo

Added `zookeeper.snapshot.trust.empty=true` for ZK 3.5 upgrade (#5855)

### Motivation

According to https://issues.apache.org/jira/browse/ZOOKEEPER-3056 we need to pass a flag to ZK to make sure we can start it without a snapshot file, as part of the upgrade from zk-3.4.x. 

From Pulsar 2.6 on, we'll then be able to remove this flag.
上级 c635d08a
......@@ -294,7 +294,7 @@ OPTS="$OPTS -Dpulsar.functions.extra.dependencies.dir=${FUNCTIONS_EXTRA_DEPS_DIR
OPTS="$OPTS -Dpulsar.functions.instance.classpath=${PULSAR_CLASSPATH}"
ZK_OPTS=" -Dzookeeper.4lw.commands.whitelist=*"
ZK_OPTS=" -Dzookeeper.4lw.commands.whitelist=* -Dzookeeper.snapshot.trust.empty=true"
#Change to PULSAR_HOME to support relative paths
cd "$PULSAR_HOME"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册