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

Shutdown: Rule manager needs to wait for another rule evaluation cycle to shutdown #1307

Closed
beorn7 opened this Issue Jan 11, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@beorn7
Copy link
Member

beorn7 commented Jan 11, 2016

I assume this is a regression from the recent rule manager startup changes. Stopping the rule manager lasts ~one rule evaluation cycle.

INFO[0001] See you next time!                            source=main.go:185
INFO[0001] Stopping target manager...                    source=targetmanager.go:203
INFO[0001] Target manager stopped.                       source=targetmanager.go:216
INFO[0001] Stopping notification handler...              source=notification.go:274
INFO[0001] Stopping rule manager...                      source=manager.go:357
[ ... very long wait time ... ] 
INFO[0001] Rule manager stopped.                         source=manager.go:363
INFO[0001] Stopping local storage...                     source=storage.go:289
INFO[0001] Stopping maintenance loop...                  source=storage.go:291
INFO[0001] Maintenance loop stopped.                     source=storage.go:873
INFO[0001] Stopping chunk eviction...                    source=storage.go:295
INFO[0001] Chunk eviction stopped.                       source=storage.go:693
INFO[0001] Checkpointing in-memory metrics and chunks...  source=persistence.go:546
INFO[0001] Done checkpointing in-memory metrics and chunks in 16.259922ms.  source=persistence.go:570
INFO[0001] Local storage stopped.                        source=storage.go:307

@beorn7 beorn7 added the bug label Jan 11, 2016

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented Jan 11, 2016

The rule manager termination has not really changed and I cannot reproduce this.
Please check the conditions of your setup again so we I can reproduce.

I accidentally used my demo configuration last night with a vert short evaluation interval – checking again.

@fabxc fabxc closed this in 6eee86d Jan 12, 2016

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.