Questions tagged [group-replication]

27 questions
4
votes
2 answers

Mysql Group replication vs Mysql Cluster

[disclaimer] I'm not new to databases but totally novice about replication and cluster ... As you may know Mysql made available a new functionality : MySql Group Replication. Is anyone can explain me the fundamental difference between such…
3
votes
1 answer

Clarification: Replication Filters for MySQL Group Replication

As I understand it, replication filters in MySQL are not allowed for MySQL Group Replication. Is this correct? Does this imply that all databases among the group replication instances must have the same state initially?
Albertus
  • 33
  • 2
3
votes
0 answers

MySQL Group Replication - Peer address is not valid

I have been trying to set up an MySQL Innodb Cluster, initially with two databases, both MySQL 8.0.19. But I keep getting the same errors. On the first one (username@1.2.3.4:3306), I have created the cluster, and that seems to be ok. then I…
IGGt
  • 1,855
  • 3
  • 21
  • 39
2
votes
0 answers

MySQL multi-master group replication on kubernetes

We are trying to setup MySQL multi-master group replication (GR) on kubernetes Group replication configuring instances. GR is starting on one pod after all the configurations. However the second node goes to RECOVERING state when GR is started…
2
votes
1 answer

MySQL group replication plugin won't recognize host's IP address?

I have pulled the current mysql-server image (mysql-server) on 2 Ubuntu 18.04 machines and I want to set up group replication. This is how I start the mysql container on each machine (--server-id is 2 for the second machine): docker run -d…
towel
  • 121
  • 2
2
votes
1 answer

How to setup two mysql servers with group replication to work individually, when no network

I have two mysql servers in two different places. Both servers must be able to read and write. All tables are designed to based on unique id (UUID) primary key. I want to sync these two databases live using a replication method when networks are…
1
vote
1 answer

MySQL Group Replication consistency EVENTUAL vs BEFORE_ON_PRIMARY_FAILOVER

As far as I understand, BEFORE_ON_PRIMARY_FAILOVER is exactly behaving like EVENTUAL in normal scenarios until a failover happened, which the former will block all new transactions until the new primary node has applied its backlog while the latter…
1
vote
0 answers

MySQL Group Replication add node to (long) existing cluster fails

I've got a working MySQL GROUP REPLICATION Cluster consisting of 2 Ubuntu 20.04 servers, running on IP's 192.168.1.2 and 192.168.1.3 (local network connection). This works great, however to get good availability (when a server goes down), I have to…
1
vote
1 answer

Cannot rejoin or add instance to MySQL InnoDB cluster

I have a MySQL InnoDB cluster running where I had added three nodes, one is having the Primary role and the others are Secondary. Today morning, the two secondary nodes were removed from the cluster after I restored a backup in a test database on…
1
vote
1 answer

MySQL, Group Replication not surviving after a single restart

Can anyone see where I am going wrong, as this is driving me round the bend. I have set up a clean install of MySQL 8.0.17 on my Windows 10 laptop. I have gone through the whole initialize process, logged in and set up a root user and set it up as a…
IGGt
  • 1,855
  • 3
  • 21
  • 39
0
votes
0 answers

Group replication node cannot join after reboot

I have three MySQL instances (8.0.28) A (pod), B (pod), C (VM) (A and B are in different clusters). A bootstraps the group then B and C join the group afterward, all servers are ONLINE. B and C are doing fine. If I delete the pod or stop the MySQL…
Yashar
  • 101
  • 1
0
votes
0 answers

How to start Mysql group replication member resync

I have three members in group replication. Two is online but third has error and not joined to group. I have tried to drop and import new database but member still has error state. How to force member to fetch content from primary server? I asked…
Stevan Tosic
  • 101
  • 3
0
votes
1 answer

Why slave_parallel_workers affects TPM

I ran a few HammerDB benchmarks and mess with the configurations. And I notice different values of slave_parallel_workers have a considerable impact on TPM. As far as I understand, slave_parallel_workers only affects how quickly the transactions are…
0
votes
0 answers

ER_TRANSACTION_ROLLBACK_DURING_COMMIT MySQL error when querying

I've recently seen a high number of errors on my Bugsnag integration of my web app which occur when both reading or writing to my MySQL server. ER_TRANSACTION_ROLLBACK_DURING_COMMIT: Plugin instructed the server to rollback the current…
0
votes
2 answers

What contributes to the transaction size on a MySQL UPDATE?

Background We're running a MySQL 8 INNODB cluster behind some Java services. We received an error from the application because we'd exceeded the group replication transaction size limit (“Error on observer while running replication hook…
scarba05
  • 103
  • 2
1
2