Skip to content
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

campagin maybe stuck, when send SIGSTOP to etcd server leader #14641

Closed
zeminzhou opened this issue Oct 28, 2022 · 5 comments
Closed

campagin maybe stuck, when send SIGSTOP to etcd server leader #14641

zeminzhou opened this issue Oct 28, 2022 · 5 comments
Labels

Comments

@zeminzhou
Copy link

What happened?

campagin maybe stuck, when send SIGSTOP to etcd server leader

What did you expect to happen?

campagin should return

How can we reproduce it (as minimally and precisely as possible)?

  1. startup 3 etcd servers
  2. startup process to run 2 etcd client to campagin
  3. send SIGSTOP(kill -19) to etcd servers' leader
  4. the proecss which is not leader will stuck(If not, repeat step 3)

Anything else we need to know?

Wather https://github.com/etcd-io/etcd/blob/main/client/v3/watch.go#L53 &&
Issue #8980

Etcd version (please run commands below)

$ etcd --version
v3.5.2

$ etcdctl version
# paste output here

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)

$ etcdctl member list -w table
# paste output here

$ etcdctl --endpoints=<member list> endpoint status -w table
# paste output here

Relevant log output

No response

@ahrtr
Copy link
Member

ahrtr commented Oct 28, 2022

This might be expected behavior. When you start the etcdserver again, can the client continue to work?

@ahrtr
Copy link
Member

ahrtr commented Oct 28, 2022

Duplicate to #14631

@ahrtr ahrtr closed this as completed Oct 28, 2022
@zeminzhou
Copy link
Author

This might be expected behavior. When you start the etcdserver again, can the client continue to work?

Yesh, when I start etcdserver again, the client will continue to work.

@zeminzhou
Copy link
Author

zeminzhou commented Oct 28, 2022

This might be expected behavior. When you start the etcdserver again, can the client continue to work?

Is this as expected? I think campagin should return

@zeminzhou
Copy link
Author

This might be expected behavior. When you start the etcdserver again, can the client continue to work?

And I don't think this is a expected behavior. Because campagin can't return even if cancel is called or timeout when etcd server leader was SIGSTOP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants