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

Fix glib assertions due to asynchronous metadata action completing after shutdown begins #3177

Merged
merged 4 commits into from
Aug 3, 2023

Conversation

kgaillot
Copy link
Contributor

@kgaillot kgaillot commented Aug 2, 2023

No description provided.

Normally, agent execution is not possible at shutdown. However, when metadata
is needed for some action, the agent can be called asynchronously, and when the
metadata action returns, the original action is performed. If the metadata is
initiated before shutdown, but completes after shutdown has begun, do not try
to attempt the original action, so we avoid unnecessary error logs.
It is NULL while draining the mainloop during the shutdown sequence.
@kgaillot
Copy link
Contributor Author

kgaillot commented Aug 2, 2023

@nrwahl2 , here's the log fix for review

@kgaillot kgaillot merged commit 4c50c6a into ClusterLabs:main Aug 3, 2023
1 check passed
@kgaillot kgaillot deleted the glib branch August 3, 2023 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants