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 more logging to sharding key comparison parsing #370

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mtaner
Copy link

@mtaner mtaner commented Nov 28, 2024

When the sharding key parsing fails there is no visibility on why this happens. Adding more logging to get information about the table, the sql statement to grab parsed values and the binlog event type - as well as the binlog position if sql statement parsing fails.

sharding/filter.go Outdated Show resolved Hide resolved
sharding/filter.go Outdated Show resolved Hide resolved
@mtaner mtaner force-pushed the mt/add-more-logging-to-sharding-key-check branch from ca3b837 to 9f0bc0f Compare November 28, 2024 15:24
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