-
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
automate KVS garbage collection #4311
Comments
This was referenced Jul 25, 2022
Couple of notes:
|
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Aug 30, 2022
Problem: KVS garbage collection is only done when an administrator runs flux-shutdown and chooses to garbage collect via the --dump or --gc options. Solution: Support a kvs gc-threshold configuration option. This configuration will take an integer count of KVS changes (the KVS version number or sequence number). Once the threshold has been crossed, flux-shutdown will ask the user if they wish to garbage collect. This offers an easy way for administrators to be reminded of garbage collection on a regular basis. Fixes flux-framework#4311
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Aug 30, 2022
Problem: KVS garbage collection is only done when an administrator runs flux-shutdown and chooses to garbage collect via the --dump or --gc options. Solution: Support a kvs gc-threshold configuration option. This configuration will take an integer count of KVS changes (the KVS version number or sequence number). Once the threshold has been crossed, flux-shutdown will ask the user if they wish to garbage collect. This offers an easy way for administrators to be reminded of garbage collection on a regular basis. Fixes flux-framework#4311
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Aug 30, 2022
Problem: KVS garbage collection is only done when an administrator runs flux-shutdown and chooses to garbage collect via the --dump or --gc options. Solution: Support a kvs gc-threshold configuration option. This configuration will take an integer count of KVS changes (the KVS version number or sequence number). Once the threshold has been crossed, flux-shutdown will ask the user if they wish to garbage collect. This offers an easy way for administrators to be reminded of garbage collection on a regular basis. Fixes flux-framework#4311
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Aug 30, 2022
Problem: KVS garbage collection is only done when an administrator runs flux-shutdown and chooses to garbage collect via the --dump or --gc options. Solution: Support a kvs gc-threshold configuration option. This configuration will take an integer count of KVS changes (the KVS version number or sequence number). Once the threshold has been crossed, flux-shutdown will ask the user if they wish to garbage collect. This offers an easy way for administrators to be reminded of garbage collection on a regular basis. Fixes flux-framework#4311
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Aug 30, 2022
Problem: KVS garbage collection is only done when an administrator runs flux-shutdown and chooses to garbage collect via the --dump or --gc options. Solution: Support a kvs gc-threshold configuration option. This configuration will take an integer count of KVS changes (the KVS version number or sequence number). Once the threshold has been crossed, flux-shutdown will ask the user if they wish to garbage collect. This offers an easy way for administrators to be reminded of garbage collection on a regular basis. Fixes flux-framework#4311
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Aug 31, 2022
Problem: KVS garbage collection is only done when an administrator runs flux-shutdown and chooses to garbage collect via the --dump or --gc options. Solution: Support a kvs gc-threshold configuration option. This configuration will take an integer count of KVS changes (the KVS version number or sequence number). Once the threshold has been crossed, flux-shutdown will ask the user if they wish to garbage collect. This offers an easy way for administrators to be reminded of garbage collection on a regular basis. Fixes flux-framework#4311
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Aug 31, 2022
Problem: KVS garbage collection is only done when an administrator runs flux-shutdown and chooses to garbage collect via the --dump or --gc options. Solution: Support a kvs gc-threshold configuration option. This configuration will take an integer count of KVS changes (the KVS version number or sequence number). Once the threshold has been crossed, flux-shutdown will ask the user if they wish to garbage collect. Additional options are added to specify yes/no if the user is scripting with flux-shutdown. This offers an easy way for administrators to be reminded of garbage collection on a regular basis. Fixes flux-framework#4311
chu11
added a commit
to chu11/flux-core
that referenced
this issue
Aug 31, 2022
Problem: KVS garbage collection is only done when an administrator runs flux-shutdown and chooses to garbage collect via the --dump or --gc options. Solution: Support a kvs gc-threshold configuration option. This configuration will take an integer count of KVS changes (the KVS version number or sequence number). Once the threshold has been crossed, flux-shutdown will ask the user if they wish to garbage collect. Additional options are added to specify yes/no if the user is scripting with flux-shutdown. This offers an easy way for administrators to be reminded of garbage collection on a regular basis. Fixes flux-framework#4311
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem: assuming #4303 is merged, we have a mechanism for offline KVS garbage collection that has to be manually invoked by running
flux shutdown --gc
. We need a way to trigger this automatically based on an estimate of how productive it would be.For example, maybe if
flux shutdown
is invoked without--gc
, and the KVS root sequence number is past some threshold, OR the number of jobs purged is beyond some threshold, garbage collection could be automatically selected. Possibly with a prompt e.g.The text was updated successfully, but these errors were encountered: