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
broker: content.flush does not force flush #4378
Comments
chu11
changed the title
broker: content.flush does not flush
broker: content.flush does not force flush
Jun 21, 2022
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Jun 21, 2022
Problem: The content.flush target does not actually flush the cache. It only waits for current flushes to complete. This goes against documentation and can lead to issues when a cache flush has not yet initiated. Solution: Call cache_flush() from within content_flush_request(). Fixes flux-framework#4378
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Jun 21, 2022
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Jun 21, 2022
Problem: The content.flush target does not actually flush the cache. It only waits for current flushes to complete. This goes against documentation and can lead to issues when a cache flush has not yet initiated. Solution: Call cache_flush() from within content_flush_request(). Fixes flux-framework#4378
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Jun 21, 2022
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Jun 21, 2022
Problem: The content.flush target does not actually flush the cache. It only waits for current flushes to complete. This goes against documentation and can lead to issues when a cache flush has not been initiated. Solution: Call cache_flush() from within content_flush_request(). Fixes flux-framework#4378
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Jun 21, 2022
Problem: No tests in the testsuite ensure that content flush is forced after `flux content flush` nor that any dirty cache entries are flushed after a content backing module is loaded. (Issues flux-framework#4378 and flux-framework#4379) Add regression tests for these specific issues.
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Jun 22, 2022
Problem: No tests in the testsuite ensure that content flush is forced after `flux content flush` nor that any dirty cache entries are flushed after a content backing module is loaded. (Issues flux-framework#4378 and flux-framework#4379) Add regression tests for these specific issues.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While working on #4375 / #4376, it was determined that
content.flush
does not actually flush the cache. It only waits if any flushes are correctly ongoing to finish.This is probably not what is desired, leads to issues, and runs counter to documentation of
flux content flush
.
The text was updated successfully, but these errors were encountered: