[MXS-3814] maxscale rpl_state is empty Created: 2021-10-14  Updated: 2022-01-13  Resolved: 2021-10-29

Status: Closed
Project: MariaDB MaxScale
Component/s: binlogrouter
Affects Version/s: 2.5.15
Fix Version/s: 2.5.17, 6.2.0

Type: Bug Priority: Major
Reporter: Muhammad Irfan Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Sprint: MXS-SPRINT-143

 Description   

Reproduction steps:
Turn off systemd watchdog with override

master -> maxscale (blr) -> replica

Create large dataset (suggest >1TB, 100000s tables and 1000s schema)

Snapshot

Slap it for 5 GiB of binlogs with maxscale binlog keeping logs

create replica using the snapshot and change master to mxs, and start it.

You know you're on to a winner when maxctrl times out.

Then run systemctl stop maxscale.

There's a 1/3 chance it'll leave rpl_state blank. Or sometimes all blr service rpl_states blank, even those without replicas attached.

systemctl stop maxscale
 
-rw-r--r-- 1 maxscale maxscale 0 Sep 24 12:33 rpl_state


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