-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Creating key of v2 emulation is incompatible with v2 API #9609
Comments
I guess you had a directory at |
Hi, yudai-san :) No, the v2 API allows us to set the key even if the directory does not exist as shown above. But v2 emulation does not do that. When migrating from v2 API to use v2 emulation, should we change to use |
No, you should not. Probably you can help to fix the problem in etcd emulation layer instead. |
Sorry, it's my misunderstand. v2 doesn't require The cause is here: https://github.com/coreos/etcd/blob/master/etcdserver/api/v2v3/store.go#L147 I'll send a PR to fix this. |
I found Watch of v2v3 is also somewhat broken on the master. |
Thank you for the support! |
We found the incompatibility of creating key with v2 emulation. The details are as follows:
Is this the intended behavior? If this is the intended, we will need to modify the client even if we use v2 emulation.
The text was updated successfully, but these errors were encountered: