Replies: 2 comments
-
Its my fault, etcd version has clarify the issue very clearly |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello, I have a confusion about the config auto-compaction-mode
as the official doc say as below:
and as the official doc Configuration options:
![image](https://private-user-images.githubusercontent.com/48037235/299896070-e14c9981-40e7-4012-976b-333030ec6c42.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4MTc1MjMsIm5iZiI6MTczOTgxNzIyMywicGF0aCI6Ii80ODAzNzIzNS8yOTk4OTYwNzAtZTE0Yzk5ODEtNDBlNy00MDEyLTk3NmItMzMzMDMwZWM2YzQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE3VDE4MzM0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMxZTgwNDdlMDQxYmIwMzVlNGZhNjFiNDNhMzUzM2E5ZGYzZjM5NmRjZDA1ZjFiNWY4NmNmODIzMTA5MGM2MGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.g_MgxWI-YgoT64JKsCuwlNv2VBWANMX89alRLX89K8c)
my etcd server version is 3.5.0
my etcd server config for compact is below:
--auto-compaction-retention 1
and I don't set the config --auto-compaction-mode
I want to know, if I don't set --auto-compaction-mode in my etcd config, if it don't has a default value, because I find in my test,
after 6min (6m is 1/10 of 1h), the past revision is still exist, it didn't compact
if the --auto-compaction-mode default value is periodic , I think it should compact past revision in every 6min. but the result is not
so the conclusion, If I don't set the --auto-compaction-mode, the compact strategy is only determined by --auto-compaction-retention 1
is it right?
Beta Was this translation helpful? Give feedback.
All reactions