Skip to content
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

[cinder] Clean out old agents #345

Open
fwiesel opened this issue Jul 18, 2018 · 0 comments
Open

[cinder] Clean out old agents #345

fwiesel opened this issue Jul 18, 2018 · 0 comments

Comments

@fwiesel
Copy link
Member

fwiesel commented Jul 18, 2018

The migration strategy negotiates the oldest version over all agents.
Having old agents from prior deployments breaks that, as they never renegotiate their version and will never update it.

One way to proceed would be by time:
delete from services where updated_at is null or updated_at < now() - interval '15 minutes';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant