[MDEV-6699] wsrep_node_name not automatically set to hostname Created: 2014-09-05  Updated: 2016-06-28  Resolved: 2014-09-09

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.39-galera
Fix Version/s: 5.5.40-galera, 10.0.14-galera, 10.1.15

Type: Bug Priority: Major
Reporter: Daniel Black Assignee: Nirbhay Choubey (Inactive)
Resolution: Fixed Votes: 0
Labels: galera
Environment:

ubuntu precise (12.04) x86_64



 Description   

This was working in the version 5.5.37

on db-prod--iin-rep1

MariaDB [(none)]> show global variables like '%name%';

Variable_name Value
hostname db-prod--iin-rep1
wsrep_node_name  
innodb_version 5.5.38-MariaDB-35.2
version 5.5.39-MariaDB-1~precise-wsrep-log
version_comment mariadb.org binary distribution, wsrep_25.10.r4014

# hostname
db-prod--iin-rep1

Because of this wsrep_sst_donor='db-prod--iin-rep1' on another node failed for find the host.

related: https://github.com/codership/galera/issues/108



 Comments   
Comment by Nirbhay Choubey (Inactive) [ 2014-09-09 ]

http://lists.askmonty.org/pipermail/commits/2014-September/006493.html

Comment by Daniel Black [ 2014-09-09 ]

Thank you.

Comment by Jan Lindström (Inactive) [ 2014-09-09 ]

ok to push.

Comment by Nirbhay Choubey (Inactive) [ 2014-09-09 ]

Pushed to maria-5.5-galera and maria-10.0-galera.
http://bazaar.launchpad.net/~maria-captains/maria/maria-5.5-galera/revision/3532
http://bazaar.launchpad.net/~maria-captains/maria/maria-10.0-galera/revision/3886

Comment by Joffrey MICHAIE (Inactive) [ 2016-05-10 ]

Hi,

has the patch been pushed to 10.1 tree ?
I have same problem with 10.1.10 to 10.1.13

Joffrey

Comment by Nirbhay Choubey (Inactive) [ 2016-05-10 ]

The patch has been cherry-picked into bb-10.1-nirbhay on github@mariadb/server and
should be available in next 10.1 release (10.1.15)

Generated at Thu Feb 08 07:13:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.