-
Notifications
You must be signed in to change notification settings - Fork 50
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
content-{sqlite,files,s3}: register backing store after registering services #4456
Comments
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Aug 1, 2022
Problem: In the content-sqlite, content-files, and content-s3 modules, the backing module is registered before setup of the service is complete. This can cause problems if the broker's content-cache wants to make calls into the module during registration time. Solution: Ensure that all setup is complete before registering the backing module. Update regression test which would fail with this change. Fixes flux-framework#4456
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Aug 1, 2022
Problem: In the content-sqlite, content-files, and content-s3 modules, the backing module is registered before setup of the service is complete. This can cause problems if the broker's content-cache wants to make calls into the module during registration time. Solution: Ensure that all setup is complete before registering the backing module. Update regression test which would fail with this change. Fixes flux-framework#4456
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Aug 1, 2022
Problem: In the content-sqlite, content-files, and content-s3 modules, the backing module is registered before setup of module services is complete. This can cause problems if the broker's content-cache wants to make calls into the module during registration time. Solution: Ensure that all setup is complete before registering the backing module. Update regression test which would fail with this change. Fixes flux-framework#4456
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Aug 8, 2022
Problem: In the content-sqlite, content-files, and content-s3 modules, the backing module is registered before setup of module services is complete. This can cause problems if the broker's content-cache wants to make calls into the module during registration time. Solution: Ensure that all setup is complete before registering the backing module. Update regression test which would fail with this change. Fixes flux-framework#4456
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While working on #4267, realized that ENOSYS errors encountered are due to the fact that the
content-{sqlite,files,s3}
modules all register themselves as backing stores BEFORE registering their services. This makes it so thatcache_flush()
and similar things in thecontent-cache
cannot work during the registration process.The calls should be reversed.
The issues targeted in PR #4380 were specifically different, but highly related to this issue.
The text was updated successfully, but these errors were encountered: