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

responding to errors in rowcopy #445

Merged
merged 1 commit into from
Jul 16, 2017
Merged

responding to errors in rowcopy #445

merged 1 commit into from
Jul 16, 2017

Conversation

shlomi-noach
Copy link
Contributor

context: #444

not all rowcopy errors were handled. While errors in row copying had retries, the entire process was not reporting back (as it is being executed in a goroutine).

As result, significant errors such as killed connections were wrongly interpreted as "copy complete" leading to missing rows, i.e. data corruption.

This PR identifies such errors and bails out the migration altogether (having executed default-retires times).

@shlomi-noach shlomi-noach temporarily deployed to production/mysql_role=ghost_testing July 11, 2017 10:49 Inactive
@shlomi-noach
Copy link
Contributor Author

tested in production.

@shlomi-noach shlomi-noach merged commit dd10b52 into master Jul 16, 2017
@shlomi-noach shlomi-noach deleted the investigate-kill branch July 16, 2017 03:51
@shlomi-noach
Copy link
Contributor Author

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