-
Notifications
You must be signed in to change notification settings - Fork 51
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
kvs: remove dropcache #6622
base: master
Are you sure you want to change the base?
kvs: remove dropcache #6622
Conversation
Problem: KVS dropcache code was added very early on in KVS prototyping for testing. It is basically not used anymore. If we want to test something that requires a "clean" slate for the KVS, we can just start a new instance and test with that. Solution: Remove all KVS dropcache code. Remove all associated tests. Update one regression test to be accomplished through two instances rather than one to emulate an emptying of the cache. Fixes flux-framework#6608
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
one builder failed with
|
Problem: The kvs.dropcache RPC target no longer exists, yet the "flux kvs dropcache" command still exists. Remove "flux kvs dropcache" support.
Problem: The flux kvs dropcache command has been removed, but is still documented. Remove "dropcache" from flux-kvs(1).
Problem: The kvs.dropcache RPC target has been removed, but the library function flux_kvs_dropcache() still exists. Remove flux_kvs_dropcache() from libkvs.
Problem: The flux kvs dropcache command has been removed, but bash completions still exist for it. Remove bash completions for flux kvs dropcache.
Problem: The flux_kvs_dropcache() API function has been removed, but Python still has a binding to it. Remove the kvs dropcache() function.
OMG, I'm so stupid. I forgot that there was a |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6622 +/- ##
==========================================
- Coverage 83.86% 83.84% -0.02%
==========================================
Files 534 534
Lines 88358 88305 -53
==========================================
- Hits 74100 74043 -57
- Misses 14258 14262 +4
|
Problem: KVS dropcache code was added very early on in KVS prototyping for testing. It is basically not used anymore. If we want to test something that requires a "clean" slate for the KVS, we can just start a new instance and test with that.
Solution: Remove all KVS dropcache code. Remove all associated tests. Update one regression test to be accomplished through two instances rather than one to emulate an emptying of the cache.
Fixes #6608