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

TiProxy keeps session migration when its network is unstable #366

Open
djshow832 opened this issue Sep 11, 2023 · 0 comments
Open

TiProxy keeps session migration when its network is unstable #366

djshow832 opened this issue Sep 11, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@djshow832
Copy link
Collaborator

Development Task

If the network of TiProxy itself is unstable, the health check of all TiDB instances will also be unstable.

  • It thinks tidb-0 is unavailable due to ping timeout, and migrates the sessions from tidb-0 to tidb-1
  • After 10 seconds, it thinks tidb-0 is available again and thinks tidb-1 is unavailable, then it migrates sessions back

If TiProxy keeps migration, the performance will be degraded even worse.

@djshow832 djshow832 added the enhancement New feature or request label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant