This is an automated email from the ASF dual-hosted git repository. yong pushed a commit to branch branch-4.15 in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
commit 540bc14c04fe89f7131445256102b6a909b2fb5c Author: Paul Gier <[email protected]> AuthorDate: Thu Jan 5 02:29:17 2023 -0600 [improve][doc] improve bk_server.conf docs (#3715) * [improve][doc] improve bk_server.conf docs Add default value of allowMultipleDirsUnderSameDiskPartition Signed-off-by: Paul Gier <[email protected]> * [improve][doc] change example conf to match default Signed-off-by: Paul Gier <[email protected]> Signed-off-by: Paul Gier <[email protected]> (cherry picked from commit 05378442f776febf9f8ef49f10779a9e39438bd5) --- conf/bk_server.conf | 5 +++-- site3/website/docs/reference/config.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/conf/bk_server.conf b/conf/bk_server.conf index a241a31a2b..2c09c2c2f9 100755 --- a/conf/bk_server.conf +++ b/conf/bk_server.conf @@ -41,8 +41,9 @@ bookiePort=3181 # Configure the bookie to allow/disallow multiple ledger/index/journal directories -# in the same filesystem disk partition -# allowMultipleDirsUnderSameDiskPartition=false +# in the same filesystem disk partition. +# Defaults to true. +# allowMultipleDirsUnderSameDiskPartition=true # Set the network interface that the bookie should listen on. # If not set, the bookie will listen on all interfaces. diff --git a/site3/website/docs/reference/config.md b/site3/website/docs/reference/config.md index 64272fab99..c4e7d3adcb 100644 --- a/site3/website/docs/reference/config.md +++ b/site3/website/docs/reference/config.md @@ -12,7 +12,7 @@ The table below lists parameters that you can set to configure bookies. All conf | Parameter | Description | Default | --------- | ----------- | ------- | | bookiePort | The port that the bookie server listens on. | 3181 | -| allowMultipleDirsUnderSameDiskPartition | Configure the bookie to allow/disallow multiple ledger/index/journal directories in the same filesystem disk partition | | +| allowMultipleDirsUnderSameDiskPartition | Configure the bookie to allow/disallow multiple ledger/index/journal directories in the same filesystem disk partition. | true | | listeningInterface | The network interface that the bookie should listen on. If not set, the bookie will listen on all interfaces. | eth0 | | advertisedAddress | Configure a specific hostname or IP address that the bookie should use to advertise itself to<br />clients. If not set, bookie will advertised its own IP address or hostname, depending on the<br />`listeningInterface` and `useHostNameAsBookieID` settings.<br /> | eth0 | | allowLoopback | Whether the bookie is allowed to use a loopback interface as its primary<br />interface (the interface it uses to establish its identity). By default, loopback interfaces are *not* allowed as the primary interface.<br /><br />Using a loopback interface as the primary interface usually indicates a configuration error. It's fairly common in some VPS setups, for example, to not configure a hostname or to have the hostname resolve to 127.0.0.1. If this is the case, then all [...]
