[MDEV-32185] MTR: --parallel does not work correctly when using LOOP Created: 2023-09-16 Updated: 2023-09-18 Resolved: 2023-09-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | 11.3 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Roel Van de Paar | Assignee: | Sergei Golubchik |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | affects-tests, mtr | ||
| Issue Links: |
|
||||||||
| Description |
|
Testcase (add as main/test.test or similar):
Run with:
Output:
The issue is that only one of the parallel threads will start, while the others do not start at all. The selection of which thread starts seems either random or is based on timing (which thread is first to start):
In this case, thread 3 started. No other threads will start . It is quite possible that other types of SQL will also create the same issue. Set to critical as fixing this may, or may not (depends on the underlying bug), significantly affect MTR's --parallel performance. |
| Comments |
| Comment by Sergei Golubchik [ 2023-09-16 ] | |
|
it was always like this, for the last 20 years, since mtr was created.
| |
| Comment by Roel Van de Paar [ 2023-09-18 ] | |
|
Thank you, understood |