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

Bug Report: parsed GTID out of range #17469

Open
notfelineit opened this issue Jan 7, 2025 · 0 comments · May be fixed by #17472
Open

Bug Report: parsed GTID out of range #17469

notfelineit opened this issue Jan 7, 2025 · 0 comments · May be fixed by #17472
Assignees
Labels
Backport to: release-19.0 Needs to be back ported to release-19.0 Backport to: release-20.0 Needs to be backport to release-20.0 Backport to: release-21.0 Needs to be backport to release-21.0 Component: VReplication go Type: Bug Type: Enhancement Logical improvement (somewhere between a bug and feature)

Comments

@notfelineit
Copy link
Contributor

Overview of the Issue

Some GTIDs cannot be parsed into a 32 bit integer: https://github.com/vitessio/vitess/blob/main/go/mysql/replication/filepos_gtid.go#L36

Resulting in the sample error:

replication_status.go:387] Error parsing GTID set vt-1448040107-bin.003222:4663881395: invalid FilePos GTID (vt-1448040107-bin.003222:4663881395): expecting pos to be an integer

Reproduction Steps

To reproduce, create a sufficiently large GTID. Likely easier to reproduce via test.

Binary Version

Occurs on latest-19.0 and is an existing issue even on latest.

Operating System and Environment details

Linux AMD64

Log Fragments

No response

@notfelineit notfelineit added Type: Bug Needs Triage This issue needs to be correctly labelled and triaged Type: Enhancement Logical improvement (somewhere between a bug and feature) Component: VReplication go Backport to: release-19.0 Needs to be back ported to release-19.0 Backport to: release-20.0 Needs to be backport to release-20.0 Backport to: release-21.0 Needs to be backport to release-21.0 and removed Needs Triage This issue needs to be correctly labelled and triaged labels Jan 7, 2025
@mattlord mattlord linked a pull request Jan 7, 2025 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport to: release-19.0 Needs to be back ported to release-19.0 Backport to: release-20.0 Needs to be backport to release-20.0 Backport to: release-21.0 Needs to be backport to release-21.0 Component: VReplication go Type: Bug Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants