[MXS-2175] available_when_donor=true is not respected in Galera Monitor with xtrabackup-v2 sst method and only one synced node available in the cluster Created: 2018-11-19  Updated: 2018-11-27  Resolved: 2018-11-27

Status: Closed
Project: MariaDB MaxScale
Component/s: Monitor
Affects Version/s: 2.2.15
Fix Version/s: 2.2.17

Type: Bug Priority: Critical
Reporter: Claudio Nanni Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None
Environment:

RHEL7



 Description   

Monitor Config:

[Galera Monitor]
type=monitor
module=galeramon
servers=server1,server2,server3
user=maxscale
passwd=xyz
monitor_interval=1000
available_when_donor=true
disable_master_failback=1

Donor shifts to DONOR/DESYNCED when asked for SST:

2018-11-18 *17:56:12* 140407002331234 [Note] WSREP: Shifting SYNCED -> DONOR/DESYNCED (TO: 172844123)

MaxScale loses the node:

2018-11-18 *17:56:13*   error  : [galeramon] There are no cluster members
2018-11-18 *17:56:13*   notice : Server changed state: server1[n.n.n.n:3306]: lost_master. [Master, Synced, Running] -> [Running]

Shouldn't the monitor consider the node as synced and so keeping it Master since `available_when_donor=true` ?



 Comments   
Comment by markus makela [ 2018-11-21 ]

The problem appears to be in the split cluster detection code and bypassing it fixes the problem.

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