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

libkvs: add cache bypass option to kvs_checkpoint functions #4476

Closed
chu11 opened this issue Aug 8, 2022 · 0 comments · Fixed by #4477
Closed

libkvs: add cache bypass option to kvs_checkpoint functions #4476

chu11 opened this issue Aug 8, 2022 · 0 comments · Fixed by #4477
Assignees

Comments

@chu11
Copy link
Member

chu11 commented Aug 8, 2022

Per discussion in #4463, it would be nice to add a cache bypass option to the kvs_checkpoint functions. It can be used in dump/restore to go directly to the backing store as well.

chu11 added a commit to chu11/flux-core that referenced this issue Aug 8, 2022
Problem: The kvs_checkpoint functions checkpoing data to the backing
store through the broker's content-cache.  There is no way to
bypass the cache, similar to libcontent's CONTENT_FLAG_CACHE_BYPASS
flag.

Solution: Support a new KVS_CHECKPOINT_FLAG_CACHE_BYPASS, that will
get/put directly to the backing store.  The flag is very similar to
libcontent's CONTENT_FLAG_CACHE_BYPASS flag.

Fixes flux-framework#4476
chu11 added a commit to chu11/flux-core that referenced this issue Aug 8, 2022
Problem: The kvs_checkpoint functions checkpoint data to the backing
store through the broker's content-cache.  There is no way to
bypass the cache, similar to libcontent's CONTENT_FLAG_CACHE_BYPASS
flag.

Solution: Support a new KVS_CHECKPOINT_FLAG_CACHE_BYPASS, that will
get/put directly to the backing store.  The flag is very similar to
libcontent's CONTENT_FLAG_CACHE_BYPASS flag.

Fixes flux-framework#4476
@chu11 chu11 self-assigned this Aug 9, 2022
chu11 added a commit to chu11/flux-core that referenced this issue Aug 10, 2022
Problem: The kvs_checkpoint functions checkpoint data to the backing
store through the broker's content-cache.  There is no way to
bypass the cache, similar to libcontent's CONTENT_FLAG_CACHE_BYPASS
flag.

Solution: Support a new KVS_CHECKPOINT_FLAG_CACHE_BYPASS, that will
get/put directly to the backing store.  The flag is very similar to
libcontent's CONTENT_FLAG_CACHE_BYPASS flag.

Fixes flux-framework#4476
chu11 added a commit to chu11/flux-core that referenced this issue Aug 10, 2022
Problem: The kvs_checkpoint functions checkpoint data to the backing
store through the broker's content-cache.  There is no way to
bypass the cache, similar to libcontent's CONTENT_FLAG_CACHE_BYPASS
flag.

Solution: Support a new KVS_CHECKPOINT_FLAG_CACHE_BYPASS, that will
get/put directly to the backing store.  The flag is very similar to
libcontent's CONTENT_FLAG_CACHE_BYPASS flag.

Fixes flux-framework#4476
chu11 added a commit to chu11/flux-core that referenced this issue Aug 10, 2022
Problem: The kvs_checkpoint functions checkpoint data to the backing
store through the broker's content-cache.  There is no way to
bypass the cache, similar to libcontent's CONTENT_FLAG_CACHE_BYPASS
flag.

Solution: Support a new KVS_CHECKPOINT_FLAG_CACHE_BYPASS, that will
get/put directly to the backing store.  The flag is very similar to
libcontent's CONTENT_FLAG_CACHE_BYPASS flag.

Fixes flux-framework#4476
@mergify mergify bot closed this as completed in #4477 Aug 10, 2022
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 a pull request may close this issue.

1 participant