cybozu-go / moco

MySQL operator on Kubernetes using GTID-based semi-synchronous replication.
https://cybozu-go.github.io/moco/
Apache License 2.0
272 stars 22 forks source link

When initializing the MySQL cluster, the cluster status is at 2/3, and the replication establishment fails with an error message source server_id is 0 #739

Open sona-yuan opened 1 week ago

sona-yuan commented 1 week ago

Describe the bug A clear and concise description of what the bug is.

Environments

To Reproduce Steps to reproduce the behavior:

  1. apply mycluster.yaml
  2. 2024-09-10T10:05:35.980547Z 714 [ERROR] [MY-010557] [Repl] Error reading packet from server for channel '': Misconfigured source - source server_id is 0 (server_errno=1236) 2024-09-10T10:05:35.980564Z 714 [ERROR] [MY-013114] [Repl] Replica I/O for channel '': Got fatal error 1236 from source when reading data from binary log: 'Misconfigured source - source server_id is 0', Error_code: MY-013114 image

Expected behavior A clear and concise description of what you expected to happen.

Additional context Add any other context about the problem here.

takara9 commented 1 week ago

@sona-yuan

When initializing the MySQL cluster, the cluster status is at 2/3, and the replication establishment fails with an error message source server_id is 0 20 hours ago

We want to more information to understand you facing issue. Clould you provide us mycluster.yaml and your cluster environment ?