log-backup: the subscription conntion may be create too many times when TiKV node restarts too fast #39688
Labels
affects-6.5
This bug affects the 6.5.x(LTS) versions.
severity/moderate
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Change the code via the diff:
This is a reasonable change because in real-world clusters, once the context for the server streaming canceled, gRPC yields this error instead of plain
context.Canceled
.Then run the test
TestHasFailureStores
.2. What did you expect to see? (Required)
The test passes.
3. What did you see instead (Required)
The test failed.
4. What is your TiDB version? (Required)
Current master.
The text was updated successfully, but these errors were encountered: