This is an automated email from the ASF dual-hosted git repository.

tison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new b6f0f91e099 [feat][cli] Update bin/bookkeeper script (#16905)
b6f0f91e099 is described below

commit b6f0f91e099c47cd18cd901d5e7ebc7c4e5c0406
Author: Marvin Cai <[email protected]>
AuthorDate: Thu Nov 10 15:49:03 2022 +0800

    [feat][cli] Update bin/bookkeeper script (#16905)
    
    Allow users to override the default `-Djava.net.preferIPv4Stack=true` 
config to run Pulsar in IPv6 environment.
---
 bin/bookkeeper | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/bookkeeper b/bin/bookkeeper
index c66cc42dd80..fb516a98acd 100755
--- a/bin/bookkeeper
+++ b/bin/bookkeeper
@@ -182,11 +182,11 @@ fi
 
 OPTS="-cp $BOOKIE_CLASSPATH $OPTS"
 
-OPTS="$OPTS $BOOKIE_MEM $BOOKIE_GC $BOOKIE_GC_LOG $BOOKIE_EXTRA_OPTS"
-
 # Disable ipv6 as it can cause issues
 OPTS="$OPTS -Djava.net.preferIPv4Stack=true"
 
+OPTS="$OPTS $BOOKIE_MEM $BOOKIE_GC $BOOKIE_GC_LOG $BOOKIE_EXTRA_OPTS"
+
 # log directory & file
 BOOKIE_LOG_APPENDER=${BOOKIE_LOG_APPENDER:-"Console"}
 

Reply via email to