[MDEV-32655] rpl_semi_sync_slave_compressed_protocol.test assert_only_after is wrong Created: 2023-11-01  Updated: 2023-11-13  Resolved: 2023-11-01

Status: Closed
Project: MariaDB Server
Component/s: Replication, Tests
Affects Version/s: 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11, 11.0, 11.1, 11.2
Fix Version/s: 10.4.33, 10.5.24, 10.6.17, 10.11.7, 11.0.5, 11.1.4

Type: Bug Priority: Major
Reporter: Brandon Nesterenko Assignee: Brandon Nesterenko
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Problem/Incident
is caused by MDEV-24773 slave_compressed_protocol doesn't wor... Closed
Relates
relates to MDEV-32365 detailize the semisync replication ma... Closed

 Description   

The MTR test rpl.rpl_semi_sync_slave_compressed_protocol scans the log file to ensure there is no magic number error. It attempts to only scan the log files of the current test; however, the variable which controls this, $assert_only_after, is initialized incorrect, and it thereby scans the entire log file, which includes output from prior tests.

This causes it to fail if a test which expects this error runs previously on the same worker.



 Comments   
Comment by Brandon Nesterenko [ 2023-11-01 ]

Pushed into 10.4 as 80ea3590ded

Generated at Thu Feb 08 10:32:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.