Skip to content

Revisit solution to configure Bookkeeper RocksDB settings using individual RocksDB config files#583

Merged
lhotari merged 1 commit into
apache:masterfrom
lhotari:lh-prefer-rocksdb-config-files
Mar 4, 2025
Merged

Revisit solution to configure Bookkeeper RocksDB settings using individual RocksDB config files#583
lhotari merged 1 commit into
apache:masterfrom
lhotari:lh-prefer-rocksdb-config-files

Conversation

@lhotari

@lhotari lhotari commented Mar 4, 2025

Copy link
Copy Markdown
Member

Motivation

Follow-up on #580

Pulsar has provided individual RocksDB config files to configure BookKeeper's RocksDB databases.
However, this configuration hasn't been consistently used since Pulsar's bookkeeper.conf doesn't contain defaultRocksdbConf, entryLocationRocksdbConf and ledgerMetadataRocksdbConf keys.

Related BookKeeper changes:

Related Pulsar changes:

Modifications

  • enable configuration so that the RockDB config files really get used.
  • use bin/update-rocksdb-conf-from-env.py script to apply dbStorage_rocksDB_* environment variables to update the config files

Verifying this change

  • Make sure that the change passes the CI checks.

@lhotari
lhotari force-pushed the lh-prefer-rocksdb-config-files branch from 57a9340 to 031950c Compare March 4, 2025 11:36
@lhotari
lhotari merged commit 43f8dfa into apache:master Mar 4, 2025
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