-
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
kvs: improve API for namespaces #1435
Comments
Generally speaking, I like the idea of removing FLUX_KVS_NAMESPACE if its truly not needed. I think it can get tricky with the prioritization of namespace specifications (i.e. |
Let's see how #1460 shakes out and decide which needs to go, the environment variable or The advantage of an environment variable is we can set it for a job and then the user can run I'm not sure I like the |
Was thinking about this issue given prototyping in #1860.
If we were a user implementing |
closing this as solved via #1977 |
Now that we have the
ns:NAMESPACE/
prefix for keys as well asflux_kvs_set_namespace()
, do we need to support theFLUX_KVS_NAMESPACE
environment variable?(This was briefly noted in #1432)
After #1429 wreck sets FLUX_JOB_KVSPATH for sub-jobs. It seems like a utility, like the job shell, meant to operate on the per-job namespace. would read this and call
flux_kvs_set_namespace()
during its initialization? In the new execution system I was envisioning that FLUX_KVS_NAMESPACE would become something likens:job-42/.
or similar.Just asking the question whether we need to continue supporting a special environment variable for the namespace.
In fact, maybe we should replace
flux_kvs_set_namespace()
wtihflux_kvs_chdir()
or similar, to set a default key prefix that could optionally include both a namespace and a key part?The text was updated successfully, but these errors were encountered: