Skip to content

Commit

Permalink
docs: call out new rocksdb configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
pirtleshell committed Nov 4, 2024
1 parent f7379a6 commit 802d20a
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions migrate/v0_26/iavl-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ unless otherwise specified.

Steps for using IAVL V1:

> [!IMPORTANT]
> [!IMPORTANT]
> Nodes running IAVL V1 should set `iavl-disable-fastnode = true` in their `app.toml` file.
**For `goleveldb` nodes:**
## `goleveldb` nodes
1. Replace or recreate your node data with IAVL V1: see [Data](#data).
2. Install an IAVL V1 binary:
```sh
Expand All @@ -21,7 +21,18 @@ make install
```
1. Start kava as usual: `kava start`

**For `rocksdb` nodes:**
## `rocksdb` nodes

> [!TIP]
> Since v0.26.2, databases are opened with [opendb](https://github.com/Kava-Labs/opendb/) which
> makes rocksdb more configurable. For best memory performance, node operators are encouraged to add
> these settings to their `app.toml` when running with `db_backend = rocksdb`:
> ```toml
> [rocksdb]
> max_open_files = 16384 # increase default max # of open files from 4096
> block_size = 16384 # decreases block index memory by 4x!
> ```
1. Replace or recreate your node data with IAVL V1: see [Data](#data).
2. Update your default memory allocator: see [default memory allocator](#default-memory-allocator)
3. Install an IAVL V1 binary:
Expand Down

0 comments on commit 802d20a

Please sign in to comment.