-
Notifications
You must be signed in to change notification settings - Fork 367
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
KVStore
: Add the capability to list
namespaces
#3387
Comments
Problem with
|
Potentially, yes, but our migration logic might not be aware of all the namespaces.
Huh? That can't be a requirement as the namespaces have been explicitly introduced to allow for dynamic namespaces in
I guess at this point we have pretty clear picture of the currently deployed
Yes, this is exactly what we try to do here, no?
Right, that means that the implementation would need to iterate over all partitions? Same goes for a file store backend for example? I'm not sure I'm following what the problem is exactly?
What do you mean with "make secondary_namespace optional"?
I think you're losing me here, what exactly is your proposal and what is it solving?
How would prefix matching be any more efficient here? I think all (?) the most common backends would still need to do this by iterating over all keys and filtering? |
We previously discussed this in the original
KVStore
PR, but ended up not including it there:We should add the capability to
list
primary and secondary namespaces to theKVStore
trait. This would allow users to explore all stored keys based on trait methods only, which would be a prerequisite for writing generalized migration logic betweenKVStore
implementations.Tagging this 0.1 as a user indicated a need for such migration logic.
The text was updated successfully, but these errors were encountered: