KEMBAR78
Expire cluster_alias entries by shlomi-noach · Pull Request #1246 · openark/orchestrator · GitHub
Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Conversation

@shlomi-noach
Copy link
Collaborator

Fixes #1245

This PR expires cluster_alias entries, based on UnseenInstanceForgetHours, same as database_instance entries are expired.

The effect is that orchestrator properly forgets aliases for clusters that have no instances (ie. created long ago, but which have probably been decomissioned, seeing that there's no instances that associate themselves with said alias).

cc @tomkrouper

Copy link
Collaborator

@tomkrouper tomkrouper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much. Looks good.

@shlomi-noach shlomi-noach merged commit 00d9f7f into master Sep 29, 2020
@shlomi-noach shlomi-noach deleted the expire-clustr-alias branch September 29, 2020 16:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Old clusters don't error out on web interface (/web/cluster/alias/<cluster>)

2 participants