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

publish timeout #19117

Open
4 tasks done
ws-weisb opened this issue Dec 30, 2024 · 0 comments
Open
4 tasks done

publish timeout #19117

ws-weisb opened this issue Dec 30, 2024 · 0 comments
Labels

Comments

@ws-weisb
Copy link

ws-weisb commented Dec 30, 2024

Bug report criteria

What happened?

启动单台etcd server 发现服务不可用 重启后 还是不行
image

What did you expect to happen?

正常运行

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

https://github.com/ws-weisb/tmp/blob/main/etcd.zip
解压附件 其中data.tar.gz为data-dir etcd.yaml为config-file

本机hosts加入 127.0.0.1 n1.wolf.3g
解压data.tar.gz复制etcd.bak 到 /tmp/etcd.store
./etcd --config-file ./etcd.yaml

Anything else we need to know?

清理data-dir后 反复尝试也再没有复现, 已经尝试过不同个数得节点得集群 都是正常得 仅出现了一次单机不正常得情况。

这边尝试debug了一下 日志中不存任何voters 也就是voters=()
image

解析data-dir后 不存在snap, wal解析后也没有任何得entry, commited及apply index都为0
条件不满足 一直没有触发raft tick选举, leader没有产生 导致propc chan 一直为nil
publish发送得消息一直阻塞在chan没有被消费 最终超时
没有发现其他得地方再次发起ConfChangeAddNode

Etcd version (please run commands below)

$ etcd --version
3.5.16

$ etcdctl version
# paste output here

Etcd configuration (command line flags or environment variables)

在附件中

Etcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)

$ etcdctl member list -w table
超时

$ etcdctl --endpoints=<member list> endpoint status -w table
超时

Relevant log output

日志是私有得 不能发出来
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

1 participant