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

select count(*) table with tiflash replica fail, and report: ERROR 1105 (HY000): rpc error: code = Unavailable desc = error reading from server: EOF #36512

Closed
seiya-annie opened this issue Jul 25, 2022 · 4 comments
Assignees
Labels
component/tiflash severity/major sig/execution SIG execution type/bug The issue is confirmed as a bug.

Comments

@seiya-annie
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. install v5.1.4 tidb cluster
  2. init bank wkload in this cluster
  3. alter table bank.account SET TIFLASH REPLICA 1;
  4. upgrade tidb cluster to v6.2.0
  5. select count(*) from bank.account;

2. What did you expect to see? (Required)

no error

3. What did you see instead (Required)

mysql> select count(*) from bank.account;
ERROR 1105 (HY000): rpc error: code = Unavailable desc = error reading from server: EOF

2022-07-25 13:58:54 (GMT+8)TiDB tidb-peer:14000[mpp.go:352] ["cancel task error"] [error="rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 10.244.1.173:3930: connect: connection refused""] ["query id"=434825781735063553] ["on addr"=tiup-peer:3930]
mysql> exit

4. What is your TiDB version? (Required)

| Release Version: v6.2.0
Edition: Community
Git Commit Hash: 0ea937e
Git Branch: heads/refs/tags/v6.2.0
UTC Build Time: 2022-07-23 10:09:51
GoVersion: go1.18.2
Race Enabled: false
TiKV Min Version: 6.2.0-alpha
Check Table Before Drop: false
Store: tikv |

@seiya-annie seiya-annie added the type/bug The issue is confirmed as a bug. label Jul 25, 2022
@seiya-annie
Copy link
Author

tidb log:
tidb.log.gz

@ti-chi-bot ti-chi-bot added may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.0 may-affects-6.1 may-affects-6.2 labels Jul 25, 2022
@seiya-annie seiya-annie added affects-6.2 and removed may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-6.0 may-affects-6.1 may-affects-6.2 labels Jul 25, 2022
@guo-shaoge guo-shaoge self-assigned this Jul 25, 2022
@seiya-annie
Copy link
Author

tested with nightly(0724), this issue doesn't exist anymore

@guo-shaoge
Copy link
Collaborator

guo-shaoge commented Jul 25, 2022

Should also be fixed pingcap/tiflash#5461

@pingcap pingcap deleted a comment from seiya-annie Jul 25, 2022
@seiya-annie
Copy link
Author

fix by pingcap/tiflash#5459

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/tiflash severity/major sig/execution SIG execution type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

4 participants