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

TiFlash crash randomly after cluster restart when TLS is enabled #4196

Closed
guo-shaoge opened this issue Mar 8, 2022 · 6 comments
Closed

TiFlash crash randomly after cluster restart when TLS is enabled #4196

guo-shaoge opened this issue Mar 8, 2022 · 6 comments

Comments

@guo-shaoge
Copy link
Contributor

guo-shaoge commented Mar 8, 2022

Bug Report

Looks very like: grpc/grpc#23144

1. Minimal reproduce step (Required)

  1. start a cluster of v5.4.0 and enable TLS, there should be multiple tiflash nodes(the more the better)
  2. load tpch100/20
  3. run query like select count(*) from (select count(*) from lineitem group by l_orderkey, l_suppkey)d;
  4. restart cluster

repeat step 3 and step 4 multiple time, TiFlash will crash

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

run normally

3. What did you see instead (Required)

TiFlash will crash

4. What is your TiFlash version? (Required)

v5.4.0

@LittleFall
Copy link
Contributor

the root cause may be the compatible issue of grpc and system openssl. To fix it, we will cherry-pick the new build process to 5.x.

@LittleFall
Copy link
Contributor

I will do the cherry-pick of 5.0/5.1/5.2/5.3

@zanmato1984
Copy link
Contributor

Thanks for the great work of @s3nt3, the root cause has been confirmed to be the openssl error stack issue.

Grpc has fixed this issue in grpc/grpc#26834, v1.41.0.

@VelocityLight
Copy link

update

@zanmato1984
Copy link
Contributor

update

@zanmato1984
Copy link
Contributor

All PR merged to affected branches. Closing.

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

No branches or pull requests

9 participants