-
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
Consider merging 478ba2c (#8306) into release-3.2 #8406
Comments
@zhaoyao is there a simple way to reproduce this? That patch shouldn't have changed any error behavior. |
Yes, i can always reproduce in my env. Below is steps.
$ export ETCDCTL_API=3
$ echo root | etcdctl user add root --interactive=false
$ etcdctl auth enable
here is my output: panic: rpc error: code = Unknown desc = auth: revision in header is old
goroutine 39 [running]:
main.test(0xc420098f20, 0xc42019e180, 0x1)
***/main.go:46 +0x815
created by main.main
***/main.go:67 +0x213
panic: rpc error: code = Unknown desc = auth: revision in header is old
goroutine 45 [running]:
main.test(0xc420098f20, 0xc42019e180, 0x7)
***/main.go:46 +0x815
created by main.main
***/main.go:67 +0x213
exit status 2 I have tested in both master and release-3.2 branch master works fine
but release-3.2 will panic
|
The reason why I think #8306 fixes this issue is that pr checks |
OK, this can be backported once there's a test case for CI |
Sometimes we got etcd error:
rpc error: code = Unknown desc = auth: revision in header is old
#8306 fixes this issue in master which does not appear in release-3.2.
The text was updated successfully, but these errors were encountered: