Use getifaddrs for node address detection
Bug #1252700 reported by
Raghavendra D Prabhu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership |
Fix Committed
|
Medium
|
Unassigned | |||
5.5 |
New
|
Medium
|
Unassigned | |||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC | Status tracked in 5.6 | |||||
5.5 |
Triaged
|
Medium
|
Unassigned | |||
5.6 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Currently, different methods are used -
bind_address if set
wsrep-node-address if set
ifconfig/ip addr
It would be good to have a detection based on getifaddrs (http://
Changed in codership-mysql: | |
status: | New → Fix Committed |
To post a comment you must log in.
Fix for this is in codership wsrep github:
commit aa0ef0ced2ecc80 7bfdda3ce7ae584 fa9796f302
Author: Teemu Ollakka <email address hidden>
Date: Thu Feb 12 18:01:58 2015 +0200
codership/ mysql-wsrep# 45 use getifaddr() for address autoguessing
* Ported patches: bazaar. launchpad. net/~maria- captains/ maria/maria- 10.0-galera/ revision bazaar. launchpad. net/~maria- captains/ maria/maria- 10.0-galera/ revision address( )
http://
http://
* Changed loopback detection to be done via ifa->ifa_flags
* Removed unused function wsrep_guess_