diff --git a/bookkeeper-server/src/main/java/org/apache/bookkeeper/feature/package-info.java b/bookkeeper-server/src/main/java/org/apache/bookkeeper/feature/package-info.java index cd911cc12f0..f21d44ad487 100644 --- a/bookkeeper-server/src/main/java/org/apache/bookkeeper/feature/package-info.java +++ b/bookkeeper-server/src/main/java/org/apache/bookkeeper/feature/package-info.java @@ -22,7 +22,7 @@ * that is used to proportionally control what features are enabled for the system. * *
In other words, it is a way of altering the control in a system without restarting it.
- * It can be used during all stages of developement, its most visible use case is on production.
+ * It can be used during all stages of development, its most visible use case is on production.
* For instance, during a production release, you can enable or disable individual features,
* control the data flow through the system, thereby minimizing risk of system failures
* in real time.
diff --git a/docker/README.md b/docker/README.md
index 809c0d98278..651054835ee 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -147,7 +147,7 @@ Bookkeeper configuration is located in `/opt/bookkeeper/conf` in the docker cont
There are 2 ways to set Bookkeeper configuration:
-1, Apply setted (e.g. docker -e kk=vv) environment variables into configuration files. Environment variable names is in format "BK_originalName", in which "originalName" is the key in config files.
+1, Apply set (e.g. docker -e kk=vv) environment variables into configuration files. Environment variable names is in format "BK_originalName", in which "originalName" is the key in config files.
2, If you are able to handle your local volumes, use `docker --volume` command to bind-mount your local configure volumes to `/opt/bookkeeper/conf`.
diff --git a/site3/website/docs/admin/geo-replication.md b/site3/website/docs/admin/geo-replication.md
index f0e58e71891..b29fa329130 100644
--- a/site3/website/docs/admin/geo-replication.md
+++ b/site3/website/docs/admin/geo-replication.md
@@ -17,6 +17,6 @@ Let's say that you want to set up geo-replication across clusters in regions A,
The crucial difference between using cluster-specific ZooKeeper and global ZooKeeper is that bookies is that you need to point all bookies to use the global ZooKeeper setup.
-## Region-aware placement polocy
+## Region-aware placement policy
## Autorecovery
diff --git a/site3/website/docs/api/ledger-adv-api.md b/site3/website/docs/api/ledger-adv-api.md
index ac11617dc54..875065d5192 100644
--- a/site3/website/docs/api/ledger-adv-api.md
+++ b/site3/website/docs/api/ledger-adv-api.md
@@ -15,7 +15,7 @@ It allows user passing in an `entryId` when adding an entry.
### Creating advanced ledgers
-Here's an exmaple:
+Here's an example:
```java
byte[] passwd = "some-passwd".getBytes();
@@ -61,7 +61,7 @@ LedgerHandleAdv handle = bkClient.createLedgerAdv(
> If a ledger already exists when users try to create an advanced ledger with same ledger id,
> a [LedgerExistsException]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/BKException.BKLedgerExistException.html) is thrown by the bookkeeper client.
-Creating advanced ledgers can be done throught a fluent API since 4.6.
+Creating advanced ledgers can be done through a fluent API since 4.6.
```java
BookKeeper bk = ...;
diff --git a/site3/website/docs/api/ledger-api.md b/site3/website/docs/api/ledger-api.md
index 43bfe644eee..257a97b73dc 100644
--- a/site3/website/docs/api/ledger-api.md
+++ b/site3/website/docs/api/ledger-api.md
@@ -667,7 +667,7 @@ ReadHandle rh = bk.newOpenLedgerOp()
If you are opening a ledger in "Recovery" mode, it will basically fence and seal the ledger -- no more entries are allowed
to be appended to it. The writer which is currently appending entries to the ledger will fail with [`LedgerFencedException`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/api/BKException.Code#LedgerFencedException).
-In constrat, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
+In constraint, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
### Read entries from ledgers
diff --git a/site3/website/docs/api/overview.md b/site3/website/docs/api/overview.md
index a6c157c8611..cde21485e41 100644
--- a/site3/website/docs/api/overview.md
+++ b/site3/website/docs/api/overview.md
@@ -15,4 +15,4 @@ The `Ledger API` provides direct access to ledgers and thus enables you to use B
However, in most of use cases, if you want a `log stream`-like abstraction, it requires you to manage things like tracking list of ledgers,
managing rolling ledgers and data retention on your own. In such cases, you are recommended to use [DistributedLog API](distributedlog-api),
-with semantics resembling continous log streams from the standpoint of applications.
+with semantics resembling continuous log streams from the standpoint of applications.
diff --git a/site3/website/docs/development/protocol.md b/site3/website/docs/development/protocol.md
index 03d13f36fc4..327ec4c13a0 100644
--- a/site3/website/docs/development/protocol.md
+++ b/site3/website/docs/development/protocol.md
@@ -21,7 +21,7 @@ A ledger's metadata contains the following:
Parameter | Name | Meaning
:---------|:-----|:-------
-Identifer | | A 64-bit integer, unique within the system
+Identifier | | A 64-bit integer, unique within the system
Ensemble size | **E** | The number of nodes the ledger is stored on
Write quorum size | **Qw** | The number of nodes each entry is written to. In effect, the max replication for the entry.
Ack quorum size | **Qa** | The number of nodes an entry must be acknowledged on. In effect, the minimum replication for the entry.
diff --git a/site3/website/docs/getting-started/concepts.md b/site3/website/docs/getting-started/concepts.md
index 0fe0ac2ccb8..2d463617761 100644
--- a/site3/website/docs/getting-started/concepts.md
+++ b/site3/website/docs/getting-started/concepts.md
@@ -193,7 +193,7 @@ For example, ledger 0000000001 is split into three parts, 00, 0000, and 00001, a
### Flat ledger manager
-> deprecated since 4.7.0, not recommand now.
+> deprecated since 4.7.0, not recommend now.
The *flat ledger manager*, implemented in the [`FlatLedgerManager`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/meta/FlatLedgerManager.html) class, stores all ledgers' metadata in child nodes of a single ZooKeeper path. The flat ledger manager creates [sequential nodes](https://zookeeper.apache.org/doc/current/zookeeperProgrammers.html#Sequence+Nodes+--+Unique+Naming) to ensure the uniqueness of the ledger ID and prefixes all nodes with `L`. Bookie servers manage their own active ledgers in a hash map so that it's easy to find which ledgers have been deleted from ZooKeeper and then garbage collect them.
diff --git a/site3/website/docs/reference/config.md b/site3/website/docs/reference/config.md
index f8d21b2c7bd..9fbe6ac6361 100644
--- a/site3/website/docs/reference/config.md
+++ b/site3/website/docs/reference/config.md
@@ -201,7 +201,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
-| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
+| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partitions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
| diskUsageWarnThreshold | The disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases. | 0.95 |
| diskUsageLwmThreshold | Set the disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases.
| 0.9 |
| diskCheckInterval | Disk check interval in milliseconds. Interval to check the ledger dirs usage. | 10000 |
@@ -218,8 +218,8 @@ The table below lists parameters that you can set to configure bookies. All conf
| fileInfoCacheInitialCapacity | The minimum total size of the internal file info cache table. Providing a large enough estimate at construction time avoids the need for expensive resizing operations later,
but setting this value unnecessarily high wastes memory. The default value is `1/4` of `openFileLimit` if openFileLimit is positive, otherwise it is 64.
| |
| fileInfoMaxIdleTime | The max idle time allowed for an open file info existed in the file info cache. If the file info is idle for a long time, exceed the given time period. The file info will be
evicted and closed. If the value is zero or negative, the file info is evicted only when opened files reached `openFileLimit`.
| |
| fileInfoFormatVersionToWrite | The fileinfo format version to write.
Available formats are 0-1:
0: Initial version
1: persisting explicitLac is introduced
By default, it is `1`. If you'd like to disable persisting ExplicitLac, you can set this config to 0 and also journalFormatVersionToWrite should be set to < 6. If there is mismatch then the serverconfig is considered invalid.
| 1 |
-| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficent when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
-| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain bettern performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
+| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficient when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
+| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain better performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
| numOfMemtableFlushThreads | When entryLogPerLedger is enabled SortedLedgerStorage flushes entries from memTable using OrderedExecutor having numOfMemtableFlushThreads number of threads.
| 8 |
@@ -228,7 +228,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
| dbStorage_writeCacheMaxSizeMb | Size of write cache. Memory is allocated from JVM direct memory. Write cache is used for buffer entries before flushing into the entry log. For good performance, it should be big enough to hold a substantial amount of entries in the flush interval. | 25% of the available direct memory |
-| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memroy |
+| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memory |
| dbStorage_readAheadCacheBatchSize | How many entries to pre-fill in cache after a read cache miss | 100 |
| dbStorage_rocksDB_blockSize | Size of RocksDB block-cache. RocksDB is used for storing ledger indexes.
For best performance, this cache should be big enough to hold a significant portion of the index database which can reach ~2GB in some cases.
| 268435456 |
| dbStorage_rocksDB_writeBufferSizeMB | Size of RocksDB write buffer. RocksDB is used for storing ledger indexes.
| 64 |
@@ -270,7 +270,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| zkTimeout | ZooKeeper client session timeout in milliseconds. Bookie server will exit if it received SESSION_EXPIRED because it was partitioned off from ZooKeeper for more than the session timeout JVM garbage collection, disk I/O will cause SESSION_EXPIRED. Increment this value could help avoiding this issue. | 10000 |
| zkRetryBackoffStartMs | The Zookeeper client backoff retry start time in millis. | 1000 |
| zkRetryBackoffMaxMs | The Zookeeper client backoff retry max time in millis. | 10000 |
-| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a postivie value. | |
+| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a positive value. | |
| zkEnableSecurity | Set ACLs on every node written on ZooKeeper, this way only allowed users will be able to read and write BookKeeper metadata stored on ZooKeeper. In order to make ACLs work you need to setup ZooKeeper JAAS authentication all the bookies and Client need to share the same user, and this is usually done using Kerberos authentication. See ZooKeeper documentation | false |
## Statistics
diff --git a/site3/website/src/pages/bps/BP-22-separate-closing-ledgers-from-opening-ledgers.md b/site3/website/src/pages/bps/BP-22-separate-closing-ledgers-from-opening-ledgers.md
index 2fc495a8537..2115c322db0 100644
--- a/site3/website/src/pages/bps/BP-22-separate-closing-ledgers-from-opening-ledgers.md
+++ b/site3/website/src/pages/bps/BP-22-separate-closing-ledgers-from-opening-ledgers.md
@@ -54,7 +54,7 @@ if (lac > lastReadEntry) {
WriteHandle writer = bk.newCreateLedgerOp().execute().get();
```
-Constrast this with how it is with the current recovery on open mechanism.
+Contrast this with how it is with the current recovery on open mechanism.
```
ReadHandle reader = bk.newOpenLedgerOp().withLedgerId(X).execute().get();
diff --git a/site3/website/src/pages/bps/BP-26-move-distributedlog-core-library.md b/site3/website/src/pages/bps/BP-26-move-distributedlog-core-library.md
index a1b55c04ddb..d9464da2616 100644
--- a/site3/website/src/pages/bps/BP-26-move-distributedlog-core-library.md
+++ b/site3/website/src/pages/bps/BP-26-move-distributedlog-core-library.md
@@ -5,13 +5,13 @@
DistributedLog is an extension of Apache BookKeeper, which offers *reopenable* log streams as its storage primitives.
It is tightly built over bookkeeper ledgers, and provides an easier-to-use abstraction and api to use. Applications
can use *named* log streams rather than *numbered* ledgers to store their data. For example, users can use log streams
-as files to storge objects, checkpoints and other more general filesystem related use cases.
+as files to storage objects, checkpoints and other more general filesystem related use cases.
Moving the distributedlog core library as part of bookkeeper would have following benefits:
- It provides more generic "reopenable" log abstraction. It lowers the barrier for people to use bookkeeper to store
data, and bring in more use cases into bookkeeper ecosystem.
-- Using ledgers to build continous log stream has been a pattern that been reimplemented multiple times at multiple places,
+- Using ledgers to build continuous log stream has been a pattern that been reimplemented multiple times at multiple places,
from older projects like HDFS namenode log manager, Hedwig to the newer projects like DistributedLog and Pulsar.
- Most of the distributedlog usage is using the distributedlog library which only depends Apache BookKeeper and there is no
additional components introduced. To simplify those usages, it is better to release distributedlog library along with
diff --git a/site3/website/src/pages/bps/BP-27-new-bookkeeper-cli.md b/site3/website/src/pages/bps/BP-27-new-bookkeeper-cli.md
index a6d6bd2353f..5ddc28bd666 100644
--- a/site3/website/src/pages/bps/BP-27-new-bookkeeper-cli.md
+++ b/site3/website/src/pages/bps/BP-27-new-bookkeeper-cli.md
@@ -77,7 +77,7 @@ Usage: bookie-shell cluster [options] [command] [command options]
### Proposed Changes
- Introduced a new module called `bookkeeper-tools` for developing the new CLI.
-- The new CLI will use [JCommander](http://jcommander.org) for parse command line paramters: better on supporting this proposal commandline syntax.
+- The new CLI will use [JCommander](http://jcommander.org) for parse command line parameters: better on supporting this proposal commandline syntax.
- All the actual logic of the commands will be organized under `org.apache.bookkeeper.tools.cli.commands`. Each command group has its own subpackage and each command will be a class file under that command-group subpackage.
Doing this provides better testability, since the command logic is limited in one file rather than in a gaint shell class. Proposed layout can be found [here](https://github.com/apache/bookkeeper/tree/master/bookkeeper-server/src/main/java/org/apache/bookkeeper/tools/cli/commands).
- For each command: the logic of a command will be moved out of `BookieShell` to its own class `org.apache.bookkeeper.tools.cli.commands.
| 0.95 |
+| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partitions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
| diskUsageWarnThreshold | The disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases. | 0.95 |
| diskUsageLwmThreshold | Set the disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases.
| 0.9 |
| diskCheckInterval | Disk check interval in milliseconds. Interval to check the ledger dirs usage. | 10000 |
@@ -205,8 +205,8 @@ The table below lists parameters that you can set to configure bookies. All conf
| fileInfoCacheInitialCapacity | The minimum total size of the internal file info cache table. Providing a large enough estimate at construction time avoids the need for expensive resizing operations later,
but setting this value unnecessarily high wastes memory. The default value is `1/4` of `openFileLimit` if openFileLimit is positive, otherwise it is 64.
| |
| fileInfoMaxIdleTime | The max idle time allowed for an open file info existed in the file info cache. If the file info is idle for a long time, exceed the given time period. The file info will be
evicted and closed. If the value is zero or negative, the file info is evicted only when opened files reached `openFileLimit`.
| |
| fileInfoFormatVersionToWrite | The fileinfo format version to write.
Available formats are 0-1:
0: Initial version
1: persisting explicitLac is introduced
By default, it is `1`. If you'd like to disable persisting ExplicitLac, you can set this config to 0 and also journalFormatVersionToWrite should be set to < 6. If there is mismatch then the serverconfig is considered invalid.
| 1 |
-| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficent when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
-| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain bettern performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
+| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficient when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
+| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain better performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
| numOfMemtableFlushThreads | When entryLogPerLedger is enabled SortedLedgerStorage flushes entries from memTable using OrderedExecutor having numOfMemtableFlushThreads number of threads.
| 8 |
@@ -215,7 +215,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
| dbStorage_writeCacheMaxSizeMb | Size of write cache. Memory is allocated from JVM direct memory. Write cache is used for buffer entries before flushing into the entry log. For good performance, it should be big enough to hold a substantial amount of entries in the flush interval. | 25% of the available direct memory |
-| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memroy |
+| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memory |
| dbStorage_readAheadCacheBatchSize | How many entries to pre-fill in cache after a read cache miss | 100 |
| dbStorage_rocksDB_blockSize | Size of RocksDB block-cache. RocksDB is used for storing ledger indexes.
For best performance, this cache should be big enough to hold a significant portion of the index database which can reach ~2GB in some cases.
| 268435456 |
| dbStorage_rocksDB_writeBufferSizeMB | Size of RocksDB write buffer. RocksDB is used for storing ledger indexes.
| 64 |
@@ -246,7 +246,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| zkTimeout | ZooKeeper client session timeout in milliseconds. Bookie server will exit if it received SESSION_EXPIRED because it was partitioned off from ZooKeeper for more than the session timeout JVM garbage collection, disk I/O will cause SESSION_EXPIRED. Increment this value could help avoiding this issue. | 10000 |
| zkRetryBackoffStartMs | The Zookeeper client backoff retry start time in millis. | 1000 |
| zkRetryBackoffMaxMs | The Zookeeper client backoff retry max time in millis. | 10000 |
-| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a postivie value. | |
+| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a positive value. | |
| zkEnableSecurity | Set ACLs on every node written on ZooKeeper, this way only allowed users will be able to read and write BookKeeper metadata stored on ZooKeeper. In order to make ACLs work you need to setup ZooKeeper JAAS authentication all the bookies and Client need to share the same user, and this is usually done using Kerberos authentication. See ZooKeeper documentation | false |
diff --git a/site3/website/versioned_docs/version-4.11.1/admin/geo-replication.md b/site3/website/versioned_docs/version-4.11.1/admin/geo-replication.md
index f0e58e71891..b29fa329130 100644
--- a/site3/website/versioned_docs/version-4.11.1/admin/geo-replication.md
+++ b/site3/website/versioned_docs/version-4.11.1/admin/geo-replication.md
@@ -17,6 +17,6 @@ Let's say that you want to set up geo-replication across clusters in regions A,
The crucial difference between using cluster-specific ZooKeeper and global ZooKeeper is that bookies is that you need to point all bookies to use the global ZooKeeper setup.
-## Region-aware placement polocy
+## Region-aware placement policy
## Autorecovery
diff --git a/site3/website/versioned_docs/version-4.11.1/api/ledger-adv-api.md b/site3/website/versioned_docs/version-4.11.1/api/ledger-adv-api.md
index ac11617dc54..875065d5192 100644
--- a/site3/website/versioned_docs/version-4.11.1/api/ledger-adv-api.md
+++ b/site3/website/versioned_docs/version-4.11.1/api/ledger-adv-api.md
@@ -15,7 +15,7 @@ It allows user passing in an `entryId` when adding an entry.
### Creating advanced ledgers
-Here's an exmaple:
+Here's an example:
```java
byte[] passwd = "some-passwd".getBytes();
@@ -61,7 +61,7 @@ LedgerHandleAdv handle = bkClient.createLedgerAdv(
> If a ledger already exists when users try to create an advanced ledger with same ledger id,
> a [LedgerExistsException]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/BKException.BKLedgerExistException.html) is thrown by the bookkeeper client.
-Creating advanced ledgers can be done throught a fluent API since 4.6.
+Creating advanced ledgers can be done through a fluent API since 4.6.
```java
BookKeeper bk = ...;
diff --git a/site3/website/versioned_docs/version-4.11.1/api/ledger-api.md b/site3/website/versioned_docs/version-4.11.1/api/ledger-api.md
index 3e96955ba77..bf9f5d4f383 100644
--- a/site3/website/versioned_docs/version-4.11.1/api/ledger-api.md
+++ b/site3/website/versioned_docs/version-4.11.1/api/ledger-api.md
@@ -667,7 +667,7 @@ ReadHandle rh = bk.newOpenLedgerOp()
If you are opening a ledger in "Recovery" mode, it will basically fence and seal the ledger -- no more entries are allowed
to be appended to it. The writer which is currently appending entries to the ledger will fail with [`LedgerFencedException`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/api/BKException.Code#LedgerFencedException).
-In constrat, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
+In constraint, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
### Read entries from ledgers
diff --git a/site3/website/versioned_docs/version-4.11.1/api/overview.md b/site3/website/versioned_docs/version-4.11.1/api/overview.md
index a6c157c8611..cde21485e41 100644
--- a/site3/website/versioned_docs/version-4.11.1/api/overview.md
+++ b/site3/website/versioned_docs/version-4.11.1/api/overview.md
@@ -15,4 +15,4 @@ The `Ledger API` provides direct access to ledgers and thus enables you to use B
However, in most of use cases, if you want a `log stream`-like abstraction, it requires you to manage things like tracking list of ledgers,
managing rolling ledgers and data retention on your own. In such cases, you are recommended to use [DistributedLog API](distributedlog-api),
-with semantics resembling continous log streams from the standpoint of applications.
+with semantics resembling continuous log streams from the standpoint of applications.
diff --git a/site3/website/versioned_docs/version-4.11.1/development/protocol.md b/site3/website/versioned_docs/version-4.11.1/development/protocol.md
index 97f77f1ab9d..24e32cae4c9 100644
--- a/site3/website/versioned_docs/version-4.11.1/development/protocol.md
+++ b/site3/website/versioned_docs/version-4.11.1/development/protocol.md
@@ -21,7 +21,7 @@ A ledger's metadata contains the following:
Parameter | Name | Meaning
:---------|:-----|:-------
-Identifer | | A 64-bit integer, unique within the system
+Identifier | | A 64-bit integer, unique within the system
Ensemble size | **E** | The number of nodes the ledger is stored on
Write quorum size | **Qw** | The number of nodes each entry is written to. In effect, the max replication for the entry.
Ack quorum size | **Qa** | The number of nodes an entry must be acknowledged on. In effect, the minimum replication for the entry.
diff --git a/site3/website/versioned_docs/version-4.11.1/getting-started/concepts.md b/site3/website/versioned_docs/version-4.11.1/getting-started/concepts.md
index 36b4c351444..b5494b2b1ba 100644
--- a/site3/website/versioned_docs/version-4.11.1/getting-started/concepts.md
+++ b/site3/website/versioned_docs/version-4.11.1/getting-started/concepts.md
@@ -193,7 +193,7 @@ For example, ledger 0000000001 is split into three parts, 00, 0000, and 00001, a
### Flat ledger manager
-> deprecated since 4.7.0, not recommand now.
+> deprecated since 4.7.0, not recommend now.
The *flat ledger manager*, implemented in the [`FlatLedgerManager`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/meta/FlatLedgerManager.html) class, stores all ledgers' metadata in child nodes of a single ZooKeeper path. The flat ledger manager creates [sequential nodes](https://zookeeper.apache.org/doc/trunk/zookeeperProgrammers.html#Sequence+Nodes+--+Unique+Naming) to ensure the uniqueness of the ledger ID and prefixes all nodes with `L`. Bookie servers manage their own active ledgers in a hash map so that it's easy to find which ledgers have been deleted from ZooKeeper and then garbage collect them.
diff --git a/site3/website/versioned_docs/version-4.11.1/reference/config.md b/site3/website/versioned_docs/version-4.11.1/reference/config.md
index a106c0bf069..5c024a8c4ac 100644
--- a/site3/website/versioned_docs/version-4.11.1/reference/config.md
+++ b/site3/website/versioned_docs/version-4.11.1/reference/config.md
@@ -188,7 +188,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
-| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
+| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partitions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
| diskUsageWarnThreshold | The disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases. | 0.95 |
| diskUsageLwmThreshold | Set the disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases.
| 0.9 |
| diskCheckInterval | Disk check interval in milliseconds. Interval to check the ledger dirs usage. | 10000 |
@@ -205,8 +205,8 @@ The table below lists parameters that you can set to configure bookies. All conf
| fileInfoCacheInitialCapacity | The minimum total size of the internal file info cache table. Providing a large enough estimate at construction time avoids the need for expensive resizing operations later,
but setting this value unnecessarily high wastes memory. The default value is `1/4` of `openFileLimit` if openFileLimit is positive, otherwise it is 64.
| |
| fileInfoMaxIdleTime | The max idle time allowed for an open file info existed in the file info cache. If the file info is idle for a long time, exceed the given time period. The file info will be
evicted and closed. If the value is zero or negative, the file info is evicted only when opened files reached `openFileLimit`.
| |
| fileInfoFormatVersionToWrite | The fileinfo format version to write.
Available formats are 0-1:
0: Initial version
1: persisting explicitLac is introduced
By default, it is `1`. If you'd like to disable persisting ExplicitLac, you can set this config to 0 and also journalFormatVersionToWrite should be set to < 6. If there is mismatch then the serverconfig is considered invalid.
| 1 |
-| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficent when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
-| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain bettern performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
+| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficient when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
+| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain better performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
| numOfMemtableFlushThreads | When entryLogPerLedger is enabled SortedLedgerStorage flushes entries from memTable using OrderedExecutor having numOfMemtableFlushThreads number of threads.
| 8 |
@@ -215,7 +215,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
| dbStorage_writeCacheMaxSizeMb | Size of write cache. Memory is allocated from JVM direct memory. Write cache is used for buffer entries before flushing into the entry log. For good performance, it should be big enough to hold a substantial amount of entries in the flush interval. | 25% of the available direct memory |
-| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memroy |
+| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memory |
| dbStorage_readAheadCacheBatchSize | How many entries to pre-fill in cache after a read cache miss | 100 |
| dbStorage_rocksDB_blockSize | Size of RocksDB block-cache. RocksDB is used for storing ledger indexes.
For best performance, this cache should be big enough to hold a significant portion of the index database which can reach ~2GB in some cases.
| 268435456 |
| dbStorage_rocksDB_writeBufferSizeMB | Size of RocksDB write buffer. RocksDB is used for storing ledger indexes.
| 64 |
@@ -246,7 +246,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| zkTimeout | ZooKeeper client session timeout in milliseconds. Bookie server will exit if it received SESSION_EXPIRED because it was partitioned off from ZooKeeper for more than the session timeout JVM garbage collection, disk I/O will cause SESSION_EXPIRED. Increment this value could help avoiding this issue. | 10000 |
| zkRetryBackoffStartMs | The Zookeeper client backoff retry start time in millis. | 1000 |
| zkRetryBackoffMaxMs | The Zookeeper client backoff retry max time in millis. | 10000 |
-| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a postivie value. | |
+| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a positive value. | |
| zkEnableSecurity | Set ACLs on every node written on ZooKeeper, this way only allowed users will be able to read and write BookKeeper metadata stored on ZooKeeper. In order to make ACLs work you need to setup ZooKeeper JAAS authentication all the bookies and Client need to share the same user, and this is usually done using Kerberos authentication. See ZooKeeper documentation | false |
diff --git a/site3/website/versioned_docs/version-4.12.1/admin/geo-replication.md b/site3/website/versioned_docs/version-4.12.1/admin/geo-replication.md
index f0e58e71891..b29fa329130 100644
--- a/site3/website/versioned_docs/version-4.12.1/admin/geo-replication.md
+++ b/site3/website/versioned_docs/version-4.12.1/admin/geo-replication.md
@@ -17,6 +17,6 @@ Let's say that you want to set up geo-replication across clusters in regions A,
The crucial difference between using cluster-specific ZooKeeper and global ZooKeeper is that bookies is that you need to point all bookies to use the global ZooKeeper setup.
-## Region-aware placement polocy
+## Region-aware placement policy
## Autorecovery
diff --git a/site3/website/versioned_docs/version-4.12.1/api/ledger-adv-api.md b/site3/website/versioned_docs/version-4.12.1/api/ledger-adv-api.md
index ac11617dc54..875065d5192 100644
--- a/site3/website/versioned_docs/version-4.12.1/api/ledger-adv-api.md
+++ b/site3/website/versioned_docs/version-4.12.1/api/ledger-adv-api.md
@@ -15,7 +15,7 @@ It allows user passing in an `entryId` when adding an entry.
### Creating advanced ledgers
-Here's an exmaple:
+Here's an example:
```java
byte[] passwd = "some-passwd".getBytes();
@@ -61,7 +61,7 @@ LedgerHandleAdv handle = bkClient.createLedgerAdv(
> If a ledger already exists when users try to create an advanced ledger with same ledger id,
> a [LedgerExistsException]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/BKException.BKLedgerExistException.html) is thrown by the bookkeeper client.
-Creating advanced ledgers can be done throught a fluent API since 4.6.
+Creating advanced ledgers can be done through a fluent API since 4.6.
```java
BookKeeper bk = ...;
diff --git a/site3/website/versioned_docs/version-4.12.1/api/ledger-api.md b/site3/website/versioned_docs/version-4.12.1/api/ledger-api.md
index e2b072d585f..946ef4a70a2 100644
--- a/site3/website/versioned_docs/version-4.12.1/api/ledger-api.md
+++ b/site3/website/versioned_docs/version-4.12.1/api/ledger-api.md
@@ -667,7 +667,7 @@ ReadHandle rh = bk.newOpenLedgerOp()
If you are opening a ledger in "Recovery" mode, it will basically fence and seal the ledger -- no more entries are allowed
to be appended to it. The writer which is currently appending entries to the ledger will fail with [`LedgerFencedException`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/api/BKException.Code#LedgerFencedException).
-In constrat, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
+In constraint, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
### Read entries from ledgers
diff --git a/site3/website/versioned_docs/version-4.12.1/api/overview.md b/site3/website/versioned_docs/version-4.12.1/api/overview.md
index a6c157c8611..cde21485e41 100644
--- a/site3/website/versioned_docs/version-4.12.1/api/overview.md
+++ b/site3/website/versioned_docs/version-4.12.1/api/overview.md
@@ -15,4 +15,4 @@ The `Ledger API` provides direct access to ledgers and thus enables you to use B
However, in most of use cases, if you want a `log stream`-like abstraction, it requires you to manage things like tracking list of ledgers,
managing rolling ledgers and data retention on your own. In such cases, you are recommended to use [DistributedLog API](distributedlog-api),
-with semantics resembling continous log streams from the standpoint of applications.
+with semantics resembling continuous log streams from the standpoint of applications.
diff --git a/site3/website/versioned_docs/version-4.12.1/development/protocol.md b/site3/website/versioned_docs/version-4.12.1/development/protocol.md
index 068d30a7fd7..fe25039acc9 100644
--- a/site3/website/versioned_docs/version-4.12.1/development/protocol.md
+++ b/site3/website/versioned_docs/version-4.12.1/development/protocol.md
@@ -21,7 +21,7 @@ A ledger's metadata contains the following:
Parameter | Name | Meaning
:---------|:-----|:-------
-Identifer | | A 64-bit integer, unique within the system
+Identifier | | A 64-bit integer, unique within the system
Ensemble size | **E** | The number of nodes the ledger is stored on
Write quorum size | **Qw** | The number of nodes each entry is written to. In effect, the max replication for the entry.
Ack quorum size | **Qa** | The number of nodes an entry must be acknowledged on. In effect, the minimum replication for the entry.
diff --git a/site3/website/versioned_docs/version-4.12.1/reference/config.md b/site3/website/versioned_docs/version-4.12.1/reference/config.md
index a106c0bf069..5c024a8c4ac 100644
--- a/site3/website/versioned_docs/version-4.12.1/reference/config.md
+++ b/site3/website/versioned_docs/version-4.12.1/reference/config.md
@@ -188,7 +188,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
-| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
+| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partitions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
| diskUsageWarnThreshold | The disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases. | 0.95 |
| diskUsageLwmThreshold | Set the disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases.
| 0.9 |
| diskCheckInterval | Disk check interval in milliseconds. Interval to check the ledger dirs usage. | 10000 |
@@ -205,8 +205,8 @@ The table below lists parameters that you can set to configure bookies. All conf
| fileInfoCacheInitialCapacity | The minimum total size of the internal file info cache table. Providing a large enough estimate at construction time avoids the need for expensive resizing operations later,
but setting this value unnecessarily high wastes memory. The default value is `1/4` of `openFileLimit` if openFileLimit is positive, otherwise it is 64.
| |
| fileInfoMaxIdleTime | The max idle time allowed for an open file info existed in the file info cache. If the file info is idle for a long time, exceed the given time period. The file info will be
evicted and closed. If the value is zero or negative, the file info is evicted only when opened files reached `openFileLimit`.
| |
| fileInfoFormatVersionToWrite | The fileinfo format version to write.
Available formats are 0-1:
0: Initial version
1: persisting explicitLac is introduced
By default, it is `1`. If you'd like to disable persisting ExplicitLac, you can set this config to 0 and also journalFormatVersionToWrite should be set to < 6. If there is mismatch then the serverconfig is considered invalid.
| 1 |
-| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficent when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
-| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain bettern performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
+| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficient when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
+| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain better performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
| numOfMemtableFlushThreads | When entryLogPerLedger is enabled SortedLedgerStorage flushes entries from memTable using OrderedExecutor having numOfMemtableFlushThreads number of threads.
| 8 |
@@ -215,7 +215,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
| dbStorage_writeCacheMaxSizeMb | Size of write cache. Memory is allocated from JVM direct memory. Write cache is used for buffer entries before flushing into the entry log. For good performance, it should be big enough to hold a substantial amount of entries in the flush interval. | 25% of the available direct memory |
-| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memroy |
+| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memory |
| dbStorage_readAheadCacheBatchSize | How many entries to pre-fill in cache after a read cache miss | 100 |
| dbStorage_rocksDB_blockSize | Size of RocksDB block-cache. RocksDB is used for storing ledger indexes.
For best performance, this cache should be big enough to hold a significant portion of the index database which can reach ~2GB in some cases.
| 268435456 |
| dbStorage_rocksDB_writeBufferSizeMB | Size of RocksDB write buffer. RocksDB is used for storing ledger indexes.
| 64 |
@@ -246,7 +246,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| zkTimeout | ZooKeeper client session timeout in milliseconds. Bookie server will exit if it received SESSION_EXPIRED because it was partitioned off from ZooKeeper for more than the session timeout JVM garbage collection, disk I/O will cause SESSION_EXPIRED. Increment this value could help avoiding this issue. | 10000 |
| zkRetryBackoffStartMs | The Zookeeper client backoff retry start time in millis. | 1000 |
| zkRetryBackoffMaxMs | The Zookeeper client backoff retry max time in millis. | 10000 |
-| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a postivie value. | |
+| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a positive value. | |
| zkEnableSecurity | Set ACLs on every node written on ZooKeeper, this way only allowed users will be able to read and write BookKeeper metadata stored on ZooKeeper. In order to make ACLs work you need to setup ZooKeeper JAAS authentication all the bookies and Client need to share the same user, and this is usually done using Kerberos authentication. See ZooKeeper documentation | false |
diff --git a/site3/website/versioned_docs/version-4.13.0/admin/geo-replication.md b/site3/website/versioned_docs/version-4.13.0/admin/geo-replication.md
index f0e58e71891..b29fa329130 100644
--- a/site3/website/versioned_docs/version-4.13.0/admin/geo-replication.md
+++ b/site3/website/versioned_docs/version-4.13.0/admin/geo-replication.md
@@ -17,6 +17,6 @@ Let's say that you want to set up geo-replication across clusters in regions A,
The crucial difference between using cluster-specific ZooKeeper and global ZooKeeper is that bookies is that you need to point all bookies to use the global ZooKeeper setup.
-## Region-aware placement polocy
+## Region-aware placement policy
## Autorecovery
diff --git a/site3/website/versioned_docs/version-4.13.0/api/ledger-adv-api.md b/site3/website/versioned_docs/version-4.13.0/api/ledger-adv-api.md
index ac11617dc54..875065d5192 100644
--- a/site3/website/versioned_docs/version-4.13.0/api/ledger-adv-api.md
+++ b/site3/website/versioned_docs/version-4.13.0/api/ledger-adv-api.md
@@ -15,7 +15,7 @@ It allows user passing in an `entryId` when adding an entry.
### Creating advanced ledgers
-Here's an exmaple:
+Here's an example:
```java
byte[] passwd = "some-passwd".getBytes();
@@ -61,7 +61,7 @@ LedgerHandleAdv handle = bkClient.createLedgerAdv(
> If a ledger already exists when users try to create an advanced ledger with same ledger id,
> a [LedgerExistsException]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/BKException.BKLedgerExistException.html) is thrown by the bookkeeper client.
-Creating advanced ledgers can be done throught a fluent API since 4.6.
+Creating advanced ledgers can be done through a fluent API since 4.6.
```java
BookKeeper bk = ...;
diff --git a/site3/website/versioned_docs/version-4.13.0/api/ledger-api.md b/site3/website/versioned_docs/version-4.13.0/api/ledger-api.md
index 39e347bc3ed..3875089f173 100644
--- a/site3/website/versioned_docs/version-4.13.0/api/ledger-api.md
+++ b/site3/website/versioned_docs/version-4.13.0/api/ledger-api.md
@@ -667,7 +667,7 @@ ReadHandle rh = bk.newOpenLedgerOp()
If you are opening a ledger in "Recovery" mode, it will basically fence and seal the ledger -- no more entries are allowed
to be appended to it. The writer which is currently appending entries to the ledger will fail with [`LedgerFencedException`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/api/BKException.Code#LedgerFencedException).
-In constrat, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
+In constraint, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
### Read entries from ledgers
diff --git a/site3/website/versioned_docs/version-4.13.0/api/overview.md b/site3/website/versioned_docs/version-4.13.0/api/overview.md
index a6c157c8611..cde21485e41 100644
--- a/site3/website/versioned_docs/version-4.13.0/api/overview.md
+++ b/site3/website/versioned_docs/version-4.13.0/api/overview.md
@@ -15,4 +15,4 @@ The `Ledger API` provides direct access to ledgers and thus enables you to use B
However, in most of use cases, if you want a `log stream`-like abstraction, it requires you to manage things like tracking list of ledgers,
managing rolling ledgers and data retention on your own. In such cases, you are recommended to use [DistributedLog API](distributedlog-api),
-with semantics resembling continous log streams from the standpoint of applications.
+with semantics resembling continuous log streams from the standpoint of applications.
diff --git a/site3/website/versioned_docs/version-4.13.0/development/protocol.md b/site3/website/versioned_docs/version-4.13.0/development/protocol.md
index 03d13f36fc4..327ec4c13a0 100644
--- a/site3/website/versioned_docs/version-4.13.0/development/protocol.md
+++ b/site3/website/versioned_docs/version-4.13.0/development/protocol.md
@@ -21,7 +21,7 @@ A ledger's metadata contains the following:
Parameter | Name | Meaning
:---------|:-----|:-------
-Identifer | | A 64-bit integer, unique within the system
+Identifier | | A 64-bit integer, unique within the system
Ensemble size | **E** | The number of nodes the ledger is stored on
Write quorum size | **Qw** | The number of nodes each entry is written to. In effect, the max replication for the entry.
Ack quorum size | **Qa** | The number of nodes an entry must be acknowledged on. In effect, the minimum replication for the entry.
diff --git a/site3/website/versioned_docs/version-4.13.0/getting-started/concepts.md b/site3/website/versioned_docs/version-4.13.0/getting-started/concepts.md
index ea52a9be494..8294414c5ae 100644
--- a/site3/website/versioned_docs/version-4.13.0/getting-started/concepts.md
+++ b/site3/website/versioned_docs/version-4.13.0/getting-started/concepts.md
@@ -193,7 +193,7 @@ For example, ledger 0000000001 is split into three parts, 00, 0000, and 00001, a
### Flat ledger manager
-> deprecated since 4.7.0, not recommand now.
+> deprecated since 4.7.0, not recommend now.
The *flat ledger manager*, implemented in the [`FlatLedgerManager`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/meta/FlatLedgerManager.html) class, stores all ledgers' metadata in child nodes of a single ZooKeeper path. The flat ledger manager creates [sequential nodes](https://zookeeper.apache.org/doc/trunk/zookeeperProgrammers.html#Sequence+Nodes+--+Unique+Naming) to ensure the uniqueness of the ledger ID and prefixes all nodes with `L`. Bookie servers manage their own active ledgers in a hash map so that it's easy to find which ledgers have been deleted from ZooKeeper and then garbage collect them.
diff --git a/site3/website/versioned_docs/version-4.13.0/reference/config.md b/site3/website/versioned_docs/version-4.13.0/reference/config.md
index a106c0bf069..5c024a8c4ac 100644
--- a/site3/website/versioned_docs/version-4.13.0/reference/config.md
+++ b/site3/website/versioned_docs/version-4.13.0/reference/config.md
@@ -188,7 +188,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
-| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
+| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partitions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
| diskUsageWarnThreshold | The disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases. | 0.95 |
| diskUsageLwmThreshold | Set the disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases.
| 0.9 |
| diskCheckInterval | Disk check interval in milliseconds. Interval to check the ledger dirs usage. | 10000 |
@@ -205,8 +205,8 @@ The table below lists parameters that you can set to configure bookies. All conf
| fileInfoCacheInitialCapacity | The minimum total size of the internal file info cache table. Providing a large enough estimate at construction time avoids the need for expensive resizing operations later,
but setting this value unnecessarily high wastes memory. The default value is `1/4` of `openFileLimit` if openFileLimit is positive, otherwise it is 64.
| |
| fileInfoMaxIdleTime | The max idle time allowed for an open file info existed in the file info cache. If the file info is idle for a long time, exceed the given time period. The file info will be
evicted and closed. If the value is zero or negative, the file info is evicted only when opened files reached `openFileLimit`.
| |
| fileInfoFormatVersionToWrite | The fileinfo format version to write.
Available formats are 0-1:
0: Initial version
1: persisting explicitLac is introduced
By default, it is `1`. If you'd like to disable persisting ExplicitLac, you can set this config to 0 and also journalFormatVersionToWrite should be set to < 6. If there is mismatch then the serverconfig is considered invalid.
| 1 |
-| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficent when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
-| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain bettern performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
+| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficient when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
+| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain better performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
| numOfMemtableFlushThreads | When entryLogPerLedger is enabled SortedLedgerStorage flushes entries from memTable using OrderedExecutor having numOfMemtableFlushThreads number of threads.
| 8 |
@@ -215,7 +215,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
| dbStorage_writeCacheMaxSizeMb | Size of write cache. Memory is allocated from JVM direct memory. Write cache is used for buffer entries before flushing into the entry log. For good performance, it should be big enough to hold a substantial amount of entries in the flush interval. | 25% of the available direct memory |
-| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memroy |
+| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memory |
| dbStorage_readAheadCacheBatchSize | How many entries to pre-fill in cache after a read cache miss | 100 |
| dbStorage_rocksDB_blockSize | Size of RocksDB block-cache. RocksDB is used for storing ledger indexes.
For best performance, this cache should be big enough to hold a significant portion of the index database which can reach ~2GB in some cases.
| 268435456 |
| dbStorage_rocksDB_writeBufferSizeMB | Size of RocksDB write buffer. RocksDB is used for storing ledger indexes.
| 64 |
@@ -246,7 +246,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| zkTimeout | ZooKeeper client session timeout in milliseconds. Bookie server will exit if it received SESSION_EXPIRED because it was partitioned off from ZooKeeper for more than the session timeout JVM garbage collection, disk I/O will cause SESSION_EXPIRED. Increment this value could help avoiding this issue. | 10000 |
| zkRetryBackoffStartMs | The Zookeeper client backoff retry start time in millis. | 1000 |
| zkRetryBackoffMaxMs | The Zookeeper client backoff retry max time in millis. | 10000 |
-| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a postivie value. | |
+| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a positive value. | |
| zkEnableSecurity | Set ACLs on every node written on ZooKeeper, this way only allowed users will be able to read and write BookKeeper metadata stored on ZooKeeper. In order to make ACLs work you need to setup ZooKeeper JAAS authentication all the bookies and Client need to share the same user, and this is usually done using Kerberos authentication. See ZooKeeper documentation | false |
diff --git a/site3/website/versioned_docs/version-4.14.8/admin/geo-replication.md b/site3/website/versioned_docs/version-4.14.8/admin/geo-replication.md
index f0e58e71891..b29fa329130 100644
--- a/site3/website/versioned_docs/version-4.14.8/admin/geo-replication.md
+++ b/site3/website/versioned_docs/version-4.14.8/admin/geo-replication.md
@@ -17,6 +17,6 @@ Let's say that you want to set up geo-replication across clusters in regions A,
The crucial difference between using cluster-specific ZooKeeper and global ZooKeeper is that bookies is that you need to point all bookies to use the global ZooKeeper setup.
-## Region-aware placement polocy
+## Region-aware placement policy
## Autorecovery
diff --git a/site3/website/versioned_docs/version-4.14.8/api/ledger-adv-api.md b/site3/website/versioned_docs/version-4.14.8/api/ledger-adv-api.md
index ac11617dc54..875065d5192 100644
--- a/site3/website/versioned_docs/version-4.14.8/api/ledger-adv-api.md
+++ b/site3/website/versioned_docs/version-4.14.8/api/ledger-adv-api.md
@@ -15,7 +15,7 @@ It allows user passing in an `entryId` when adding an entry.
### Creating advanced ledgers
-Here's an exmaple:
+Here's an example:
```java
byte[] passwd = "some-passwd".getBytes();
@@ -61,7 +61,7 @@ LedgerHandleAdv handle = bkClient.createLedgerAdv(
> If a ledger already exists when users try to create an advanced ledger with same ledger id,
> a [LedgerExistsException]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/BKException.BKLedgerExistException.html) is thrown by the bookkeeper client.
-Creating advanced ledgers can be done throught a fluent API since 4.6.
+Creating advanced ledgers can be done through a fluent API since 4.6.
```java
BookKeeper bk = ...;
diff --git a/site3/website/versioned_docs/version-4.14.8/api/ledger-api.md b/site3/website/versioned_docs/version-4.14.8/api/ledger-api.md
index cdd0c695657..127fd5bf1a3 100644
--- a/site3/website/versioned_docs/version-4.14.8/api/ledger-api.md
+++ b/site3/website/versioned_docs/version-4.14.8/api/ledger-api.md
@@ -667,7 +667,7 @@ ReadHandle rh = bk.newOpenLedgerOp()
If you are opening a ledger in "Recovery" mode, it will basically fence and seal the ledger -- no more entries are allowed
to be appended to it. The writer which is currently appending entries to the ledger will fail with [`LedgerFencedException`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/api/BKException.Code#LedgerFencedException).
-In constrat, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
+In constraint, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
### Read entries from ledgers
diff --git a/site3/website/versioned_docs/version-4.14.8/api/overview.md b/site3/website/versioned_docs/version-4.14.8/api/overview.md
index a6c157c8611..cde21485e41 100644
--- a/site3/website/versioned_docs/version-4.14.8/api/overview.md
+++ b/site3/website/versioned_docs/version-4.14.8/api/overview.md
@@ -15,4 +15,4 @@ The `Ledger API` provides direct access to ledgers and thus enables you to use B
However, in most of use cases, if you want a `log stream`-like abstraction, it requires you to manage things like tracking list of ledgers,
managing rolling ledgers and data retention on your own. In such cases, you are recommended to use [DistributedLog API](distributedlog-api),
-with semantics resembling continous log streams from the standpoint of applications.
+with semantics resembling continuous log streams from the standpoint of applications.
diff --git a/site3/website/versioned_docs/version-4.14.8/development/protocol.md b/site3/website/versioned_docs/version-4.14.8/development/protocol.md
index 03d13f36fc4..327ec4c13a0 100644
--- a/site3/website/versioned_docs/version-4.14.8/development/protocol.md
+++ b/site3/website/versioned_docs/version-4.14.8/development/protocol.md
@@ -21,7 +21,7 @@ A ledger's metadata contains the following:
Parameter | Name | Meaning
:---------|:-----|:-------
-Identifer | | A 64-bit integer, unique within the system
+Identifier | | A 64-bit integer, unique within the system
Ensemble size | **E** | The number of nodes the ledger is stored on
Write quorum size | **Qw** | The number of nodes each entry is written to. In effect, the max replication for the entry.
Ack quorum size | **Qa** | The number of nodes an entry must be acknowledged on. In effect, the minimum replication for the entry.
diff --git a/site3/website/versioned_docs/version-4.14.8/getting-started/concepts.md b/site3/website/versioned_docs/version-4.14.8/getting-started/concepts.md
index ea52a9be494..8294414c5ae 100644
--- a/site3/website/versioned_docs/version-4.14.8/getting-started/concepts.md
+++ b/site3/website/versioned_docs/version-4.14.8/getting-started/concepts.md
@@ -193,7 +193,7 @@ For example, ledger 0000000001 is split into three parts, 00, 0000, and 00001, a
### Flat ledger manager
-> deprecated since 4.7.0, not recommand now.
+> deprecated since 4.7.0, not recommend now.
The *flat ledger manager*, implemented in the [`FlatLedgerManager`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/meta/FlatLedgerManager.html) class, stores all ledgers' metadata in child nodes of a single ZooKeeper path. The flat ledger manager creates [sequential nodes](https://zookeeper.apache.org/doc/trunk/zookeeperProgrammers.html#Sequence+Nodes+--+Unique+Naming) to ensure the uniqueness of the ledger ID and prefixes all nodes with `L`. Bookie servers manage their own active ledgers in a hash map so that it's easy to find which ledgers have been deleted from ZooKeeper and then garbage collect them.
diff --git a/site3/website/versioned_docs/version-4.14.8/reference/config.md b/site3/website/versioned_docs/version-4.14.8/reference/config.md
index 17c097fcd7b..4cae1bc9014 100644
--- a/site3/website/versioned_docs/version-4.14.8/reference/config.md
+++ b/site3/website/versioned_docs/version-4.14.8/reference/config.md
@@ -190,7 +190,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
-| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
+| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partitions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
| diskUsageWarnThreshold | The disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases. | 0.95 |
| diskUsageLwmThreshold | Set the disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases.
| 0.9 |
| diskCheckInterval | Disk check interval in milliseconds. Interval to check the ledger dirs usage. | 10000 |
@@ -207,8 +207,8 @@ The table below lists parameters that you can set to configure bookies. All conf
| fileInfoCacheInitialCapacity | The minimum total size of the internal file info cache table. Providing a large enough estimate at construction time avoids the need for expensive resizing operations later,
but setting this value unnecessarily high wastes memory. The default value is `1/4` of `openFileLimit` if openFileLimit is positive, otherwise it is 64.
| |
| fileInfoMaxIdleTime | The max idle time allowed for an open file info existed in the file info cache. If the file info is idle for a long time, exceed the given time period. The file info will be
evicted and closed. If the value is zero or negative, the file info is evicted only when opened files reached `openFileLimit`.
| |
| fileInfoFormatVersionToWrite | The fileinfo format version to write.
Available formats are 0-1:
0: Initial version
1: persisting explicitLac is introduced
By default, it is `1`. If you'd like to disable persisting ExplicitLac, you can set this config to 0 and also journalFormatVersionToWrite should be set to < 6. If there is mismatch then the serverconfig is considered invalid.
| 1 |
-| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficent when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
-| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain bettern performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
+| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficient when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
+| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain better performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
| numOfMemtableFlushThreads | When entryLogPerLedger is enabled SortedLedgerStorage flushes entries from memTable using OrderedExecutor having numOfMemtableFlushThreads number of threads.
| 8 |
@@ -217,7 +217,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
| dbStorage_writeCacheMaxSizeMb | Size of write cache. Memory is allocated from JVM direct memory. Write cache is used for buffer entries before flushing into the entry log. For good performance, it should be big enough to hold a substantial amount of entries in the flush interval. | 25% of the available direct memory |
-| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memroy |
+| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memory |
| dbStorage_readAheadCacheBatchSize | How many entries to pre-fill in cache after a read cache miss | 100 |
| dbStorage_rocksDB_blockSize | Size of RocksDB block-cache. RocksDB is used for storing ledger indexes.
For best performance, this cache should be big enough to hold a significant portion of the index database which can reach ~2GB in some cases.
| 268435456 |
| dbStorage_rocksDB_writeBufferSizeMB | Size of RocksDB write buffer. RocksDB is used for storing ledger indexes.
| 64 |
@@ -248,7 +248,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| zkTimeout | ZooKeeper client session timeout in milliseconds. Bookie server will exit if it received SESSION_EXPIRED because it was partitioned off from ZooKeeper for more than the session timeout JVM garbage collection, disk I/O will cause SESSION_EXPIRED. Increment this value could help avoiding this issue. | 10000 |
| zkRetryBackoffStartMs | The Zookeeper client backoff retry start time in millis. | 1000 |
| zkRetryBackoffMaxMs | The Zookeeper client backoff retry max time in millis. | 10000 |
-| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a postivie value. | |
+| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a positive value. | |
| zkEnableSecurity | Set ACLs on every node written on ZooKeeper, this way only allowed users will be able to read and write BookKeeper metadata stored on ZooKeeper. In order to make ACLs work you need to setup ZooKeeper JAAS authentication all the bookies and Client need to share the same user, and this is usually done using Kerberos authentication. See ZooKeeper documentation | false |
diff --git a/site3/website/versioned_docs/version-4.15.5/admin/geo-replication.md b/site3/website/versioned_docs/version-4.15.5/admin/geo-replication.md
index f0e58e71891..b29fa329130 100644
--- a/site3/website/versioned_docs/version-4.15.5/admin/geo-replication.md
+++ b/site3/website/versioned_docs/version-4.15.5/admin/geo-replication.md
@@ -17,6 +17,6 @@ Let's say that you want to set up geo-replication across clusters in regions A,
The crucial difference between using cluster-specific ZooKeeper and global ZooKeeper is that bookies is that you need to point all bookies to use the global ZooKeeper setup.
-## Region-aware placement polocy
+## Region-aware placement policy
## Autorecovery
diff --git a/site3/website/versioned_docs/version-4.15.5/api/ledger-adv-api.md b/site3/website/versioned_docs/version-4.15.5/api/ledger-adv-api.md
index ac11617dc54..875065d5192 100644
--- a/site3/website/versioned_docs/version-4.15.5/api/ledger-adv-api.md
+++ b/site3/website/versioned_docs/version-4.15.5/api/ledger-adv-api.md
@@ -15,7 +15,7 @@ It allows user passing in an `entryId` when adding an entry.
### Creating advanced ledgers
-Here's an exmaple:
+Here's an example:
```java
byte[] passwd = "some-passwd".getBytes();
@@ -61,7 +61,7 @@ LedgerHandleAdv handle = bkClient.createLedgerAdv(
> If a ledger already exists when users try to create an advanced ledger with same ledger id,
> a [LedgerExistsException]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/BKException.BKLedgerExistException.html) is thrown by the bookkeeper client.
-Creating advanced ledgers can be done throught a fluent API since 4.6.
+Creating advanced ledgers can be done through a fluent API since 4.6.
```java
BookKeeper bk = ...;
diff --git a/site3/website/versioned_docs/version-4.15.5/api/ledger-api.md b/site3/website/versioned_docs/version-4.15.5/api/ledger-api.md
index ab66c5c7ab4..f75bc54024a 100644
--- a/site3/website/versioned_docs/version-4.15.5/api/ledger-api.md
+++ b/site3/website/versioned_docs/version-4.15.5/api/ledger-api.md
@@ -667,7 +667,7 @@ ReadHandle rh = bk.newOpenLedgerOp()
If you are opening a ledger in "Recovery" mode, it will basically fence and seal the ledger -- no more entries are allowed
to be appended to it. The writer which is currently appending entries to the ledger will fail with [`LedgerFencedException`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/api/BKException.Code#LedgerFencedException).
-In constrat, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
+In constraint, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
### Read entries from ledgers
diff --git a/site3/website/versioned_docs/version-4.15.5/api/overview.md b/site3/website/versioned_docs/version-4.15.5/api/overview.md
index a6c157c8611..cde21485e41 100644
--- a/site3/website/versioned_docs/version-4.15.5/api/overview.md
+++ b/site3/website/versioned_docs/version-4.15.5/api/overview.md
@@ -15,4 +15,4 @@ The `Ledger API` provides direct access to ledgers and thus enables you to use B
However, in most of use cases, if you want a `log stream`-like abstraction, it requires you to manage things like tracking list of ledgers,
managing rolling ledgers and data retention on your own. In such cases, you are recommended to use [DistributedLog API](distributedlog-api),
-with semantics resembling continous log streams from the standpoint of applications.
+with semantics resembling continuous log streams from the standpoint of applications.
diff --git a/site3/website/versioned_docs/version-4.15.5/development/protocol.md b/site3/website/versioned_docs/version-4.15.5/development/protocol.md
index 03d13f36fc4..327ec4c13a0 100644
--- a/site3/website/versioned_docs/version-4.15.5/development/protocol.md
+++ b/site3/website/versioned_docs/version-4.15.5/development/protocol.md
@@ -21,7 +21,7 @@ A ledger's metadata contains the following:
Parameter | Name | Meaning
:---------|:-----|:-------
-Identifer | | A 64-bit integer, unique within the system
+Identifier | | A 64-bit integer, unique within the system
Ensemble size | **E** | The number of nodes the ledger is stored on
Write quorum size | **Qw** | The number of nodes each entry is written to. In effect, the max replication for the entry.
Ack quorum size | **Qa** | The number of nodes an entry must be acknowledged on. In effect, the minimum replication for the entry.
diff --git a/site3/website/versioned_docs/version-4.15.5/getting-started/concepts.md b/site3/website/versioned_docs/version-4.15.5/getting-started/concepts.md
index ea52a9be494..8294414c5ae 100644
--- a/site3/website/versioned_docs/version-4.15.5/getting-started/concepts.md
+++ b/site3/website/versioned_docs/version-4.15.5/getting-started/concepts.md
@@ -193,7 +193,7 @@ For example, ledger 0000000001 is split into three parts, 00, 0000, and 00001, a
### Flat ledger manager
-> deprecated since 4.7.0, not recommand now.
+> deprecated since 4.7.0, not recommend now.
The *flat ledger manager*, implemented in the [`FlatLedgerManager`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/meta/FlatLedgerManager.html) class, stores all ledgers' metadata in child nodes of a single ZooKeeper path. The flat ledger manager creates [sequential nodes](https://zookeeper.apache.org/doc/trunk/zookeeperProgrammers.html#Sequence+Nodes+--+Unique+Naming) to ensure the uniqueness of the ledger ID and prefixes all nodes with `L`. Bookie servers manage their own active ledgers in a hash map so that it's easy to find which ledgers have been deleted from ZooKeeper and then garbage collect them.
diff --git a/site3/website/versioned_docs/version-4.15.5/reference/config.md b/site3/website/versioned_docs/version-4.15.5/reference/config.md
index 18771b75af7..ea6227477d9 100644
--- a/site3/website/versioned_docs/version-4.15.5/reference/config.md
+++ b/site3/website/versioned_docs/version-4.15.5/reference/config.md
@@ -196,7 +196,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
-| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
+| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partitions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
| diskUsageWarnThreshold | The disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases. | 0.95 |
| diskUsageLwmThreshold | Set the disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases.
| 0.9 |
| diskCheckInterval | Disk check interval in milliseconds. Interval to check the ledger dirs usage. | 10000 |
@@ -213,8 +213,8 @@ The table below lists parameters that you can set to configure bookies. All conf
| fileInfoCacheInitialCapacity | The minimum total size of the internal file info cache table. Providing a large enough estimate at construction time avoids the need for expensive resizing operations later,
but setting this value unnecessarily high wastes memory. The default value is `1/4` of `openFileLimit` if openFileLimit is positive, otherwise it is 64.
| |
| fileInfoMaxIdleTime | The max idle time allowed for an open file info existed in the file info cache. If the file info is idle for a long time, exceed the given time period. The file info will be
evicted and closed. If the value is zero or negative, the file info is evicted only when opened files reached `openFileLimit`.
| |
| fileInfoFormatVersionToWrite | The fileinfo format version to write.
Available formats are 0-1:
0: Initial version
1: persisting explicitLac is introduced
By default, it is `1`. If you'd like to disable persisting ExplicitLac, you can set this config to 0 and also journalFormatVersionToWrite should be set to < 6. If there is mismatch then the serverconfig is considered invalid.
| 1 |
-| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficent when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
-| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain bettern performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
+| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficient when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
+| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain better performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
| numOfMemtableFlushThreads | When entryLogPerLedger is enabled SortedLedgerStorage flushes entries from memTable using OrderedExecutor having numOfMemtableFlushThreads number of threads.
| 8 |
@@ -223,7 +223,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
| dbStorage_writeCacheMaxSizeMb | Size of write cache. Memory is allocated from JVM direct memory. Write cache is used for buffer entries before flushing into the entry log. For good performance, it should be big enough to hold a substantial amount of entries in the flush interval. | 25% of the available direct memory |
-| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memroy |
+| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memory |
| dbStorage_readAheadCacheBatchSize | How many entries to pre-fill in cache after a read cache miss | 100 |
| dbStorage_rocksDB_blockSize | Size of RocksDB block-cache. RocksDB is used for storing ledger indexes.
For best performance, this cache should be big enough to hold a significant portion of the index database which can reach ~2GB in some cases.
| 268435456 |
| dbStorage_rocksDB_writeBufferSizeMB | Size of RocksDB write buffer. RocksDB is used for storing ledger indexes.
| 64 |
@@ -254,7 +254,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| zkTimeout | ZooKeeper client session timeout in milliseconds. Bookie server will exit if it received SESSION_EXPIRED because it was partitioned off from ZooKeeper for more than the session timeout JVM garbage collection, disk I/O will cause SESSION_EXPIRED. Increment this value could help avoiding this issue. | 10000 |
| zkRetryBackoffStartMs | The Zookeeper client backoff retry start time in millis. | 1000 |
| zkRetryBackoffMaxMs | The Zookeeper client backoff retry max time in millis. | 10000 |
-| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a postivie value. | |
+| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a positive value. | |
| zkEnableSecurity | Set ACLs on every node written on ZooKeeper, this way only allowed users will be able to read and write BookKeeper metadata stored on ZooKeeper. In order to make ACLs work you need to setup ZooKeeper JAAS authentication all the bookies and Client need to share the same user, and this is usually done using Kerberos authentication. See ZooKeeper documentation | false |
diff --git a/site3/website/versioned_docs/version-4.16.5/admin/geo-replication.md b/site3/website/versioned_docs/version-4.16.5/admin/geo-replication.md
index f0e58e71891..b29fa329130 100644
--- a/site3/website/versioned_docs/version-4.16.5/admin/geo-replication.md
+++ b/site3/website/versioned_docs/version-4.16.5/admin/geo-replication.md
@@ -17,6 +17,6 @@ Let's say that you want to set up geo-replication across clusters in regions A,
The crucial difference between using cluster-specific ZooKeeper and global ZooKeeper is that bookies is that you need to point all bookies to use the global ZooKeeper setup.
-## Region-aware placement polocy
+## Region-aware placement policy
## Autorecovery
diff --git a/site3/website/versioned_docs/version-4.16.5/api/ledger-adv-api.md b/site3/website/versioned_docs/version-4.16.5/api/ledger-adv-api.md
index ac11617dc54..875065d5192 100644
--- a/site3/website/versioned_docs/version-4.16.5/api/ledger-adv-api.md
+++ b/site3/website/versioned_docs/version-4.16.5/api/ledger-adv-api.md
@@ -15,7 +15,7 @@ It allows user passing in an `entryId` when adding an entry.
### Creating advanced ledgers
-Here's an exmaple:
+Here's an example:
```java
byte[] passwd = "some-passwd".getBytes();
@@ -61,7 +61,7 @@ LedgerHandleAdv handle = bkClient.createLedgerAdv(
> If a ledger already exists when users try to create an advanced ledger with same ledger id,
> a [LedgerExistsException]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/BKException.BKLedgerExistException.html) is thrown by the bookkeeper client.
-Creating advanced ledgers can be done throught a fluent API since 4.6.
+Creating advanced ledgers can be done through a fluent API since 4.6.
```java
BookKeeper bk = ...;
diff --git a/site3/website/versioned_docs/version-4.16.5/api/ledger-api.md b/site3/website/versioned_docs/version-4.16.5/api/ledger-api.md
index 08502ed313b..976ad5320bc 100644
--- a/site3/website/versioned_docs/version-4.16.5/api/ledger-api.md
+++ b/site3/website/versioned_docs/version-4.16.5/api/ledger-api.md
@@ -667,7 +667,7 @@ ReadHandle rh = bk.newOpenLedgerOp()
If you are opening a ledger in "Recovery" mode, it will basically fence and seal the ledger -- no more entries are allowed
to be appended to it. The writer which is currently appending entries to the ledger will fail with [`LedgerFencedException`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/api/BKException.Code#LedgerFencedException).
-In constrat, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
+In constraint, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
### Read entries from ledgers
diff --git a/site3/website/versioned_docs/version-4.16.5/api/overview.md b/site3/website/versioned_docs/version-4.16.5/api/overview.md
index a6c157c8611..cde21485e41 100644
--- a/site3/website/versioned_docs/version-4.16.5/api/overview.md
+++ b/site3/website/versioned_docs/version-4.16.5/api/overview.md
@@ -15,4 +15,4 @@ The `Ledger API` provides direct access to ledgers and thus enables you to use B
However, in most of use cases, if you want a `log stream`-like abstraction, it requires you to manage things like tracking list of ledgers,
managing rolling ledgers and data retention on your own. In such cases, you are recommended to use [DistributedLog API](distributedlog-api),
-with semantics resembling continous log streams from the standpoint of applications.
+with semantics resembling continuous log streams from the standpoint of applications.
diff --git a/site3/website/versioned_docs/version-4.16.5/development/protocol.md b/site3/website/versioned_docs/version-4.16.5/development/protocol.md
index 03d13f36fc4..327ec4c13a0 100644
--- a/site3/website/versioned_docs/version-4.16.5/development/protocol.md
+++ b/site3/website/versioned_docs/version-4.16.5/development/protocol.md
@@ -21,7 +21,7 @@ A ledger's metadata contains the following:
Parameter | Name | Meaning
:---------|:-----|:-------
-Identifer | | A 64-bit integer, unique within the system
+Identifier | | A 64-bit integer, unique within the system
Ensemble size | **E** | The number of nodes the ledger is stored on
Write quorum size | **Qw** | The number of nodes each entry is written to. In effect, the max replication for the entry.
Ack quorum size | **Qa** | The number of nodes an entry must be acknowledged on. In effect, the minimum replication for the entry.
diff --git a/site3/website/versioned_docs/version-4.16.5/getting-started/concepts.md b/site3/website/versioned_docs/version-4.16.5/getting-started/concepts.md
index 0fe0ac2ccb8..2d463617761 100644
--- a/site3/website/versioned_docs/version-4.16.5/getting-started/concepts.md
+++ b/site3/website/versioned_docs/version-4.16.5/getting-started/concepts.md
@@ -193,7 +193,7 @@ For example, ledger 0000000001 is split into three parts, 00, 0000, and 00001, a
### Flat ledger manager
-> deprecated since 4.7.0, not recommand now.
+> deprecated since 4.7.0, not recommend now.
The *flat ledger manager*, implemented in the [`FlatLedgerManager`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/meta/FlatLedgerManager.html) class, stores all ledgers' metadata in child nodes of a single ZooKeeper path. The flat ledger manager creates [sequential nodes](https://zookeeper.apache.org/doc/current/zookeeperProgrammers.html#Sequence+Nodes+--+Unique+Naming) to ensure the uniqueness of the ledger ID and prefixes all nodes with `L`. Bookie servers manage their own active ledgers in a hash map so that it's easy to find which ledgers have been deleted from ZooKeeper and then garbage collect them.
diff --git a/site3/website/versioned_docs/version-4.16.5/reference/config.md b/site3/website/versioned_docs/version-4.16.5/reference/config.md
index eba40937c4d..209be0b9687 100644
--- a/site3/website/versioned_docs/version-4.16.5/reference/config.md
+++ b/site3/website/versioned_docs/version-4.16.5/reference/config.md
@@ -201,7 +201,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
-| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
+| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partitions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
| diskUsageWarnThreshold | The disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases. | 0.95 |
| diskUsageLwmThreshold | Set the disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases.
| 0.9 |
| diskCheckInterval | Disk check interval in milliseconds. Interval to check the ledger dirs usage. | 10000 |
@@ -218,8 +218,8 @@ The table below lists parameters that you can set to configure bookies. All conf
| fileInfoCacheInitialCapacity | The minimum total size of the internal file info cache table. Providing a large enough estimate at construction time avoids the need for expensive resizing operations later,
but setting this value unnecessarily high wastes memory. The default value is `1/4` of `openFileLimit` if openFileLimit is positive, otherwise it is 64.
| |
| fileInfoMaxIdleTime | The max idle time allowed for an open file info existed in the file info cache. If the file info is idle for a long time, exceed the given time period. The file info will be
evicted and closed. If the value is zero or negative, the file info is evicted only when opened files reached `openFileLimit`.
| |
| fileInfoFormatVersionToWrite | The fileinfo format version to write.
Available formats are 0-1:
0: Initial version
1: persisting explicitLac is introduced
By default, it is `1`. If you'd like to disable persisting ExplicitLac, you can set this config to 0 and also journalFormatVersionToWrite should be set to < 6. If there is mismatch then the serverconfig is considered invalid.
| 1 |
-| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficent when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
-| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain bettern performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
+| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficient when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
+| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain better performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
| numOfMemtableFlushThreads | When entryLogPerLedger is enabled SortedLedgerStorage flushes entries from memTable using OrderedExecutor having numOfMemtableFlushThreads number of threads.
| 8 |
@@ -228,7 +228,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
| dbStorage_writeCacheMaxSizeMb | Size of write cache. Memory is allocated from JVM direct memory. Write cache is used for buffer entries before flushing into the entry log. For good performance, it should be big enough to hold a substantial amount of entries in the flush interval. | 25% of the available direct memory |
-| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memroy |
+| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memory |
| dbStorage_readAheadCacheBatchSize | How many entries to pre-fill in cache after a read cache miss | 100 |
| dbStorage_rocksDB_blockSize | Size of RocksDB block-cache. RocksDB is used for storing ledger indexes.
For best performance, this cache should be big enough to hold a significant portion of the index database which can reach ~2GB in some cases.
| 268435456 |
| dbStorage_rocksDB_writeBufferSizeMB | Size of RocksDB write buffer. RocksDB is used for storing ledger indexes.
| 64 |
@@ -270,7 +270,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| zkTimeout | ZooKeeper client session timeout in milliseconds. Bookie server will exit if it received SESSION_EXPIRED because it was partitioned off from ZooKeeper for more than the session timeout JVM garbage collection, disk I/O will cause SESSION_EXPIRED. Increment this value could help avoiding this issue. | 10000 |
| zkRetryBackoffStartMs | The Zookeeper client backoff retry start time in millis. | 1000 |
| zkRetryBackoffMaxMs | The Zookeeper client backoff retry max time in millis. | 10000 |
-| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a postivie value. | |
+| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a positive value. | |
| zkEnableSecurity | Set ACLs on every node written on ZooKeeper, this way only allowed users will be able to read and write BookKeeper metadata stored on ZooKeeper. In order to make ACLs work you need to setup ZooKeeper JAAS authentication all the bookies and Client need to share the same user, and this is usually done using Kerberos authentication. See ZooKeeper documentation | false |
diff --git a/site3/website/versioned_docs/version-4.17.0/admin/geo-replication.md b/site3/website/versioned_docs/version-4.17.0/admin/geo-replication.md
index f0e58e71891..b29fa329130 100644
--- a/site3/website/versioned_docs/version-4.17.0/admin/geo-replication.md
+++ b/site3/website/versioned_docs/version-4.17.0/admin/geo-replication.md
@@ -17,6 +17,6 @@ Let's say that you want to set up geo-replication across clusters in regions A,
The crucial difference between using cluster-specific ZooKeeper and global ZooKeeper is that bookies is that you need to point all bookies to use the global ZooKeeper setup.
-## Region-aware placement polocy
+## Region-aware placement policy
## Autorecovery
diff --git a/site3/website/versioned_docs/version-4.17.0/api/ledger-adv-api.md b/site3/website/versioned_docs/version-4.17.0/api/ledger-adv-api.md
index ac11617dc54..875065d5192 100644
--- a/site3/website/versioned_docs/version-4.17.0/api/ledger-adv-api.md
+++ b/site3/website/versioned_docs/version-4.17.0/api/ledger-adv-api.md
@@ -15,7 +15,7 @@ It allows user passing in an `entryId` when adding an entry.
### Creating advanced ledgers
-Here's an exmaple:
+Here's an example:
```java
byte[] passwd = "some-passwd".getBytes();
@@ -61,7 +61,7 @@ LedgerHandleAdv handle = bkClient.createLedgerAdv(
> If a ledger already exists when users try to create an advanced ledger with same ledger id,
> a [LedgerExistsException]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/BKException.BKLedgerExistException.html) is thrown by the bookkeeper client.
-Creating advanced ledgers can be done throught a fluent API since 4.6.
+Creating advanced ledgers can be done through a fluent API since 4.6.
```java
BookKeeper bk = ...;
diff --git a/site3/website/versioned_docs/version-4.17.0/api/ledger-api.md b/site3/website/versioned_docs/version-4.17.0/api/ledger-api.md
index f6ba2838251..75ab9555c7c 100644
--- a/site3/website/versioned_docs/version-4.17.0/api/ledger-api.md
+++ b/site3/website/versioned_docs/version-4.17.0/api/ledger-api.md
@@ -667,7 +667,7 @@ ReadHandle rh = bk.newOpenLedgerOp()
If you are opening a ledger in "Recovery" mode, it will basically fence and seal the ledger -- no more entries are allowed
to be appended to it. The writer which is currently appending entries to the ledger will fail with [`LedgerFencedException`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/api/BKException.Code#LedgerFencedException).
-In constrat, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
+In constraint, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
### Read entries from ledgers
diff --git a/site3/website/versioned_docs/version-4.17.0/api/overview.md b/site3/website/versioned_docs/version-4.17.0/api/overview.md
index a6c157c8611..cde21485e41 100644
--- a/site3/website/versioned_docs/version-4.17.0/api/overview.md
+++ b/site3/website/versioned_docs/version-4.17.0/api/overview.md
@@ -15,4 +15,4 @@ The `Ledger API` provides direct access to ledgers and thus enables you to use B
However, in most of use cases, if you want a `log stream`-like abstraction, it requires you to manage things like tracking list of ledgers,
managing rolling ledgers and data retention on your own. In such cases, you are recommended to use [DistributedLog API](distributedlog-api),
-with semantics resembling continous log streams from the standpoint of applications.
+with semantics resembling continuous log streams from the standpoint of applications.
diff --git a/site3/website/versioned_docs/version-4.17.0/development/protocol.md b/site3/website/versioned_docs/version-4.17.0/development/protocol.md
index 03d13f36fc4..327ec4c13a0 100644
--- a/site3/website/versioned_docs/version-4.17.0/development/protocol.md
+++ b/site3/website/versioned_docs/version-4.17.0/development/protocol.md
@@ -21,7 +21,7 @@ A ledger's metadata contains the following:
Parameter | Name | Meaning
:---------|:-----|:-------
-Identifer | | A 64-bit integer, unique within the system
+Identifier | | A 64-bit integer, unique within the system
Ensemble size | **E** | The number of nodes the ledger is stored on
Write quorum size | **Qw** | The number of nodes each entry is written to. In effect, the max replication for the entry.
Ack quorum size | **Qa** | The number of nodes an entry must be acknowledged on. In effect, the minimum replication for the entry.
diff --git a/site3/website/versioned_docs/version-4.17.0/getting-started/concepts.md b/site3/website/versioned_docs/version-4.17.0/getting-started/concepts.md
index 0fe0ac2ccb8..2d463617761 100644
--- a/site3/website/versioned_docs/version-4.17.0/getting-started/concepts.md
+++ b/site3/website/versioned_docs/version-4.17.0/getting-started/concepts.md
@@ -193,7 +193,7 @@ For example, ledger 0000000001 is split into three parts, 00, 0000, and 00001, a
### Flat ledger manager
-> deprecated since 4.7.0, not recommand now.
+> deprecated since 4.7.0, not recommend now.
The *flat ledger manager*, implemented in the [`FlatLedgerManager`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/meta/FlatLedgerManager.html) class, stores all ledgers' metadata in child nodes of a single ZooKeeper path. The flat ledger manager creates [sequential nodes](https://zookeeper.apache.org/doc/current/zookeeperProgrammers.html#Sequence+Nodes+--+Unique+Naming) to ensure the uniqueness of the ledger ID and prefixes all nodes with `L`. Bookie servers manage their own active ledgers in a hash map so that it's easy to find which ledgers have been deleted from ZooKeeper and then garbage collect them.
diff --git a/site3/website/versioned_docs/version-4.17.0/reference/config.md b/site3/website/versioned_docs/version-4.17.0/reference/config.md
index 7b53750f38a..496b4e25c01 100644
--- a/site3/website/versioned_docs/version-4.17.0/reference/config.md
+++ b/site3/website/versioned_docs/version-4.17.0/reference/config.md
@@ -201,7 +201,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
-| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
+| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partitions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
| diskUsageWarnThreshold | The disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases. | 0.95 |
| diskUsageLwmThreshold | Set the disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases.
| 0.9 |
| diskCheckInterval | Disk check interval in milliseconds. Interval to check the ledger dirs usage. | 10000 |
@@ -218,8 +218,8 @@ The table below lists parameters that you can set to configure bookies. All conf
| fileInfoCacheInitialCapacity | The minimum total size of the internal file info cache table. Providing a large enough estimate at construction time avoids the need for expensive resizing operations later,
but setting this value unnecessarily high wastes memory. The default value is `1/4` of `openFileLimit` if openFileLimit is positive, otherwise it is 64.
| |
| fileInfoMaxIdleTime | The max idle time allowed for an open file info existed in the file info cache. If the file info is idle for a long time, exceed the given time period. The file info will be
evicted and closed. If the value is zero or negative, the file info is evicted only when opened files reached `openFileLimit`.
| |
| fileInfoFormatVersionToWrite | The fileinfo format version to write.
Available formats are 0-1:
0: Initial version
1: persisting explicitLac is introduced
By default, it is `1`. If you'd like to disable persisting ExplicitLac, you can set this config to 0 and also journalFormatVersionToWrite should be set to < 6. If there is mismatch then the serverconfig is considered invalid.
| 1 |
-| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficent when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
-| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain bettern performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
+| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficient when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
+| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain better performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
| numOfMemtableFlushThreads | When entryLogPerLedger is enabled SortedLedgerStorage flushes entries from memTable using OrderedExecutor having numOfMemtableFlushThreads number of threads.
| 8 |
@@ -228,7 +228,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
| dbStorage_writeCacheMaxSizeMb | Size of write cache. Memory is allocated from JVM direct memory. Write cache is used for buffer entries before flushing into the entry log. For good performance, it should be big enough to hold a substantial amount of entries in the flush interval. | 25% of the available direct memory |
-| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memroy |
+| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memory |
| dbStorage_readAheadCacheBatchSize | How many entries to pre-fill in cache after a read cache miss | 100 |
| dbStorage_rocksDB_blockSize | Size of RocksDB block-cache. RocksDB is used for storing ledger indexes.
For best performance, this cache should be big enough to hold a significant portion of the index database which can reach ~2GB in some cases.
| 268435456 |
| dbStorage_rocksDB_writeBufferSizeMB | Size of RocksDB write buffer. RocksDB is used for storing ledger indexes.
| 64 |
@@ -270,7 +270,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| zkTimeout | ZooKeeper client session timeout in milliseconds. Bookie server will exit if it received SESSION_EXPIRED because it was partitioned off from ZooKeeper for more than the session timeout JVM garbage collection, disk I/O will cause SESSION_EXPIRED. Increment this value could help avoiding this issue. | 10000 |
| zkRetryBackoffStartMs | The Zookeeper client backoff retry start time in millis. | 1000 |
| zkRetryBackoffMaxMs | The Zookeeper client backoff retry max time in millis. | 10000 |
-| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a postivie value. | |
+| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a positive value. | |
| zkEnableSecurity | Set ACLs on every node written on ZooKeeper, this way only allowed users will be able to read and write BookKeeper metadata stored on ZooKeeper. In order to make ACLs work you need to setup ZooKeeper JAAS authentication all the bookies and Client need to share the same user, and this is usually done using Kerberos authentication. See ZooKeeper documentation | false |
diff --git a/site3/website/versioned_docs/version-4.5.1/admin/geo-replication.md b/site3/website/versioned_docs/version-4.5.1/admin/geo-replication.md
index f0e58e71891..b29fa329130 100644
--- a/site3/website/versioned_docs/version-4.5.1/admin/geo-replication.md
+++ b/site3/website/versioned_docs/version-4.5.1/admin/geo-replication.md
@@ -17,6 +17,6 @@ Let's say that you want to set up geo-replication across clusters in regions A,
The crucial difference between using cluster-specific ZooKeeper and global ZooKeeper is that bookies is that you need to point all bookies to use the global ZooKeeper setup.
-## Region-aware placement polocy
+## Region-aware placement policy
## Autorecovery
diff --git a/site3/website/versioned_docs/version-4.5.1/api/ledger-adv-api.md b/site3/website/versioned_docs/version-4.5.1/api/ledger-adv-api.md
index dbb0cc24abf..3a4bc2df639 100644
--- a/site3/website/versioned_docs/version-4.5.1/api/ledger-adv-api.md
+++ b/site3/website/versioned_docs/version-4.5.1/api/ledger-adv-api.md
@@ -15,7 +15,7 @@ It allows user passing in an `entryId` when adding an entry.
### Creating advanced ledgers
-Here's an exmaple:
+Here's an example:
```java
byte[] passwd = "some-passwd".getBytes();
diff --git a/site3/website/versioned_docs/version-4.5.1/api/overview.md b/site3/website/versioned_docs/version-4.5.1/api/overview.md
index c98880e3a2d..1bd0fd15b60 100644
--- a/site3/website/versioned_docs/version-4.5.1/api/overview.md
+++ b/site3/website/versioned_docs/version-4.5.1/api/overview.md
@@ -15,4 +15,4 @@ The `Ledger API` provides direct access to ledgers and thus enables you to use B
However, in most of use cases, if you want a `log stream`-like abstraction, it requires you to manage things like tracking list of ledgers,
managing rolling ledgers and data retention on your own. In such cases, you are recommended to use [DistributedLog API](distributedlog-api),
-with semantics resembling continous log streams from the standpoint of applications.
+with semantics resembling continuous log streams from the standpoint of applications.
diff --git a/site3/website/versioned_docs/version-4.5.1/development/protocol.md b/site3/website/versioned_docs/version-4.5.1/development/protocol.md
index 068d30a7fd7..fe25039acc9 100644
--- a/site3/website/versioned_docs/version-4.5.1/development/protocol.md
+++ b/site3/website/versioned_docs/version-4.5.1/development/protocol.md
@@ -21,7 +21,7 @@ A ledger's metadata contains the following:
Parameter | Name | Meaning
:---------|:-----|:-------
-Identifer | | A 64-bit integer, unique within the system
+Identifier | | A 64-bit integer, unique within the system
Ensemble size | **E** | The number of nodes the ledger is stored on
Write quorum size | **Qw** | The number of nodes each entry is written to. In effect, the max replication for the entry.
Ack quorum size | **Qa** | The number of nodes an entry must be acknowledged on. In effect, the minimum replication for the entry.
diff --git a/site3/website/versioned_docs/version-4.5.1/reference/config.md b/site3/website/versioned_docs/version-4.5.1/reference/config.md
index 16402eec418..8a054595486 100644
--- a/site3/website/versioned_docs/version-4.5.1/reference/config.md
+++ b/site3/website/versioned_docs/version-4.5.1/reference/config.md
@@ -188,7 +188,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
-| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
+| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partitions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
| diskUsageWarnThreshold | The disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases. | 0.95 |
| diskUsageLwmThreshold | Set the disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases.
| 0.9 |
| diskCheckInterval | Disk check interval in milliseconds. Interval to check the ledger dirs usage. | 10000 |
@@ -205,8 +205,8 @@ The table below lists parameters that you can set to configure bookies. All conf
| fileInfoCacheInitialCapacity | The minimum total size of the internal file info cache table. Providing a large enough estimate at construction time avoids the need for expensive resizing operations later,
but setting this value unnecessarily high wastes memory. The default value is `1/4` of `openFileLimit` if openFileLimit is positive, otherwise it is 64.
| |
| fileInfoMaxIdleTime | The max idle time allowed for an open file info existed in the file info cache. If the file info is idle for a long time, exceed the given time period. The file info will be
evicted and closed. If the value is zero or negative, the file info is evicted only when opened files reached `openFileLimit`.
| |
| fileInfoFormatVersionToWrite | The fileinfo format version to write.
Available formats are 0-1:
0: Initial version
1: persisting explicitLac is introduced
By default, it is `1`. If you'd like to disable persisting ExplicitLac, you can set this config to 0 and also journalFormatVersionToWrite should be set to < 6. If there is mismatch then the serverconfig is considered invalid.
| 1 |
-| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficent when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
-| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain bettern performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
+| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficient when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
+| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain better performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
| numOfMemtableFlushThreads | When entryLogPerLedger is enabled SortedLedgerStorage flushes entries from memTable using OrderedExecutor having numOfMemtableFlushThreads number of threads.
| 8 |
@@ -215,7 +215,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
| dbStorage_writeCacheMaxSizeMb | Size of write cache. Memory is allocated from JVM direct memory. Write cache is used for buffer entries before flushing into the entry log. For good performance, it should be big enough to hold a substantial amount of entries in the flush interval. | 25% of the available direct memory |
-| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memroy |
+| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memory |
| dbStorage_readAheadCacheBatchSize | How many entries to pre-fill in cache after a read cache miss | 100 |
| dbStorage_rocksDB_blockSize | Size of RocksDB block-cache. RocksDB is used for storing ledger indexes.
For best performance, this cache should be big enough to hold a significant portion of the index database which can reach ~2GB in some cases.
| 268435456 |
| dbStorage_rocksDB_writeBufferSizeMB | Size of RocksDB write buffer. RocksDB is used for storing ledger indexes.
| 64 |
@@ -246,7 +246,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| zkTimeout | ZooKeeper client session timeout in milliseconds. Bookie server will exit if it received SESSION_EXPIRED because it was partitioned off from ZooKeeper for more than the session timeout JVM garbage collection, disk I/O will cause SESSION_EXPIRED. Increment this value could help avoiding this issue. | 10000 |
| zkRetryBackoffStartMs | The Zookeeper client backoff retry start time in millis. | 1000 |
| zkRetryBackoffMaxMs | The Zookeeper client backoff retry max time in millis. | 10000 |
-| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a postivie value. | |
+| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a positive value. | |
| zkEnableSecurity | Set ACLs on every node written on ZooKeeper, this way only allowed users will be able to read and write BookKeeper metadata stored on ZooKeeper. In order to make ACLs work you need to setup ZooKeeper JAAS authentication all the bookies and Client need to share the same user, and this is usually done using Kerberos authentication. See ZooKeeper documentation | false |
diff --git a/site3/website/versioned_docs/version-4.6.2/admin/geo-replication.md b/site3/website/versioned_docs/version-4.6.2/admin/geo-replication.md
index f0e58e71891..b29fa329130 100644
--- a/site3/website/versioned_docs/version-4.6.2/admin/geo-replication.md
+++ b/site3/website/versioned_docs/version-4.6.2/admin/geo-replication.md
@@ -17,6 +17,6 @@ Let's say that you want to set up geo-replication across clusters in regions A,
The crucial difference between using cluster-specific ZooKeeper and global ZooKeeper is that bookies is that you need to point all bookies to use the global ZooKeeper setup.
-## Region-aware placement polocy
+## Region-aware placement policy
## Autorecovery
diff --git a/site3/website/versioned_docs/version-4.6.2/api/ledger-adv-api.md b/site3/website/versioned_docs/version-4.6.2/api/ledger-adv-api.md
index dbb0cc24abf..3a4bc2df639 100644
--- a/site3/website/versioned_docs/version-4.6.2/api/ledger-adv-api.md
+++ b/site3/website/versioned_docs/version-4.6.2/api/ledger-adv-api.md
@@ -15,7 +15,7 @@ It allows user passing in an `entryId` when adding an entry.
### Creating advanced ledgers
-Here's an exmaple:
+Here's an example:
```java
byte[] passwd = "some-passwd".getBytes();
diff --git a/site3/website/versioned_docs/version-4.6.2/api/ledger-api.md b/site3/website/versioned_docs/version-4.6.2/api/ledger-api.md
index 2b591e75096..e11fd385cc1 100644
--- a/site3/website/versioned_docs/version-4.6.2/api/ledger-api.md
+++ b/site3/website/versioned_docs/version-4.6.2/api/ledger-api.md
@@ -676,7 +676,7 @@ ReadHandle rh = bk.newOpenLedgerOp()
If you are opening a ledger in "Recovery" mode, it will basically fence and seal the ledger -- no more entries are allowed
to be appended to it. The writer which is currently appending entries to the ledger will fail with [`LedgerFencedException`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/api/BKException.Code#LedgerFencedException).
-In constrat, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
+In constraint, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
### Read entries from ledgers
diff --git a/site3/website/versioned_docs/version-4.6.2/api/overview.md b/site3/website/versioned_docs/version-4.6.2/api/overview.md
index c98880e3a2d..1bd0fd15b60 100644
--- a/site3/website/versioned_docs/version-4.6.2/api/overview.md
+++ b/site3/website/versioned_docs/version-4.6.2/api/overview.md
@@ -15,4 +15,4 @@ The `Ledger API` provides direct access to ledgers and thus enables you to use B
However, in most of use cases, if you want a `log stream`-like abstraction, it requires you to manage things like tracking list of ledgers,
managing rolling ledgers and data retention on your own. In such cases, you are recommended to use [DistributedLog API](distributedlog-api),
-with semantics resembling continous log streams from the standpoint of applications.
+with semantics resembling continuous log streams from the standpoint of applications.
diff --git a/site3/website/versioned_docs/version-4.6.2/development/protocol.md b/site3/website/versioned_docs/version-4.6.2/development/protocol.md
index 068d30a7fd7..fe25039acc9 100644
--- a/site3/website/versioned_docs/version-4.6.2/development/protocol.md
+++ b/site3/website/versioned_docs/version-4.6.2/development/protocol.md
@@ -21,7 +21,7 @@ A ledger's metadata contains the following:
Parameter | Name | Meaning
:---------|:-----|:-------
-Identifer | | A 64-bit integer, unique within the system
+Identifier | | A 64-bit integer, unique within the system
Ensemble size | **E** | The number of nodes the ledger is stored on
Write quorum size | **Qw** | The number of nodes each entry is written to. In effect, the max replication for the entry.
Ack quorum size | **Qa** | The number of nodes an entry must be acknowledged on. In effect, the minimum replication for the entry.
diff --git a/site3/website/versioned_docs/version-4.6.2/overview/overview.md b/site3/website/versioned_docs/version-4.6.2/overview/overview.md
index 552c9aefa22..7b65189a34a 100644
--- a/site3/website/versioned_docs/version-4.6.2/overview/overview.md
+++ b/site3/website/versioned_docs/version-4.6.2/overview/overview.md
@@ -26,7 +26,7 @@ This documentation is for Apache BookKeeper™ version `4.6.2`.
Apache BookKeeper™ is a scalable, fault tolerant and low latency storage service optimized for realtime workloads.
It offers `durability`, `replication` and `strong consistency` as essentials for building reliable real-time applications.
-It is suitable for being used in following scenerios:
+It is suitable for being used in following scenarios:
- [WAL](https://en.wikipedia.org/wiki/Write-ahead_logging) (Write-Ahead-Logging), e.g. HDFS [namenode](https://hadoop.apache.org/docs/r2.5.2/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithNFS.html#BookKeeper_as_a_Shared_storage_EXPERIMENTAL).
- Message Store, e.g. [Apache Pulsar](https://pulsar.incubator.apache.org/).
diff --git a/site3/website/versioned_docs/version-4.6.2/reference/config.md b/site3/website/versioned_docs/version-4.6.2/reference/config.md
index 16402eec418..8a054595486 100644
--- a/site3/website/versioned_docs/version-4.6.2/reference/config.md
+++ b/site3/website/versioned_docs/version-4.6.2/reference/config.md
@@ -188,7 +188,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
-| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
+| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partitions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
| diskUsageWarnThreshold | The disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases. | 0.95 |
| diskUsageLwmThreshold | Set the disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases.
| 0.9 |
| diskCheckInterval | Disk check interval in milliseconds. Interval to check the ledger dirs usage. | 10000 |
@@ -205,8 +205,8 @@ The table below lists parameters that you can set to configure bookies. All conf
| fileInfoCacheInitialCapacity | The minimum total size of the internal file info cache table. Providing a large enough estimate at construction time avoids the need for expensive resizing operations later,
but setting this value unnecessarily high wastes memory. The default value is `1/4` of `openFileLimit` if openFileLimit is positive, otherwise it is 64.
| |
| fileInfoMaxIdleTime | The max idle time allowed for an open file info existed in the file info cache. If the file info is idle for a long time, exceed the given time period. The file info will be
evicted and closed. If the value is zero or negative, the file info is evicted only when opened files reached `openFileLimit`.
| |
| fileInfoFormatVersionToWrite | The fileinfo format version to write.
Available formats are 0-1:
0: Initial version
1: persisting explicitLac is introduced
By default, it is `1`. If you'd like to disable persisting ExplicitLac, you can set this config to 0 and also journalFormatVersionToWrite should be set to < 6. If there is mismatch then the serverconfig is considered invalid.
| 1 |
-| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficent when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
-| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain bettern performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
+| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficient when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
+| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain better performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
| numOfMemtableFlushThreads | When entryLogPerLedger is enabled SortedLedgerStorage flushes entries from memTable using OrderedExecutor having numOfMemtableFlushThreads number of threads.
| 8 |
@@ -215,7 +215,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
| dbStorage_writeCacheMaxSizeMb | Size of write cache. Memory is allocated from JVM direct memory. Write cache is used for buffer entries before flushing into the entry log. For good performance, it should be big enough to hold a substantial amount of entries in the flush interval. | 25% of the available direct memory |
-| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memroy |
+| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memory |
| dbStorage_readAheadCacheBatchSize | How many entries to pre-fill in cache after a read cache miss | 100 |
| dbStorage_rocksDB_blockSize | Size of RocksDB block-cache. RocksDB is used for storing ledger indexes.
For best performance, this cache should be big enough to hold a significant portion of the index database which can reach ~2GB in some cases.
| 268435456 |
| dbStorage_rocksDB_writeBufferSizeMB | Size of RocksDB write buffer. RocksDB is used for storing ledger indexes.
| 64 |
@@ -246,7 +246,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| zkTimeout | ZooKeeper client session timeout in milliseconds. Bookie server will exit if it received SESSION_EXPIRED because it was partitioned off from ZooKeeper for more than the session timeout JVM garbage collection, disk I/O will cause SESSION_EXPIRED. Increment this value could help avoiding this issue. | 10000 |
| zkRetryBackoffStartMs | The Zookeeper client backoff retry start time in millis. | 1000 |
| zkRetryBackoffMaxMs | The Zookeeper client backoff retry max time in millis. | 10000 |
-| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a postivie value. | |
+| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a positive value. | |
| zkEnableSecurity | Set ACLs on every node written on ZooKeeper, this way only allowed users will be able to read and write BookKeeper metadata stored on ZooKeeper. In order to make ACLs work you need to setup ZooKeeper JAAS authentication all the bookies and Client need to share the same user, and this is usually done using Kerberos authentication. See ZooKeeper documentation | false |
diff --git a/site3/website/versioned_docs/version-4.7.3/admin/geo-replication.md b/site3/website/versioned_docs/version-4.7.3/admin/geo-replication.md
index f0e58e71891..b29fa329130 100644
--- a/site3/website/versioned_docs/version-4.7.3/admin/geo-replication.md
+++ b/site3/website/versioned_docs/version-4.7.3/admin/geo-replication.md
@@ -17,6 +17,6 @@ Let's say that you want to set up geo-replication across clusters in regions A,
The crucial difference between using cluster-specific ZooKeeper and global ZooKeeper is that bookies is that you need to point all bookies to use the global ZooKeeper setup.
-## Region-aware placement polocy
+## Region-aware placement policy
## Autorecovery
diff --git a/site3/website/versioned_docs/version-4.7.3/api/ledger-adv-api.md b/site3/website/versioned_docs/version-4.7.3/api/ledger-adv-api.md
index ac11617dc54..875065d5192 100644
--- a/site3/website/versioned_docs/version-4.7.3/api/ledger-adv-api.md
+++ b/site3/website/versioned_docs/version-4.7.3/api/ledger-adv-api.md
@@ -15,7 +15,7 @@ It allows user passing in an `entryId` when adding an entry.
### Creating advanced ledgers
-Here's an exmaple:
+Here's an example:
```java
byte[] passwd = "some-passwd".getBytes();
@@ -61,7 +61,7 @@ LedgerHandleAdv handle = bkClient.createLedgerAdv(
> If a ledger already exists when users try to create an advanced ledger with same ledger id,
> a [LedgerExistsException]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/BKException.BKLedgerExistException.html) is thrown by the bookkeeper client.
-Creating advanced ledgers can be done throught a fluent API since 4.6.
+Creating advanced ledgers can be done through a fluent API since 4.6.
```java
BookKeeper bk = ...;
diff --git a/site3/website/versioned_docs/version-4.7.3/api/ledger-api.md b/site3/website/versioned_docs/version-4.7.3/api/ledger-api.md
index 300d6e4e2e9..8c14791fb8b 100644
--- a/site3/website/versioned_docs/version-4.7.3/api/ledger-api.md
+++ b/site3/website/versioned_docs/version-4.7.3/api/ledger-api.md
@@ -668,7 +668,7 @@ ReadHandle rh = bk.newOpenLedgerOp()
If you are opening a ledger in "Recovery" mode, it will basically fence and seal the ledger -- no more entries are allowed
to be appended to it. The writer which is currently appending entries to the ledger will fail with [`LedgerFencedException`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/api/BKException.Code#LedgerFencedException).
-In constrat, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
+In constraint, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
### Read entries from ledgers
diff --git a/site3/website/versioned_docs/version-4.7.3/api/overview.md b/site3/website/versioned_docs/version-4.7.3/api/overview.md
index a6c157c8611..cde21485e41 100644
--- a/site3/website/versioned_docs/version-4.7.3/api/overview.md
+++ b/site3/website/versioned_docs/version-4.7.3/api/overview.md
@@ -15,4 +15,4 @@ The `Ledger API` provides direct access to ledgers and thus enables you to use B
However, in most of use cases, if you want a `log stream`-like abstraction, it requires you to manage things like tracking list of ledgers,
managing rolling ledgers and data retention on your own. In such cases, you are recommended to use [DistributedLog API](distributedlog-api),
-with semantics resembling continous log streams from the standpoint of applications.
+with semantics resembling continuous log streams from the standpoint of applications.
diff --git a/site3/website/versioned_docs/version-4.7.3/development/protocol.md b/site3/website/versioned_docs/version-4.7.3/development/protocol.md
index 068d30a7fd7..fe25039acc9 100644
--- a/site3/website/versioned_docs/version-4.7.3/development/protocol.md
+++ b/site3/website/versioned_docs/version-4.7.3/development/protocol.md
@@ -21,7 +21,7 @@ A ledger's metadata contains the following:
Parameter | Name | Meaning
:---------|:-----|:-------
-Identifer | | A 64-bit integer, unique within the system
+Identifier | | A 64-bit integer, unique within the system
Ensemble size | **E** | The number of nodes the ledger is stored on
Write quorum size | **Qw** | The number of nodes each entry is written to. In effect, the max replication for the entry.
Ack quorum size | **Qa** | The number of nodes an entry must be acknowledged on. In effect, the minimum replication for the entry.
diff --git a/site3/website/versioned_docs/version-4.7.3/reference/config.md b/site3/website/versioned_docs/version-4.7.3/reference/config.md
index 16402eec418..8a054595486 100644
--- a/site3/website/versioned_docs/version-4.7.3/reference/config.md
+++ b/site3/website/versioned_docs/version-4.7.3/reference/config.md
@@ -188,7 +188,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
-| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
+| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partitions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
| diskUsageWarnThreshold | The disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases. | 0.95 |
| diskUsageLwmThreshold | Set the disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases.
| 0.9 |
| diskCheckInterval | Disk check interval in milliseconds. Interval to check the ledger dirs usage. | 10000 |
@@ -205,8 +205,8 @@ The table below lists parameters that you can set to configure bookies. All conf
| fileInfoCacheInitialCapacity | The minimum total size of the internal file info cache table. Providing a large enough estimate at construction time avoids the need for expensive resizing operations later,
but setting this value unnecessarily high wastes memory. The default value is `1/4` of `openFileLimit` if openFileLimit is positive, otherwise it is 64.
| |
| fileInfoMaxIdleTime | The max idle time allowed for an open file info existed in the file info cache. If the file info is idle for a long time, exceed the given time period. The file info will be
evicted and closed. If the value is zero or negative, the file info is evicted only when opened files reached `openFileLimit`.
| |
| fileInfoFormatVersionToWrite | The fileinfo format version to write.
Available formats are 0-1:
0: Initial version
1: persisting explicitLac is introduced
By default, it is `1`. If you'd like to disable persisting ExplicitLac, you can set this config to 0 and also journalFormatVersionToWrite should be set to < 6. If there is mismatch then the serverconfig is considered invalid.
| 1 |
-| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficent when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
-| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain bettern performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
+| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficient when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
+| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain better performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
| numOfMemtableFlushThreads | When entryLogPerLedger is enabled SortedLedgerStorage flushes entries from memTable using OrderedExecutor having numOfMemtableFlushThreads number of threads.
| 8 |
@@ -215,7 +215,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
| dbStorage_writeCacheMaxSizeMb | Size of write cache. Memory is allocated from JVM direct memory. Write cache is used for buffer entries before flushing into the entry log. For good performance, it should be big enough to hold a substantial amount of entries in the flush interval. | 25% of the available direct memory |
-| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memroy |
+| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memory |
| dbStorage_readAheadCacheBatchSize | How many entries to pre-fill in cache after a read cache miss | 100 |
| dbStorage_rocksDB_blockSize | Size of RocksDB block-cache. RocksDB is used for storing ledger indexes.
For best performance, this cache should be big enough to hold a significant portion of the index database which can reach ~2GB in some cases.
| 268435456 |
| dbStorage_rocksDB_writeBufferSizeMB | Size of RocksDB write buffer. RocksDB is used for storing ledger indexes.
| 64 |
@@ -246,7 +246,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| zkTimeout | ZooKeeper client session timeout in milliseconds. Bookie server will exit if it received SESSION_EXPIRED because it was partitioned off from ZooKeeper for more than the session timeout JVM garbage collection, disk I/O will cause SESSION_EXPIRED. Increment this value could help avoiding this issue. | 10000 |
| zkRetryBackoffStartMs | The Zookeeper client backoff retry start time in millis. | 1000 |
| zkRetryBackoffMaxMs | The Zookeeper client backoff retry max time in millis. | 10000 |
-| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a postivie value. | |
+| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a positive value. | |
| zkEnableSecurity | Set ACLs on every node written on ZooKeeper, this way only allowed users will be able to read and write BookKeeper metadata stored on ZooKeeper. In order to make ACLs work you need to setup ZooKeeper JAAS authentication all the bookies and Client need to share the same user, and this is usually done using Kerberos authentication. See ZooKeeper documentation | false |
diff --git a/site3/website/versioned_docs/version-4.8.2/admin/geo-replication.md b/site3/website/versioned_docs/version-4.8.2/admin/geo-replication.md
index f0e58e71891..b29fa329130 100644
--- a/site3/website/versioned_docs/version-4.8.2/admin/geo-replication.md
+++ b/site3/website/versioned_docs/version-4.8.2/admin/geo-replication.md
@@ -17,6 +17,6 @@ Let's say that you want to set up geo-replication across clusters in regions A,
The crucial difference between using cluster-specific ZooKeeper and global ZooKeeper is that bookies is that you need to point all bookies to use the global ZooKeeper setup.
-## Region-aware placement polocy
+## Region-aware placement policy
## Autorecovery
diff --git a/site3/website/versioned_docs/version-4.8.2/api/ledger-adv-api.md b/site3/website/versioned_docs/version-4.8.2/api/ledger-adv-api.md
index ac11617dc54..875065d5192 100644
--- a/site3/website/versioned_docs/version-4.8.2/api/ledger-adv-api.md
+++ b/site3/website/versioned_docs/version-4.8.2/api/ledger-adv-api.md
@@ -15,7 +15,7 @@ It allows user passing in an `entryId` when adding an entry.
### Creating advanced ledgers
-Here's an exmaple:
+Here's an example:
```java
byte[] passwd = "some-passwd".getBytes();
@@ -61,7 +61,7 @@ LedgerHandleAdv handle = bkClient.createLedgerAdv(
> If a ledger already exists when users try to create an advanced ledger with same ledger id,
> a [LedgerExistsException]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/BKException.BKLedgerExistException.html) is thrown by the bookkeeper client.
-Creating advanced ledgers can be done throught a fluent API since 4.6.
+Creating advanced ledgers can be done through a fluent API since 4.6.
```java
BookKeeper bk = ...;
diff --git a/site3/website/versioned_docs/version-4.8.2/api/ledger-api.md b/site3/website/versioned_docs/version-4.8.2/api/ledger-api.md
index 9986ef57a0f..e8718711865 100644
--- a/site3/website/versioned_docs/version-4.8.2/api/ledger-api.md
+++ b/site3/website/versioned_docs/version-4.8.2/api/ledger-api.md
@@ -667,7 +667,7 @@ ReadHandle rh = bk.newOpenLedgerOp()
If you are opening a ledger in "Recovery" mode, it will basically fence and seal the ledger -- no more entries are allowed
to be appended to it. The writer which is currently appending entries to the ledger will fail with [`LedgerFencedException`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/api/BKException.Code#LedgerFencedException).
-In constrat, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
+In constraint, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
### Read entries from ledgers
diff --git a/site3/website/versioned_docs/version-4.8.2/api/overview.md b/site3/website/versioned_docs/version-4.8.2/api/overview.md
index a6c157c8611..cde21485e41 100644
--- a/site3/website/versioned_docs/version-4.8.2/api/overview.md
+++ b/site3/website/versioned_docs/version-4.8.2/api/overview.md
@@ -15,4 +15,4 @@ The `Ledger API` provides direct access to ledgers and thus enables you to use B
However, in most of use cases, if you want a `log stream`-like abstraction, it requires you to manage things like tracking list of ledgers,
managing rolling ledgers and data retention on your own. In such cases, you are recommended to use [DistributedLog API](distributedlog-api),
-with semantics resembling continous log streams from the standpoint of applications.
+with semantics resembling continuous log streams from the standpoint of applications.
diff --git a/site3/website/versioned_docs/version-4.8.2/development/protocol.md b/site3/website/versioned_docs/version-4.8.2/development/protocol.md
index 068d30a7fd7..fe25039acc9 100644
--- a/site3/website/versioned_docs/version-4.8.2/development/protocol.md
+++ b/site3/website/versioned_docs/version-4.8.2/development/protocol.md
@@ -21,7 +21,7 @@ A ledger's metadata contains the following:
Parameter | Name | Meaning
:---------|:-----|:-------
-Identifer | | A 64-bit integer, unique within the system
+Identifier | | A 64-bit integer, unique within the system
Ensemble size | **E** | The number of nodes the ledger is stored on
Write quorum size | **Qw** | The number of nodes each entry is written to. In effect, the max replication for the entry.
Ack quorum size | **Qa** | The number of nodes an entry must be acknowledged on. In effect, the minimum replication for the entry.
diff --git a/site3/website/versioned_docs/version-4.8.2/reference/config.md b/site3/website/versioned_docs/version-4.8.2/reference/config.md
index 16402eec418..8a054595486 100644
--- a/site3/website/versioned_docs/version-4.8.2/reference/config.md
+++ b/site3/website/versioned_docs/version-4.8.2/reference/config.md
@@ -188,7 +188,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
-| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
+| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partitions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
| diskUsageWarnThreshold | The disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases. | 0.95 |
| diskUsageLwmThreshold | Set the disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases.
| 0.9 |
| diskCheckInterval | Disk check interval in milliseconds. Interval to check the ledger dirs usage. | 10000 |
@@ -205,8 +205,8 @@ The table below lists parameters that you can set to configure bookies. All conf
| fileInfoCacheInitialCapacity | The minimum total size of the internal file info cache table. Providing a large enough estimate at construction time avoids the need for expensive resizing operations later,
but setting this value unnecessarily high wastes memory. The default value is `1/4` of `openFileLimit` if openFileLimit is positive, otherwise it is 64.
| |
| fileInfoMaxIdleTime | The max idle time allowed for an open file info existed in the file info cache. If the file info is idle for a long time, exceed the given time period. The file info will be
evicted and closed. If the value is zero or negative, the file info is evicted only when opened files reached `openFileLimit`.
| |
| fileInfoFormatVersionToWrite | The fileinfo format version to write.
Available formats are 0-1:
0: Initial version
1: persisting explicitLac is introduced
By default, it is `1`. If you'd like to disable persisting ExplicitLac, you can set this config to 0 and also journalFormatVersionToWrite should be set to < 6. If there is mismatch then the serverconfig is considered invalid.
| 1 |
-| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficent when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
-| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain bettern performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
+| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficient when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
+| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain better performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
| numOfMemtableFlushThreads | When entryLogPerLedger is enabled SortedLedgerStorage flushes entries from memTable using OrderedExecutor having numOfMemtableFlushThreads number of threads.
| 8 |
@@ -215,7 +215,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
| dbStorage_writeCacheMaxSizeMb | Size of write cache. Memory is allocated from JVM direct memory. Write cache is used for buffer entries before flushing into the entry log. For good performance, it should be big enough to hold a substantial amount of entries in the flush interval. | 25% of the available direct memory |
-| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memroy |
+| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memory |
| dbStorage_readAheadCacheBatchSize | How many entries to pre-fill in cache after a read cache miss | 100 |
| dbStorage_rocksDB_blockSize | Size of RocksDB block-cache. RocksDB is used for storing ledger indexes.
For best performance, this cache should be big enough to hold a significant portion of the index database which can reach ~2GB in some cases.
| 268435456 |
| dbStorage_rocksDB_writeBufferSizeMB | Size of RocksDB write buffer. RocksDB is used for storing ledger indexes.
| 64 |
@@ -246,7 +246,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| zkTimeout | ZooKeeper client session timeout in milliseconds. Bookie server will exit if it received SESSION_EXPIRED because it was partitioned off from ZooKeeper for more than the session timeout JVM garbage collection, disk I/O will cause SESSION_EXPIRED. Increment this value could help avoiding this issue. | 10000 |
| zkRetryBackoffStartMs | The Zookeeper client backoff retry start time in millis. | 1000 |
| zkRetryBackoffMaxMs | The Zookeeper client backoff retry max time in millis. | 10000 |
-| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a postivie value. | |
+| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a positive value. | |
| zkEnableSecurity | Set ACLs on every node written on ZooKeeper, this way only allowed users will be able to read and write BookKeeper metadata stored on ZooKeeper. In order to make ACLs work you need to setup ZooKeeper JAAS authentication all the bookies and Client need to share the same user, and this is usually done using Kerberos authentication. See ZooKeeper documentation | false |
diff --git a/site3/website/versioned_docs/version-4.9.2/admin/geo-replication.md b/site3/website/versioned_docs/version-4.9.2/admin/geo-replication.md
index f0e58e71891..b29fa329130 100644
--- a/site3/website/versioned_docs/version-4.9.2/admin/geo-replication.md
+++ b/site3/website/versioned_docs/version-4.9.2/admin/geo-replication.md
@@ -17,6 +17,6 @@ Let's say that you want to set up geo-replication across clusters in regions A,
The crucial difference between using cluster-specific ZooKeeper and global ZooKeeper is that bookies is that you need to point all bookies to use the global ZooKeeper setup.
-## Region-aware placement polocy
+## Region-aware placement policy
## Autorecovery
diff --git a/site3/website/versioned_docs/version-4.9.2/api/ledger-adv-api.md b/site3/website/versioned_docs/version-4.9.2/api/ledger-adv-api.md
index ac11617dc54..875065d5192 100644
--- a/site3/website/versioned_docs/version-4.9.2/api/ledger-adv-api.md
+++ b/site3/website/versioned_docs/version-4.9.2/api/ledger-adv-api.md
@@ -15,7 +15,7 @@ It allows user passing in an `entryId` when adding an entry.
### Creating advanced ledgers
-Here's an exmaple:
+Here's an example:
```java
byte[] passwd = "some-passwd".getBytes();
@@ -61,7 +61,7 @@ LedgerHandleAdv handle = bkClient.createLedgerAdv(
> If a ledger already exists when users try to create an advanced ledger with same ledger id,
> a [LedgerExistsException]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/BKException.BKLedgerExistException.html) is thrown by the bookkeeper client.
-Creating advanced ledgers can be done throught a fluent API since 4.6.
+Creating advanced ledgers can be done through a fluent API since 4.6.
```java
BookKeeper bk = ...;
diff --git a/site3/website/versioned_docs/version-4.9.2/api/ledger-api.md b/site3/website/versioned_docs/version-4.9.2/api/ledger-api.md
index 54ee28bf49b..457bf848456 100644
--- a/site3/website/versioned_docs/version-4.9.2/api/ledger-api.md
+++ b/site3/website/versioned_docs/version-4.9.2/api/ledger-api.md
@@ -667,7 +667,7 @@ ReadHandle rh = bk.newOpenLedgerOp()
If you are opening a ledger in "Recovery" mode, it will basically fence and seal the ledger -- no more entries are allowed
to be appended to it. The writer which is currently appending entries to the ledger will fail with [`LedgerFencedException`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/client/api/BKException.Code#LedgerFencedException).
-In constrat, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
+In constraint, opening a ledger in "NoRecovery" mode, it will not fence and seal the ledger. "NoRecovery" mode is usually used by applications to tailing-read from a ledger.
### Read entries from ledgers
diff --git a/site3/website/versioned_docs/version-4.9.2/api/overview.md b/site3/website/versioned_docs/version-4.9.2/api/overview.md
index a6c157c8611..cde21485e41 100644
--- a/site3/website/versioned_docs/version-4.9.2/api/overview.md
+++ b/site3/website/versioned_docs/version-4.9.2/api/overview.md
@@ -15,4 +15,4 @@ The `Ledger API` provides direct access to ledgers and thus enables you to use B
However, in most of use cases, if you want a `log stream`-like abstraction, it requires you to manage things like tracking list of ledgers,
managing rolling ledgers and data retention on your own. In such cases, you are recommended to use [DistributedLog API](distributedlog-api),
-with semantics resembling continous log streams from the standpoint of applications.
+with semantics resembling continuous log streams from the standpoint of applications.
diff --git a/site3/website/versioned_docs/version-4.9.2/development/protocol.md b/site3/website/versioned_docs/version-4.9.2/development/protocol.md
index 03d13f36fc4..327ec4c13a0 100644
--- a/site3/website/versioned_docs/version-4.9.2/development/protocol.md
+++ b/site3/website/versioned_docs/version-4.9.2/development/protocol.md
@@ -21,7 +21,7 @@ A ledger's metadata contains the following:
Parameter | Name | Meaning
:---------|:-----|:-------
-Identifer | | A 64-bit integer, unique within the system
+Identifier | | A 64-bit integer, unique within the system
Ensemble size | **E** | The number of nodes the ledger is stored on
Write quorum size | **Qw** | The number of nodes each entry is written to. In effect, the max replication for the entry.
Ack quorum size | **Qa** | The number of nodes an entry must be acknowledged on. In effect, the minimum replication for the entry.
diff --git a/site3/website/versioned_docs/version-4.9.2/getting-started/concepts.md b/site3/website/versioned_docs/version-4.9.2/getting-started/concepts.md
index 36b4c351444..b5494b2b1ba 100644
--- a/site3/website/versioned_docs/version-4.9.2/getting-started/concepts.md
+++ b/site3/website/versioned_docs/version-4.9.2/getting-started/concepts.md
@@ -193,7 +193,7 @@ For example, ledger 0000000001 is split into three parts, 00, 0000, and 00001, a
### Flat ledger manager
-> deprecated since 4.7.0, not recommand now.
+> deprecated since 4.7.0, not recommend now.
The *flat ledger manager*, implemented in the [`FlatLedgerManager`]({{ site.javadoc_base_url }}/org/apache/bookkeeper/meta/FlatLedgerManager.html) class, stores all ledgers' metadata in child nodes of a single ZooKeeper path. The flat ledger manager creates [sequential nodes](https://zookeeper.apache.org/doc/trunk/zookeeperProgrammers.html#Sequence+Nodes+--+Unique+Naming) to ensure the uniqueness of the ledger ID and prefixes all nodes with `L`. Bookie servers manage their own active ledgers in a hash map so that it's easy to find which ledgers have been deleted from ZooKeeper and then garbage collect them.
diff --git a/site3/website/versioned_docs/version-4.9.2/reference/config.md b/site3/website/versioned_docs/version-4.9.2/reference/config.md
index 971a7796f02..49de9fe91fd 100644
--- a/site3/website/versioned_docs/version-4.9.2/reference/config.md
+++ b/site3/website/versioned_docs/version-4.9.2/reference/config.md
@@ -188,7 +188,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
-| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
+| diskUsageThreshold | For each ledger dir, maximum disk space which can be used. Default is 0.95f. i.e. 95% of disk can be used at most after which nothing will be written to that partition. If all ledger dir partitions are full, then bookie will turn to readonly mode if 'readOnlyModeEnabled=true' is set, else it will shutdown. Valid values should be in between 0 and 1 (exclusive).
| 0.95 |
| diskUsageWarnThreshold | The disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases. | 0.95 |
| diskUsageLwmThreshold | Set the disk free space low water mark threshold. Disk is considered full when usage threshold is exceeded. Disk returns back to non-full state when usage is below low water mark threshold. This prevents it from going back and forth between these states frequently when concurrent writes and compaction are happening. This also prevent bookie from switching frequently between read-only and read-writes states in the same cases.
| 0.9 |
| diskCheckInterval | Disk check interval in milliseconds. Interval to check the ledger dirs usage. | 10000 |
@@ -205,8 +205,8 @@ The table below lists parameters that you can set to configure bookies. All conf
| fileInfoCacheInitialCapacity | The minimum total size of the internal file info cache table. Providing a large enough estimate at construction time avoids the need for expensive resizing operations later,
but setting this value unnecessarily high wastes memory. The default value is `1/4` of `openFileLimit` if openFileLimit is positive, otherwise it is 64.
| |
| fileInfoMaxIdleTime | The max idle time allowed for an open file info existed in the file info cache. If the file info is idle for a long time, exceed the given time period. The file info will be
evicted and closed. If the value is zero or negative, the file info is evicted only when opened files reached `openFileLimit`.
| |
| fileInfoFormatVersionToWrite | The fileinfo format version to write.
Available formats are 0-1:
0: Initial version
1: persisting explicitLac is introduced
By default, it is `1`. If you'd like to disable persisting ExplicitLac, you can set this config to 0 and also journalFormatVersionToWrite should be set to < 6. If there is mismatch then the serverconfig is considered invalid.
| 1 |
-| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficent when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
-| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain bettern performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
+| pageSize | Size of a index page in ledger cache, in bytes. A larger index page can improve performance writing page to disk, which is efficient when you have small number of ledgers and these ledgers have similar number of entries. If you have large number of ledgers and each ledger has fewer entries, smaller index page would improve memory usage.
| 8192 |
+| pageLimit | How many index pages provided in ledger cache. If number of index pages reaches this limitation, bookie server starts to swap some ledgers from memory to disk. You can increment this value when you found swap became more frequent. But make sure pageLimit*pageSize should not more than JVM max memory limitation, otherwise you would got OutOfMemoryException. In general, incrementing pageLimit, using smaller index page would gain better performance in lager number of ledgers with fewer entries case. If pageLimit is -1, bookie server will use 1/3 of JVM memory to compute the limitation of number of index pages.
| -1 |
| numOfMemtableFlushThreads | When entryLogPerLedger is enabled SortedLedgerStorage flushes entries from memTable using OrderedExecutor having numOfMemtableFlushThreads number of threads.
| 8 |
@@ -215,7 +215,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| Parameter | Description | Default
| --------- | ----------- | ------- |
| dbStorage_writeCacheMaxSizeMb | Size of write cache. Memory is allocated from JVM direct memory. Write cache is used for buffer entries before flushing into the entry log. For good performance, it should be big enough to hold a substantial amount of entries in the flush interval. | 25% of the available direct memory |
-| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memroy |
+| dbStorage_readAheadCacheMaxSizeMb | Size of read cache. Memory is allocated from JVM direct memory. The read cache is pre-filled doing read-ahead whenever a cache miss happens. | 25% of the available direct memory |
| dbStorage_readAheadCacheBatchSize | How many entries to pre-fill in cache after a read cache miss | 100 |
| dbStorage_rocksDB_blockSize | Size of RocksDB block-cache. RocksDB is used for storing ledger indexes.
For best performance, this cache should be big enough to hold a significant portion of the index database which can reach ~2GB in some cases.
| 268435456 |
| dbStorage_rocksDB_writeBufferSizeMB | Size of RocksDB write buffer. RocksDB is used for storing ledger indexes.
| 64 |
@@ -246,7 +246,7 @@ The table below lists parameters that you can set to configure bookies. All conf
| zkTimeout | ZooKeeper client session timeout in milliseconds. Bookie server will exit if it received SESSION_EXPIRED because it was partitioned off from ZooKeeper for more than the session timeout JVM garbage collection, disk I/O will cause SESSION_EXPIRED. Increment this value could help avoiding this issue. | 10000 |
| zkRetryBackoffStartMs | The Zookeeper client backoff retry start time in millis. | 1000 |
| zkRetryBackoffMaxMs | The Zookeeper client backoff retry max time in millis. | 10000 |
-| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a postivie value. | |
+| zkRequestRateLimit | The Zookeeper request limit. It is only enabled when setting a positive value. | |
| zkEnableSecurity | Set ACLs on every node written on ZooKeeper, this way only allowed users will be able to read and write BookKeeper metadata stored on ZooKeeper. In order to make ACLs work you need to setup ZooKeeper JAAS authentication all the bookies and Client need to share the same user, and this is usually done using Kerberos authentication. See ZooKeeper documentation | false |
diff --git a/stats/bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/package-info.java b/stats/bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/package-info.java
index 1afa43899af..5a4e5a8625f 100644
--- a/stats/bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/package-info.java
+++ b/stats/bookkeeper-stats-providers/codahale-metrics-provider/src/main/java/org/apache/bookkeeper/stats/codahale/package-info.java
@@ -15,6 +15,6 @@
* the License.
*/
/**
- * A lightweight stats library implemention based on Codahale metrics library.
+ * A lightweight stats library implementation based on Codahale metrics library.
*/
package org.apache.bookkeeper.stats.codahale;
diff --git a/stream/storage/impl/src/main/java/org/apache/bookkeeper/stream/storage/impl/metadata/package-info.java b/stream/storage/impl/src/main/java/org/apache/bookkeeper/stream/storage/impl/metadata/package-info.java
index 2a486edcc28..3eddeabdf81 100644
--- a/stream/storage/impl/src/main/java/org/apache/bookkeeper/stream/storage/impl/metadata/package-info.java
+++ b/stream/storage/impl/src/main/java/org/apache/bookkeeper/stream/storage/impl/metadata/package-info.java
@@ -17,6 +17,6 @@
*/
/**
- * Tne default implementation of metadata storage.
+ * The default implementation of metadata storage.
*/
package org.apache.bookkeeper.stream.storage.impl.metadata;