-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Emergency Reparent Refactor #6449
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
Merged
deepthi
merged 27 commits into
vitessio:master
from
planetscale:emergency-reparent-refactor
Aug 20, 2020
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
1839e73
Finished strategy steps 1-4 from main refactor issue.
PrismaPhonic 35c85a6
Updated test for new io_thread only logic.
PrismaPhonic 62950ff
Some tests are failing because master is not actually stopped. We sho…
PrismaPhonic 70f7273
Finally passing. Hallelujah.
PrismaPhonic 2af7875
Finished all major aspects of design, other than
PrismaPhonic 88b0788
Added ignore_unreachable_replicas flag along with a test to check tha…
PrismaPhonic 0b4f29c
Silly commit because CICD seems to still have an old version.
PrismaPhonic 5696a12
Switch error nil checks to NoError checks per review suggestion.
PrismaPhonic 08f018c
Added explicit checking of error string.
PrismaPhonic a69e6a0
Trivial fixes per review suggestions.
PrismaPhonic 6a7d62a
Refactor per review suggestion to reduce number of code paths.
PrismaPhonic 80ef344
Record all errors and surface them in the case we could not get a win…
PrismaPhonic b231de2
Updated waitOnNMinusOneTablets helper function to take a maximum acce…
PrismaPhonic 7e71b59
Simplify design drastically per review suggestion to synchronously wa…
PrismaPhonic 5f7d2cc
Fix test issue now that SetMaster calls are just best effort and done…
PrismaPhonic 3af3cf1
Small fixes per review suggestions.
PrismaPhonic 1ccfab4
Switched all fmt.Errorf to vterrors.Errorf or Wrapf.
PrismaPhonic e166f94
Rename to ignoredTablets to match flag.
PrismaPhonic 3a6fc89
Significant logic re-write to make all replicas wait for relay logs t…
PrismaPhonic 96e4843
Make sure we run competition for most caught up.
PrismaPhonic fff559f
Fixed unit tests and refactored logic per pairing session.
PrismaPhonic 519c048
Resolved merge conflicts with master.
PrismaPhonic d239ff5
Ensure we use Wrapf for ALL error returns.
PrismaPhonic f445f79
Get rid of unnecessary subcontext.
PrismaPhonic dcfe4f1
More error improvement.
PrismaPhonic 04a1a60
Rename per review suggestion.
PrismaPhonic c3c24f5
Remove InitTablet calls. They are unnecessary now.
PrismaPhonic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.