Skip to content

Binlog Stream cannot be disconnected #202

@galeaspablo

Description

@galeaspablo

When retrieving a binlog stream from a connection, the binlog stream has no way of getting disconnected (sending the COM_QUIT signal to MySQL -- not only closing the file handler).

Furthermore, if the stream's connection came from a pool, the pool panics when it gets dropped because its invariants are not respected. Namely, the pool still holds a count from the binlog connection, which it should decrease (but doesn't) when the binlog connection was dropped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions