Skip to content

mysql主从切换后,haproxy配置咨询 #24

Description

@Jacklli

What version of MoHA are you using?

最新版

Does this issue reproduce with the latest release?

N/A

What operating system and processor architecture are you using?

N/A

What did you do?

What did you expect to see?

N/A

What did you see instead?

N/A

咨询一下,我的理解,当mysql发生主从切换后,agent会把最新的MySQL主从角色与ip地址对应关系写入etcd。haproxy会将写流量转发到最新的mysql主库ip地址去。我的疑惑是,haproxy通过什么机制感知到etcd里的信息变化,并且将变化准确快速地同步到haproxy的配置里去的呢?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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