Skip to content

[K8SPS-643] Add support of Hybrid replication #129

@hors

Description

@hors

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about the feature
We need to add the possibility of deploying hybrid replication for the PS operator.

Which product(s) is this request for?
Operators MySQL

Tell us about the problem
We have an idea to use GR as a primary cluster (for write traffic only or optional), and users will be able to secure pods as an async replication for read traffic.
`
Read traffic: ONLY from Async Replica pods. NOT from GR replicas.

                         Application (writes / reads)
                                    |
                         +----------v----------+
                         | Proxy (HAProxy)     |
                         | :3306 = writes only |
                         | :3307 = reads only  |
                         +----------+----------+
                                    |
              +---------------------+-----------------------+
              |                                             |
    writes (3306)                          reads (3307) — ONLY to Async Replica pods
              |                                             |
              v                                             |
              |                                             v
   +------------------+  +------------------+     +------------------+  +------------------+  +------------------+
   | GR Primary       |<->| GR Replica 1..2 |     | Async Replica    |  | Async Replica    |  | Async Replica    |
   | (writes only)    |   | (writes only)   |     | pod 1 (READS)    |  | pod 2 (READS)    |  | pod N (READS)    |
   +--------+---------+   +------------------+     +------------------+  +------------------+  +------------------+
             |                                              ^                    ^                  ^
             | async replication (binlog)                   |                    |                  |
             +-----------------------------------------------------------------------------------------------+

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.1.0MySQLLabel for MySQLOperatorsLabel for Percona Kubernetes OperatorsPSLabel for Percona Server for MySQL

    Type

    No type

    Projects

    Status

    To consider

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions