Compaction is taking longer time to complete(~2minutes) #17430
Unanswered
rajanarayanaa
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @rajanarayanaa - Thanks for your question. Can you please confirm which version of etcd you are running? Can you also please provide the configuration settings you are using for etcd compaction along with some context on the scale of your etcd cluster data? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On my ETCD setup in a k8s cluster, I'm observing that the compaction is taking longer time to complete. Adding the following log.
The RTT b/w nodes is around 100ms, disk latency is around 50ms, which is an induced latency to simulate certain environments. This happens when the node is a leader node. When it changes to follower, the compaction time drops to 1-2ms
2024-02-15 01:34:27.483165 I | mvcc: finished scheduled compaction at 17374725 (took 2m1.458949288s)
Can someone please guide me on how to debug the setup to identify reasons for such a high delay? Normally I see the compaction operation gets completed within 1-2ms.
Beta Was this translation helpful? Give feedback.
All reactions