codership / galera

Synchronous multi-master replication library
GNU General Public License v2.0
450 stars 176 forks source link

IST sender connect to private ip #620

Open ParanoidKevin opened 2 years ago

ParanoidKevin commented 2 years ago

417 mentioned we should use ist.recv_bind in wsrep_provider_options to indicate the private ip if we are using AWS EC2. This works fine in MySQL Wresp 8 and Galera4. However it seems in MariaDB 10.6 and Galera4 the IST sender will try to connect via private ip to other nodes and fails.

WSREP: IST failed: IST sender, failed to connect 'tcp://[private ip]:4568': Failed to connect 'tcp://[private ip]:4568': connect: Connection timed out: 110 (Connection timed out) Can we tell sender to use public ip in wsrep_cluster_address?