Skip to content

Keep connection alive (dealing with mysql wait_timeout) #376

Closed
@ghost

Description

These connection are used by dtle

incr

  • applier
    • worker connection
      • sql.Conn: manually ping-ed
    • applier connection
      • sql.DB: db.SetConnMaxLifetime()
  • extractor
    • slave thread: not sleeping
    • connection for meta info e.db/b.db

full

  • applier
    • sql.DB
  • extractor
    • sql.Tx: manually ping-ed

Currently ConnMaxLifetime is hard-coded to 300s for db.SetConnMaxLifetime

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