-
Notifications
You must be signed in to change notification settings - Fork 2k
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
keyring: remove root key GC #15034
keyring: remove root key GC #15034
Conversation
96850fb
to
04c53bc
Compare
@@ -200,15 +200,11 @@ server { | |||
rejoin the cluster. | |||
|
|||
- `root_key_gc_interval` `(string: "10m")` - Specifies the interval between |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: I'm intentionally leaving the name here because we'll want to use this interval for GC once we circle back to it, and I don't want to have to add a new interval for that too. Same applies to the name of the core job emitted by the leader.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
While trying to repro #14981 I discovered that the approach we're using to GC keys by timeboxing them based on allocation
CreateIndex
simply won't work. Allocations would need to have a reference to the key ID that signed their WI. The current check we have is based on allocation index but it's bugged: we can only GC inactive keys newer than the newest allocation, which is useless.We only rotate keys every 30d by default, so remove the key GC for now until we can come up with a better long-term fix for this problem.