Skip to content

Commit

Permalink
Added zookeeper.snapshot.trust.empty=true for ZK 3.5 upgrade (apach…
Browse files Browse the repository at this point in the history
…e#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.
  • Loading branch information
merlimat authored and sijie committed Dec 24, 2019
1 parent c635d08 commit 616d459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pulsar
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 616d459

Please sign in to comment.