You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rocksdb: Force compact columns on after warp sync (#10495)
Recently we introduced a change that was always force compacting a
Rocksdb database when starting a node and after writing a lot of data.
We found out that force compacting a huge RocksDB of more than 600GB
takes quite some time (more than one hour) and this every time.
So, this pull request changes the compaction to only happen after warp
sync (and genesis) when we reset the state column to some given state.
This way we don't run it anymore on startup of the node and it should
fix the problems we have seen with archive nodes.
---------
Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
title: 'Rocksdb: Force compact columns on after warp sync'
2
+
doc:
3
+
- audience: Node Operator
4
+
description: |-
5
+
Recently we introduced a change that was always force compacting a Rocksdb database when starting a node and after writing a lot of data. We found out that force compacting a huge RocksDB of more than 600GB takes quite some time (more than one hour) and this every time.
6
+
7
+
So, this pull request changes the compaction to only happen after warp sync (and genesis) when we reset the state column to some given state. This way we don't run it anymore on startup of the node and it should fix the problems we have seen with archive nodes.
0 commit comments