Closed 985492783 closed 1 month ago
What?
after auto-compact, i rebot kine then take error = Failed to list / for revision 1928, because xxx was compact but when i change all key to "/" + key then take success
I don't know off the top of my head what the expected behavior is here. Do you see the same behavior from etcd when listing /
vs /key
for a compacted revision?
Kine implements only the bits of the etcd api that are required for compatibility with Kubernetes. Kubernetes uses the etcd v3 api, but for historical reasons, stores all data in keys that are compatible with the etcd v2 key format:
etcd uses a file-system-like structure to represent the key-value pairs, therefore all keys start with /.
So this is what kine expects, yes.
get
Whether key is necessary to use the format of the file directory for naming?