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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxOTcxODMsIm5iZiI6MTcxOTE5Njg4MywicGF0aCI6Ii80ODAzNzIzNS8yOTk4OTYwNzAtZTE0Yzk5ODEtNDBlNy00MDEyLTk3NmItMzMzMDMwZWM2YzQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI0VDAyNDEyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZhNDU4MTQwYmYwZjE2MDAwMDIxYjRjYTFjYzgyYjNiMzEyYzQ3ZDViMDYyNGVlOTRkMTljMWQ3M2NiMDAzMmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.FKb-p47UBPTMX2RoT-hchpJY0WxzDgf6zkN63xiIneg)
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