[MDEV-33079] --source include/wait_condition.inc very slow in main.show_explain Created: 2023-12-19  Updated: 2023-12-19

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

Type: Bug Priority: Major
Reporter: Dave Gosselin Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Environment:

macOS 13.6.3 aarch64 (apple silicon)


Issue Links:
Relates

 Description   

Affects only macOS afaik. main.show_explain includes wait_condition.inc whenever it needs to wait for a bit before checking a condition. On linux, this wait is very short but on macOS (as verified with --mark-progress), it's quite lengthy, sometimes 10 or more seconds. Why is this? Interestingly, the $wait_condition variable isn't set before sourcing wait_condition.inc; setting that variable is a common pattern in other tests that use wait_condition.inc. Perhaps that usage is incorrect and on Linux it just happens to be enough of a delay for the desired event to occur, but I'm speculating.


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