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
LevelDB compactions lead to unresponsive ABCI queries (staking, balances, etc.). When profiling, looks like a encoding/decoding and write/read syscalls take up most of the compaction time, and the compaction might be a blocking process.
Here you'll find the call graph with times attached (if a raw profile is needed, we can provide it.)
We used the following script to see when the requests fail. These timeouts coincide with LevelDB compaction and even when it finishes, the request times out. If you run a concurrent request after the compaction finishes (even with the timed out still hanging), it works. On timeout, the script fails, so it's easy to notice when the request is hanging.
this is being worked on from multiple fronts, there is currently a refactor going on in iavl to reduce compaction and with store v2 it would be reduced further. Closing this issue in favour of #10987
Summary of Bug
LevelDB compactions lead to unresponsive ABCI queries (staking, balances, etc.). When profiling, looks like a encoding/decoding and write/read syscalls take up most of the compaction time, and the compaction might be a blocking process.
Here you'll find the call graph with times attached (if a raw profile is needed, we can provide it.)
pprof001.pdf
Version
0.42.10
Steps to Reproduce
We used the following script to see when the requests fail. These timeouts coincide with LevelDB compaction and even when it finishes, the request times out. If you run a concurrent request after the compaction finishes (even with the timed out still hanging), it works. On timeout, the script fails, so it's easy to notice when the request is hanging.
For Admin Use
The text was updated successfully, but these errors were encountered: