Skip to content

Fix pulsar_metadata.metadataStoreAllowReadOnlyOperations with ZooKeeper#653

Merged
lhotari merged 1 commit intoapache:masterfrom
lhotari:lh-use-zk-readonly-mode-for-availability-check
Feb 23, 2026
Merged

Fix pulsar_metadata.metadataStoreAllowReadOnlyOperations with ZooKeeper#653
lhotari merged 1 commit intoapache:masterfrom
lhotari:lh-use-zk-readonly-mode-for-availability-check

Conversation

@lhotari
Copy link
Member

@lhotari lhotari commented Feb 23, 2026

  • passing -Dreadonlymode.enable=true was missing from ZooKeeper server command line when pulsar_metadata.metadataStoreAllowReadOnlyOperations has been set
  • init containers for waiting ZK availability in broker / bookie startup were blocked by not enabling readonly mode on zookeeper-shell
    • pass -r on command line
  • note: bookkeeper server doesn't support configuring readonly ZK support

Please notice that it's necessary to set pulsar_metadata.bookkeeper.usePulsarMetadataClientDriver to true to enable readonly mode for the bookkeeper client.

- passing -Dreadonlymode.enable=true was missing from ZooKeeper server command line
- init containers for waiting ZK availability in broker / bookie startup were blocked by not enabling readonly mode on zookeeper-shell
  - pass "-r" on command line
- note: bookkeeper server doesn't support configuring readonly ZK support
@lhotari lhotari merged commit d70d94f into apache:master Feb 23, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant