-
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
Manipulating Keys and Manipulating Users Concurrency Causes Segmentation Violation in Client #14764
Closed
Tracked by
#14750
Comments
Thanks @Magnitus- for reporting this issue. I reproduced it locally, and confirmed that it's a real issue. Will fix it in 3.5.6. |
ahrtr
added a commit
to ahrtr/etcd
that referenced
this issue
Nov 16, 2022
Refer to etcd-io#14764 Signed-off-by: Benjamin Wang <[email protected]>
ahrtr
added a commit
to ahrtr/etcd
that referenced
this issue
Nov 16, 2022
Refer to etcd-io#14764 Signed-off-by: Benjamin Wang <[email protected]>
ahrtr
added a commit
to ahrtr/etcd
that referenced
this issue
Nov 16, 2022
Refer to etcd-io#14764 Signed-off-by: Benjamin Wang <[email protected]>
ahrtr
added a commit
to ahrtr/etcd
that referenced
this issue
Nov 16, 2022
Refer to etcd-io#14764 Signed-off-by: Benjamin Wang <[email protected]>
ahrtr
added a commit
to ahrtr/etcd
that referenced
this issue
Nov 16, 2022
Refer to etcd-io#14764 Signed-off-by: Benjamin Wang <[email protected]>
ahrtr
added a commit
to ahrtr/etcd
that referenced
this issue
Nov 16, 2022
Refer to etcd-io#14764 Signed-off-by: Benjamin Wang <[email protected]>
Thanks :) |
ahrtr
added a commit
to ahrtr/etcd
that referenced
this issue
Nov 16, 2022
Refer to etcd-io#14764 Signed-off-by: Benjamin Wang <[email protected]>
etcd 3.4 is also affected, so I need to backport the fix to 3.4 as well. |
ahrtr
added a commit
to ahrtr/etcd
that referenced
this issue
Nov 17, 2022
Refer to etcd-io#14764 Signed-off-by: Benjamin Wang <[email protected]>
ahrtr
added a commit
to ahrtr/etcd
that referenced
this issue
Nov 17, 2022
Refer to etcd-io#14764 Signed-off-by: Benjamin Wang <[email protected]>
ahrtr
added a commit
to ahrtr/etcd
that referenced
this issue
Nov 17, 2022
Refer to etcd-io#14764 Signed-off-by: Benjamin Wang <[email protected]>
tjungblu
pushed a commit
to tjungblu/etcd
that referenced
this issue
Jul 26, 2023
Refer to etcd-io#14764 Signed-off-by: Benjamin Wang <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
I created a bunch of keys concurrently with goroutines. I created a bunch of users concurrency with goroutines in a separate process.
The process generating the keys aborted with this:
What did you expect to happen?
Ideally, I expected the client manipulating the keys (root user not impacted by the user manipulations) to handle the user changes gracefully.
However, I would have settled for getting an error in the
*clientv3.Client.Put
call return value without the panic.How can we reproduce it (as minimally and precisely as possible)?
Commands to launch etcd (assumes you have a localhost kubernetes not running in a vm):
churnKeys(cli, 1000, 10)
line and run:churnKeys(cli, 1000, 10)
line, uncomment thechurnUsers(cli, 1000, 10)
line and run:Anything else we need to know?
Interestingly, when the server was running 3.4, the client only produced a user error without the panic and segmentation violation. That started occurring once I switched the etcd server to 3.5.
Etcd version (please run commands below)
Etcd configuration (command line flags or environment variables)
paste your configuration here
Etcd debug information (please run commands blow, feel free to obfuscate the IP address or FQDN in the output)
Relevant log output
No response
The text was updated successfully, but these errors were encountered: