-
Notifications
You must be signed in to change notification settings - Fork 729
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
The timeout value for TSO stream inaccurate #5207
Labels
affects-5.0
affects-5.1
affects-5.2
affects-5.3
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.1
This bug affects the 6.1.x(LTS) versions.
severity/moderate
type/bug
The issue is confirmed as a bug.
Comments
/severity moderate |
We found this issue could cause tidb qps to drop zero for too long (v4.x 14s vs v6.x 18s),May need to escalate the priority to fix as soon as possible. |
ptal @CabinfeverB |
ti-chi-bot
added a commit
that referenced
this issue
Oct 10, 2022
close #5207 fix Stream timeout logic Signed-off-by: Cabinfever_B <cabinfeveroier@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
This was referenced Oct 10, 2022
ti-chi-bot
pushed a commit
to ti-chi-bot/pd
that referenced
this issue
Oct 10, 2022
close tikv#5207 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot
pushed a commit
to ti-chi-bot/pd
that referenced
this issue
Oct 10, 2022
close tikv#5207 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
This was referenced Oct 10, 2022
ti-chi-bot
pushed a commit
to ti-chi-bot/pd
that referenced
this issue
Oct 10, 2022
close tikv#5207 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot
pushed a commit
to ti-chi-bot/pd
that referenced
this issue
Oct 10, 2022
close tikv#5207 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot
pushed a commit
to ti-chi-bot/pd
that referenced
this issue
Oct 10, 2022
close tikv#5207 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot
pushed a commit
to ti-chi-bot/pd
that referenced
this issue
Oct 10, 2022
close tikv#5207 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
9 tasks
ti-chi-bot
pushed a commit
to pingcap/tidb
that referenced
this issue
Oct 12, 2022
ti-chi-bot
pushed a commit
to ti-chi-bot/pd
that referenced
this issue
Oct 13, 2022
close tikv#5207 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
14 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-5.0
affects-5.1
affects-5.2
affects-5.3
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.1
This bug affects the 6.1.x(LTS) versions.
severity/moderate
type/bug
The issue is confirmed as a bug.
Bug Report
pd/client/client.go
Lines 784 to 822 in f04b89e
See the link above, the
retryTimeConsuming
will increase 1s for every loop which is inaccurate. Because theupdateConnectionCtxs
function will take up to 5s when network unreachable. The[pd] tso stream is not ready
log appears every 6 seconds and update leader every 4 * 6 = 24s.The text was updated successfully, but these errors were encountered: