This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bookie-server-config] Avoid considering empty journalDirectories
As discussed at : apache/pulsar#6042 ### Issue We have config management tool which manages bookie-server configuration and sets empty value of `journalDirectories` if bookie-server is still wants to use single journal dir: `journalDirectory`. In this case, bookie-server doesn't consider `journalDirectory` value and keeps empty list of `journalDirectories` which stats bookie with invalid configuration. ### Expected behavior Bookie-server should parse empty configuration `journalDirectories=` properly and avoid picking up empty value of `journalDirectories` and in that case, bookie-server should fallback to `journalDirectory` config. Reviewers: Enrico Olivelli <email@example.com>, Sijie Guo <None> This closes #2245 from rdhabalia/journal_dir
- Loading branch information
Showing 1 changed file with 4 additions and 2 deletions.