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 fails when gtid_executed is > 10000 bytes #8612

Closed
gtowey opened this issue Aug 9, 2021 · 2 comments
Closed

Vreplication fails when gtid_executed is > 10000 bytes #8612

gtowey opened this issue Aug 9, 2021 · 2 comments

Comments

@gtowey
Copy link

gtowey commented Aug 9, 2021

Overview of the Issue

Vreplication fails with unable to parse mysql 5.6 GTID set when the length of the gtid_executed string exceeds the column size of 10,000 bytes.

Note: This is a pretty simple fix and I can submit a PR along with this issue.

Reproduction Steps

  1. Create a large gtid_executed set by performing many replication changes across many mysql instances with different server UUIDs
  2. Run a Reshard workflow
  3. View the error in vreplication on the chosen tablet's status page.

Operating system and Environment details

n/a

@shlomi-noach
Copy link
Contributor

@gtowey I assume the problem is here:

pos VARBINARY(10000) NOT NULL,
stop_pos VARBINARY(10000) DEFAULT NULL,

?

If you are able to, we welcome a PR to increase this length.

@mattlord
Copy link
Contributor

I'm going to close this as done for now. Please note that we've since added compression for this value as well: #7877

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants