-
Notifications
You must be signed in to change notification settings - Fork 683
Untrusted binlog row snapshot data >=v1.0 #510
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
Comments
can u try 1.0.2 version and 0.45.1 1.0.1 is a yanked version |
@sean-k1 I try both version 0.45.1, 1.0.2.
1.0.2
same problem occurred |
@jongwony The Json parsing logic part is the exactly same 0.45.1 and 1.0.2. Can you let me know about your BinlogStreamReader setting
My case sql query
dumps like this
I think this case is normal case when we set metadata = "MINIMAL"
I don't understand {"before_values": {"null": "2023-08-24T17:16:53"}, "after_values": {"null": "2023-10-06T14:36:24"}} Can you let me know how can i reproduce this case? |
Sorry for the confusion. This data is not an example of a JSON column, but a general case. It seems that the problem about MINIMAL you mentioned is correct, and what I said is that the key of before_values and after_values should be c, not None. In the previous version 0.45.1, it appears that columns were tracked even if metadata=MINIMAL. |
If you re-run the test case you showed with a different version for the same binlog position, I expect the column to have a value other than None. |
@jongwony
we don't know column_name so it is null so If you change binlog_row_metadata Minimal => FULL |
binlog_row_metadata is not a valid variable for MySQL 5.7. |
Yes so we support 0.45.1 version for mysql 5.7 version |
Binlog triggers events well, but not all snapshot data is received.
same log position with version 0.43, 1.0.1 but snapshot is different contains only null value
in 0.43
in 1.0.1
I think starting from 1.0, it seems that binlog needs to be changed from binlog_row_metadata=MINIMAL to FULL, but compatibility seems to be necessary even if it was previously MINIMAL.
We have not yet tested whether this situation occurs even when binlog_row_metadata=FULL, and this is an issue that occurred during only mysql-replication package deployment.
The text was updated successfully, but these errors were encountered: