Skip to content

VRepl Collations: find collations for char primary keys and cast comparison during catchup#6568

Merged
sougou merged 6 commits intovitessio:masterfrom
planetscale:rn-vr-collations
Sep 1, 2020
Merged

VRepl Collations: find collations for char primary keys and cast comparison during catchup#6568
sougou merged 6 commits intovitessio:masterfrom
planetscale:rn-vr-collations

Conversation

@rohit-nayak-ps
Copy link
Copy Markdown
Member

@rohit-nayak-ps rohit-nayak-ps commented Aug 14, 2020

Initial implementation for handling charset collations during the catchup phase of vreplication.

We cast the values on both the lhs and rhs to the charset and collation of the columns in the catchup query.

Signed-off-by: Rohit Nayak rohit@planetscale.com

…arison during catchup

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
@rohit-nayak-ps rohit-nayak-ps marked this pull request as ready for review August 25, 2020 12:47
@rohit-nayak-ps rohit-nayak-ps requested a review from sougou as a code owner August 25, 2020 12:47
@rohit-nayak-ps rohit-nayak-ps changed the title WIP: VRepl Collations: find collations for char primary keys and cast comparison during catchup VRepl Collations: find collations for char primary keys and cast comparison during catchup Aug 25, 2020
@sougou sougou merged commit 6073f0f into vitessio:master Sep 1, 2020
@askdba askdba added this to the v8.0 milestone Oct 5, 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.

Varchar primary keys with collations can cause vreplication to miss rows

3 participants