Skip to content

Add option for ProxySQL servers to update tracked GTIDs from MySQL OK packets #5983

Description

@plisandro

As of v5.7.5, MySQL hosts can (optionally) provide GTID information for their last write on Ok response packets: https://dev.mysql.com/worklog/task/?id=6128.

It would be useful to have a configuration option making ProxySQL update tracked GTIDs per host from these packets, instead of just the binlog reader process - it is free, zero-overhead information already provided by hosts which is not currently being taken into account for causal reads.

Updating GTIDs from Ok packets would also alleviate issues related to binlog reader failing to connect to ProxySQL hosts, ensuring GTID updates are tracked, to some degree, on connections performing updates. See f.ex. #5670 .

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