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

Add details to the EOF exceptions #55

Merged
merged 1 commit into from
Oct 13, 2021
Merged

Add details to the EOF exceptions #55

merged 1 commit into from
Oct 13, 2021

Conversation

morozov
Copy link

@morozov morozov commented Oct 1, 2021

The additional details should simplify troubleshooting EOF exceptions in the binlog connector (#15, #50). By knowing the details, one can replicate the binlog to the local development environment and examine it at the position of failure. For instance, one can confirm that the binlog is intact, and the root cause of the issue is somewhere else.

Example error messages:

Failed to read remaining 28 of 36 bytes from position 1596693181. Block length: 7347. Initial block length: 8133.

or

Failed to read next byte from position 20131056

Co-authored-by: Vadzim Ramanenka <[email protected]>
@morozov
Copy link
Author

morozov commented Oct 13, 2021

@osheroff any chance to get this reviewed?

@osheroff osheroff merged commit fcb9194 into osheroff:master Oct 13, 2021
@morozov morozov deleted the eof-details branch October 13, 2021 22:11
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