-
Notifications
You must be signed in to change notification settings - Fork 1k
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
query field missing from some transactions #1973
Comments
did you set the I ask because clients get the value of global variables (and it controls the binlog behavior) when they first establish their server connection. |
|
it's not the maxwell process that needs to restart but other connections -- the ones actually generating the transactions. |
I've narrowed down the problem to the BinlogConnectorReplicator.getTransactionRows function. The function loops through the events in each transaction and when it receives a
What I'm seeing in my production environment is many queries will call multiple sequential write events without calling
The solution is to not have the update case statement clear currentQuery. PR #1974 I've run it briefly in my production environment and it fixed the problem. What is the purpose of setting |
For some reason the
query
field is missing from about half of our transactions. All the other fields are present and Maxwell does not seem to be logging any errors related to this. It only occurs in our production environment and we cannot reproduce it. We've tried to find any correlations to see what types of transactions are failing, whether it's certain tables or such but we haven't found any.Below are the fields we get when the query field is missing
Below is what we get when the query field is present
The text was updated successfully, but these errors were encountered: