Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make bookie ranges stored in path/to/bkdata/ranges (apache#6082)
Fixes apache#5326 ### Motivation After this fix, pulsar will not create data/bookkeeper/ranges in the pulsar library folder after executing `bin/pulsar standalone --bookkeeper-dir dir1 --zookeeper-dir dir2`. All the bookie ranges will be stored in bookkeeper's data directory. ### Modifications Pass `storage.range.store.dirs` to storage server when starting pulsar. Hardcode ranges's dir to ${path/to/bookie/datadir}/ranges/data, just under bookie. ### Verifying this change Follow the steps in [issue 5326](apache#5326) and start pulsar with `bin/pulsar standalone --bookkeeper-dir dir1 --zookeeper-dir dir2`
- Loading branch information