-
Notifications
You must be signed in to change notification settings - Fork 991
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
When will the length of event.Rows be 0 or nil? #811
Comments
you can check the content of binlog with other tools like |
Thanks @lance6716 ,What do you think are the possible causes? |
I didn't meet this problem before. first please check this library works the same as official |
I think we need either more information about this or we should close this issue. |
Used the following codes:
ev, err := streamer.GetEvent(contx)
event := ev.Event.(*replication.RowsEvent)
when ev.Header.EventType is replication.WRITE_ROWS_EVENTv1 or replication.WRITE_ROWS_EVENTv2,in most cases, the event.Rows have values, but in few cases in test environment, the event.Rows's length is 0 or nil when the ev.Header.EventType is replication.WRITE_ROWS_EVENTv1 or replication.WRITE_ROWS_EVENTv2. is it normal case?
The text was updated successfully, but these errors were encountered: