[MDEV-25299] Garbd IP is not visible in wsrep_incoming_addresses status variable Created: 2021-03-30  Updated: 2023-05-12  Resolved: 2023-05-12

Status: Closed
Project: MariaDB Server
Component/s: Galera Arbitrator garbd
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Ramesh Sivaraman Assignee: Jan Lindström
Resolution: Not a Bug Votes: 0
Labels: None


 Description   

Garbd IP is not visible in wsrep_incoming_addresses status variable. Shows up only extra comma with empty string.
Testcase
1) start 2 node cluster.
2) start garbd daemon.
Garbd startup command

./bin/garbd --address gcomm://127.0.0.1:18425,127.0.0.1:34533 --group my_wsrep_cluster --options gmcast.listen_addr=tcp://127.0.0.1:34534 --log /tmp/garbd.log --daemon

node1:root@localhost> show status like '%wsrep%add%';
+--------------------------+----------------------+
| Variable_name            | Value                |
+--------------------------+----------------------+
| wsrep_incoming_addresses | 127.0.0.1,,127.0.0.1 |
+--------------------------+----------------------+
1 row in set (0.002 sec)
 
node1:root@localhost>
 
node1:root@localhost> select * from mysql.wsrep_cluster_members;
+--------------------------------------+--------------------------------------+-----------+-----------------------+
| node_uuid                            | cluster_uuid                         | node_name | node_incoming_address |
+--------------------------------------+--------------------------------------+-----------+-----------------------+
| 004c729b-9128-11eb-a8b7-ba0f9c5a8b28 | ffa054ac-9127-11eb-8bea-f2e9d6cb4335 | galapq    | 127.0.0.1             |
| 45f218b9-912a-11eb-a7f4-db20bace7435 | ffa054ac-9127-11eb-8bea-f2e9d6cb4335 | garb      |                       |
| ff9f1e6b-9127-11eb-a7e0-ea8b06d71239 | ffa054ac-9127-11eb-8bea-f2e9d6cb4335 | galapq    | 127.0.0.1             |
+--------------------------------------+--------------------------------------+-----------+-----------------------+
3 rows in set (0.070 sec)
 
node1:root@localhost>



 Comments   
Comment by Jan Lindström [ 2023-05-12 ]

gardb has no incomming address, therefore it is not included there even when it is part of cluster members.

Generated at Thu Feb 08 09:36:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.