Skip to content

Fixes hang introduced by logging in sp_init(). #80

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

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

rountree
Copy link

Logging initialization relies on environment variables, and some of those variables originate in the flux shell. Initiali- zation prior to those values being transferred can result in a hang.

This PR moves the transfer code into flux_plugin_init(), which is the first spindle-provided callback to be executed.

Passes all runTests on Tuolumne.

Fixes #79

Logging initialization relies on environment variables, and
some of those variables originate in the flux shell.  Initiali-
zation prior to those values being transferred can result in a
hang.

This PR moves the transfer code into flux_plugin_init(), which is
the first spindle-provided callback to be executed.

Passes all runTests on Tuolumne.
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

Successfully merging this pull request may close these issues.

Logging early in sp_init() causes hang.
2 participants