Skip to content

Binlog connection stays up after shutdowning #273

Closed
@JackShadow

Description

@JackShadow

After turning off connection is alive in mariadb (10.2).
Closing connection on SIGTERM via canal.Close() doesn't work

2018/05/29 18:15:43 INFO  syncer is closing...
2018/05/29 18:15:43 ERROR canal start sync binlog err: context canceled
2018/05/29 18:15:43 ERROR  connection was bad
2018/05/29 18:15:43 ERROR close sync with err: Sync was closed
2018/05/29 18:15:43 INFO  syncer is closed

and than connection is still on.

Metadata

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