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

Emergency Reparent Refactor #6449

Merged
merged 27 commits into from
Aug 20, 2020

Conversation

PrismaPhonic
Copy link
Contributor

@PrismaPhonic PrismaPhonic commented Jul 16, 2020

This PR executes on all aspects of the EmergencyReparent re-design. Fixes #6206

@PrismaPhonic PrismaPhonic force-pushed the emergency-reparent-refactor branch 22 times, most recently from f84eae3 to c6c7c9d Compare July 22, 2020 20:34
@PrismaPhonic PrismaPhonic changed the title WIP: Emergency Reparent Refactor Emergency Reparent Refactor Jul 23, 2020
@PrismaPhonic PrismaPhonic force-pushed the emergency-reparent-refactor branch from 2442c9a to 8caba94 Compare July 23, 2020 01:51
@PrismaPhonic PrismaPhonic marked this pull request as ready for review July 23, 2020 02:20
Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

I recommend running go test -cover. Given the complexity of the design and the number of if conditions, unit test coverage seems thin.

Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
…ning tablet in time.

Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
…ptable number of errors as an argument to accomodate a use case where any number of errors is acceptable.

Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
…it on handleMaster.

Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
… on a defer.

Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
…o apply before running competition.

Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
@PrismaPhonic PrismaPhonic force-pushed the emergency-reparent-refactor branch from 757fc34 to fff559f Compare August 19, 2020 23:41
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

Looking good except for the few pending comments/changes

Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
Signed-off-by: Peter Farr <Peter@PrismaPhonic.com>
@PrismaPhonic PrismaPhonic dismissed deepthi’s stale review August 20, 2020 20:43

Addressed all concerns

@PrismaPhonic PrismaPhonic requested review from deepthi and enisoc August 20, 2020 20:43
Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

Nice work! LGTM.

@deepthi deepthi merged commit 3230474 into vitessio:master Aug 20, 2020
@enisoc enisoc deleted the emergency-reparent-refactor branch August 25, 2020 16:31
@deepthi deepthi added this to the v8.0 milestone Sep 22, 2020
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.

Make emergency reparents more robust.
3 participants