| Bug #119441 | Group replication binds to ipv6 wildcard address | ||
|---|---|---|---|
| Submitted: | 21 Nov 2025 20:09 | Modified: | 20 Oct 8:43 |
| Reporter: | DBA Kayak | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | MySQL Server: Group Replication | Severity: | S2 (Serious) |
| Version: | 8.0.35 | OS: | Linux (Rocky Linux release 8.10) |
| Assigned to: | CPU Architecture: | x86 | |
[21 Nov 2025 20:09]
DBA Kayak
[20 Oct 8:37]
Tiago Jorge
I think the MYSQL communication stack is a good fit for what you’re trying to do here, especially now that Bug #110773 has been fixed. XCom creates its own listener and binds it to a wildcard address, regardless of the specific IP address or hostname in group_replication_local_address. Its IPv6 listener also accepts IPv4 connections, which explains why assigning different IPv4 addresses to the instances doesn’t prevent the collision. Forcing IPv4 would leave the same underlying problem: the IPv4 listener also binds to a wildcard address. The MYSQL communication stack uses MySQL Server’s existing listener instead. That listener respects bind_address, so instances bound to separate IP addresses can share the same port without competing for a wildcard listener. There was a second problem with this setup, reported in Bug #110773: when two members used different IP addresses on the same host and the same SQL port, they could incorrectly treat each other as “self” and skip the connections needed to join the group. The fix makes that decision using the member’s configured endpoint rather than every local interface address. I’d therefore recommend using the MYSQL communication stack with a server version containing that fix. This should address the deployment you describe. XCom’s wildcard binding remains unchanged, so using XCom would still require different communication ports for the instances.
