[MDEV-23389] mtr: bootstrap doesn't check for correct plugin initialization Created: 2020-08-03 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | 10.1, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.4, 10.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Vicențiu Ciorbaru | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The problem was first discovered in buildbot.mariadb.org The failure is:
To reproduce the problem, one must run with a sufficiently small shared mem (/dev/shm) space (120 MB) and a sufficiently large parallel number. If the server fails to allocate ibdata1 during bootstrap, the following errors will appear in the bootstrap.log file:
To reproduce the problem, without all this space race condition madness, simply edit:
to return DB_ERROR before the file is allocated. A fix for this problem involves making sure the bootstrap stage of mtr correctly checks for plugin initialization. Any error messages during bootstrap should automatically cause the test to fail. |