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

kv(ticdc): Remove store connect backoff #9740

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

sdojjy
Copy link
Member

@sdojjy sdojjy commented Sep 13, 2023

What problem does this PR solve?

Issue Number: close #9741

What is changed and how it works?

remove the kv connect backoff logic by default.
6 tikv nodes with about 20k regions, the LAG before this PR is about 6min

img_v2_4ce5efbf-5a1a-4907-89fb-05b7043b734g

after this PR , the LAG is about 40s
df75fb55-0ae3-4f7d-afca-ecbe98fe782c

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Questions

Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?

Release note

`None`.

@ti-chi-bot ti-chi-bot bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/cherry-pick-not-approved size/L Denotes a PR that changes 100-499 lines, ignoring generated files. release-note-none Denotes a PR that doesn't merit a release note. and removed release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Sep 13, 2023
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Sep 14, 2023
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Sep 14, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hicqu, nongfushanquan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added lgtm approved and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Sep 14, 2023
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Sep 14, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-09-14 01:03:41.490879134 +0000 UTC m=+133787.458467180: ☑️ agreed by nongfushanquan.
  • 2023-09-14 01:40:45.023195911 +0000 UTC m=+136010.990783960: ☑️ agreed by hicqu.

@ti-chi-bot ti-chi-bot added the cherry-pick-approved Cherry pick PR approved by release team. label Sep 14, 2023
)
}
if c.config.Debug.EnableKVConnectBackOff {
newStreamErr = retry.Do(ctx, streamFunc, retry.WithBackoffBaseDelay(500),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
newStreamErr = retry.Do(ctx, streamFunc, retry.WithBackoffBaseDelay(500),
newStreamErr = retry.Do(ctx, streamFunc, retry.WithBackoffBaseDelay(100),

@ti-chi-bot ti-chi-bot bot merged commit 41c8fdf into pingcap:release-6.5 Sep 14, 2023
9 of 10 checks passed
@sdojjy sdojjy deleted the remove-store-connect-backoff branch September 15, 2023 04:46
sdojjy added a commit to sdojjy/tiflow that referenced this pull request Dec 29, 2023
sdojjy added a commit to sdojjy/tiflow that referenced this pull request Dec 29, 2023
sdojjy added a commit to sdojjy/tiflow that referenced this pull request Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved cherry-pick-approved Cherry pick PR approved by release team. lgtm release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants