Skip to content

Commit

Permalink
docs: call out new rocksdb configurations (#2048)
Browse files Browse the repository at this point in the history
  • Loading branch information
pirtleshell authored Nov 4, 2024
1 parent f7379a6 commit 3aea49a
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions migrate/v0_26/iavl-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ storage footprint required for Kava nodes.
The first version of Kava using IAVL V1 is `v0.26.2-iavl-v1`. Future major versions will use IAVL V1
unless otherwise specified.

Steps for using IAVL V1:
## Configuration

> [!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 3aea49a

Please sign in to comment.