Skip to content

Various vtorc backports into v14#82

Merged
maxenglander merged 10 commits intov14-mysql57-hcfrom
v14-mysql57-hc-gh-13190
Jul 10, 2023
Merged

Various vtorc backports into v14#82
maxenglander merged 10 commits intov14-mysql57-hcfrom
v14-mysql57-hc-gh-13190

Conversation

* feat: convert join with database_instance to a left join and prevent fixes from running if the information from database_instance is unavailable
* test: add tests to verify the fix works

Co-authored-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Max Englander <max@planetscale.com>
@maxenglander maxenglander force-pushed the v14-mysql57-hc-gh-13190 branch from d0feacc to e3a3236 Compare July 6, 2023 04:21
…ary failures (vitessio#13190)

* test: add a failing test

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix the problem

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: read vttablet records for instances that have no mysql port too

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: refactor the code

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: add tests for the newly introduced function

Signed-off-by: Manan Gupta <manan@planetscale.com>

* test: fix test expectations

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix flakiness in tests

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix comments

Signed-off-by: Manan Gupta <manan@planetscale.com>

---------

Co-authored-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Max Englander <max@planetscale.com>
@maxenglander maxenglander force-pushed the v14-mysql57-hc-gh-13190 branch from e3a3236 to 21cbfdb Compare July 6, 2023 04:39
GuptaManan100 and others added 6 commits July 6, 2023 03:51
…is stopped (vitessio#10786)

* feat: add failing vtorc test
* feat: consider replication stopped if either thread is stopped

Co-authored-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Max Englander <max@planetscale.com>
Signed-off-by: Max Englander <max@planetscale.com>
Signed-off-by: Max Englander <max@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
@GuptaManan100
Copy link

I have pushed some changes. Mostly they are minor fixes and fixes to the tests. Otherwise, this is perfect! Thank you @maxenglander for doing this! I know it couldn't have been a pleasant experience cherry-picking these changes!!

Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>
@maxenglander maxenglander marked this pull request as ready for review July 10, 2023 21:58
@maxenglander maxenglander merged commit 67d94cd into v14-mysql57-hc Jul 10, 2023
@maxenglander maxenglander deleted the v14-mysql57-hc-gh-13190 branch July 10, 2023 21:58
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.

2 participants