-
Notifications
You must be signed in to change notification settings - Fork 5.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
Tidb-server is still up but don't work after down deploy disk #35007
Comments
This test was request by one import customer. |
@AstroProfundis @bb7133 PTAL |
What does the tidb log look like?
|
Maybe it's writing log, and the disk is not available ... then it hang there. |
Otherwise, what does the goroutine stack look like?
We can check the goroutine stack to see where it blocks. |
The block is caused by a mutex when the code access log writing So I don't think this is a bug of TiDB |
Bug Report
What did you do?
1、Deploy tidb in one nvme disk via tiup;
2、Down the nvme disk network (nvme over tcp, down the tcp network to down the nvme );
[root@172 hongm]# iptables -A INPUT -p tcp --dport 4420 -j DROP;env LANG=en_US.UTF-8 date;
Fri May 27 18:50:17 CST 2022
[root@172 hongm]# env LANG=en_US.UTF-8 date;ps -ef|grep tidb-server
Fri May 27 19:05:15 CST 2022
root 15872 15853 99 5月26 ? 2-15:42:38 /tidb-server --store=tikv --advertise-address=tc-tidb-0.tc-tidb-peer.glh-610-mjxt6.svc --host=0.0.0.0 --path=tc-pd:2379 --config=/etc/tidb/tidb.toml
tidb 26080 1 28 18:41 ? 00:06:40 bin/tidb-server -P 4000 --status=10080 --host=0.0.0.0 --advertise-address=172.16.6.34 --store=tikv --path=172.16.6.34:23791,172.16.6.34:23792,172.16.6.34:23793 --log-slow-query=/data/nvme2n1/tidb-deploy/tidb-4000/log/tidb_slow_query.log --config=conf/tidb.toml --log-file=/data/nvme2n1/tidb-deploy/tidb-4000/log/tidb.log
What did you expect to see?
Tidb instance should panic or work fine.
What did you see instead?
tidb-server instance still running but can't work.
4. What is your TiDB version? (Required)
5.2.4
The text was updated successfully, but these errors were encountered: