Skip to content

When will the length of event.Rows be 0 or nil? #811

Open
@zhanghaiyang9999

Description

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?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions