Skip to content

Commit 0d12ef5

Browse files
authored
Release notes for startup option to perform full RocksDB compaction on upgrade (#761)
1 parent dc96188 commit 0d12ef5

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

site/content/3.12/release-notes/version-3.12/whats-new-in-3-12.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,6 +1736,22 @@ service interruption during upgrades and after failovers.
17361736
The new `--server.maximal-number-sync-shard-actions` startup option controls
17371737
how many `SynchronizeShard` actions can be queued at any given time.
17381738

1739+
### Full RocksDB compaction on upgrade
1740+
1741+
<small>Introduced in: v3.12.5-2</small>
1742+
1743+
A new `--database.auto-upgrade-full-compaction` startup option has been added
1744+
that you can use together with `--database.auto-upgrade` for upgrading.
1745+
1746+
With the new option enabled, the server will perform a full RocksDB compaction
1747+
after the database upgrade has completed successfully but before shutting down.
1748+
This performs a complete compaction of all column families with the `changeLevel`
1749+
and `compactBottomMostLevel` options enabled, which can help optimize the
1750+
database files after an upgrade.
1751+
1752+
The server process terminates with the new exit code 30
1753+
(`EXIT_FULL_COMPACTION_FAILED`) if the compaction fails.
1754+
17391755
## Miscellaneous changes
17401756

17411757
### V8 and ICU library upgrades

site/content/3.13/release-notes/version-3.12/whats-new-in-3-12.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,6 +1736,22 @@ service interruption during upgrades and after failovers.
17361736
The new `--server.maximal-number-sync-shard-actions` startup option controls
17371737
how many `SynchronizeShard` actions can be queued at any given time.
17381738

1739+
### Full RocksDB compaction on upgrade
1740+
1741+
<small>Introduced in: v3.12.5-2</small>
1742+
1743+
A new `--database.auto-upgrade-full-compaction` startup option has been added
1744+
that you can use together with `--database.auto-upgrade` for upgrading.
1745+
1746+
With the new option enabled, the server will perform a full RocksDB compaction
1747+
after the database upgrade has completed successfully but before shutting down.
1748+
This performs a complete compaction of all column families with the `changeLevel`
1749+
and `compactBottomMostLevel` options enabled, which can help optimize the
1750+
database files after an upgrade.
1751+
1752+
The server process terminates with the new exit code 30
1753+
(`EXIT_FULL_COMPACTION_FAILED`) if the compaction fails.
1754+
17391755
## Miscellaneous changes
17401756

17411757
### V8 and ICU library upgrades

0 commit comments

Comments
 (0)