Open lann opened 1 week ago
Thanks for raising this issue! I do want to revisit the list-keys
API design, and as far as I know there isn't really a host implementation that uses the cursor
field.
I know that list-keys
is a common API for keyvalue stores and particularly useful for debugging purposes and for small datasets. Moving it to another interface sounds like a good idea to me.
wanna hear your thoughts on this @thomastaylor312
I think we should consider moving
list-keys
into another/a new interface. Its doc comment already lists a number of caveats which reflect the underlying issue that this feature just isn't very portable.I think this comment even undersells the problem somewhat; some KV stores (memcached, at least) can't even guarantee that you will see a key that wasn't updated during iteration.