Skip to content

[Backport] VReplication: Make Source Tablet Selection More Robust (#13582)#497

Merged
makinje16 merged 7 commits intoslack-15.0from
backport-upstream-13582-1
Sep 24, 2024
Merged

[Backport] VReplication: Make Source Tablet Selection More Robust (#13582)#497
makinje16 merged 7 commits intoslack-15.0from
backport-upstream-13582-1

Conversation

@makinje16
Copy link
Copy Markdown

@makinje16 makinje16 commented Aug 29, 2024

Description

This PR backports vitessio#13582 in order to fix the NOT_FOUND errors we've seen on the CDC project during tablet failure on the streaming host.

Related Issue(s)

Checklist

  • "Backport to:" labels have been added if this change should be back-ported
  • Tests were added or are not required
  • Did the new or modified tests pass consistently locally and on the CI
  • Documentation was added or is not required

Deployment Notes

makinje16 and others added 4 commits August 29, 2024 11:25
* `txthrottler`: move `ThrottlerInterface` to `go/vt/throttler`, use `slices` pkg, add stats (vitessio#16248)

Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>

* revert to `reflect`

Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>

* Support passing filters to `discovery.NewHealthCheck(...)`

Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>

* Update go/vt/vttablet/tabletserver/txthrottler/tx_throttler.go

Co-authored-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>

* Address some PR suggestions

Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>

* PR ctx suggestion

Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>

* fix test

Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>

* simplify updateHealthCheckCells signature

Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>

* Fix race in `replicationLagModule` of `go/vt/throttle`

Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>

---------

Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
Co-authored-by: Matt Lord <mattalord@gmail.com>
@makinje16 makinje16 requested a review from a team as a code owner August 29, 2024 16:30
@github-actions github-actions bot added this to the v15.0.5 milestone Aug 29, 2024
@makinje16 makinje16 changed the title Backport upstream 13582 [test] [Backport] VReplication: Make Source Tablet Selection More Robust (#13582) Sep 3, 2024
@makinje16 makinje16 merged commit d7f4675 into slack-15.0 Sep 24, 2024
@makinje16 makinje16 deleted the backport-upstream-13582-1 branch September 24, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants