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

vreplication: fix row move bug #4702

Merged
merged 1 commit into from
Mar 4, 2019
Merged

Conversation

sougou
Copy link
Contributor

@sougou sougou commented Mar 3, 2019

If the target pk for a row changes (row move), then a simple update
may not do the right thing, especially for aggregates. In such cases,
we should delete and insert.

Signed-off-by: Sugu Sougoumarane ssougou@gmail.com

If the target pk for a row changes (row move), then a simple update
may not do the right thing, especially for aggregates. In such cases,
we should delete and insert.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
@sougou sougou requested a review from rafael March 3, 2019 21:34
@rafael
Copy link
Member

rafael commented Mar 4, 2019

This makes sense. Good catch. LGTM +1

@sougou sougou merged commit dc44178 into vitessio:master Mar 4, 2019
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