-
Notifications
You must be signed in to change notification settings - Fork 10k
default value of auto-compaction in 3.2.x #9456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
HI @shsjshentao which document are you referring to? |
How do you know? Do you have server logs? |
I think it's due to #9443. |
Not to hijack the issue but I do see this constant. How does this fit into the picture? I guess every 5 mins would cause timeout/compact @yudai ? |
The value @hexfusion pointed out is used here to set timeout in the loop: and as mentioned in #9443, Eventually, every 5 minutes, auto compaction happens without checking the last execution time. |
@shsjshentao after @yudai explanation I feel this is a duplicate of #9443. Please track this issue for updates. |
@shsjshentao If you set auto compaction 0, compactor wouldn't even run. What's the server log? |
Oh that's true. I think I jumped into a wrong way. Sorry for that. What I came up with 5 minutes around compactor is |
In document, i find the default value of auto-compaction is 0. It seems to mean no compact.
But in fact, i find etcd will compact every 5 minutes if i do not set this flag.
Is it a bug in 3.2?
Is it related to #8098?
The text was updated successfully, but these errors were encountered: