[MDEV-31518] test galera.MDEV-16509 hangs if binlog is enabled Created: 2023-06-21  Updated: 2023-06-21

Status: Open
Project: MariaDB Server
Component/s: Galera
Affects Version/s: 10.6
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Seppo Jaakola Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

galera.MDEV-16509 has configuration to execute with binlogging disabled. However, if this test is forced to run with binlogging enbled, it will remain hanging.
Reason for this is the use of debug sync point "wsrep_after_commit_order_leave", which stops a thread while having mutex LOCK_commit_ordered locked. During this locked state, another connections (ctrl) tries to read status variables from INFORMATION_SCHEMA.GLOBAL_STATUS, and this read operation tries to lock LOCK_commit_ordered mutex as well, hence a complete stall of the test execution.
If reads from INFORMATION_SCHEMA.GLOBAL_STATUS are hacked to succeed without locking the LOCK_commit_ordered mutex, then the test "sort of passes", but the expectation of the test verify that wsrep_last_committed does not advance too early, is occasionally violated.


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