[MDEV-24227] mysql_install_db hangs for ~45 minutes Created: 2020-11-17 Updated: 2021-05-25 Resolved: 2021-05-25 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.5.8 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Anton Serbulov | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | hang, need_feedback | ||
| Environment: |
Microsoft Windows Server 2019 Datacenter |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Steps to reproduce
Actual Result In the log file:
|
| Comments |
| Comment by Marko Mäkelä [ 2020-11-17 ] |
|
I suspect that this is due to |
| Comment by Anton Serbulov [ 2020-11-17 ] |
|
Where can I download the binary distribution of the recent 10.5 development snapshot? |
| Comment by Marko Mäkelä [ 2020-11-17 ] |
|
wlad, can you please help skvoboo get Windows executables of a 10.5 development snapshot? In the usual place I only see them for various GNU/Linux distributions. |
| Comment by Vladislav Vaintroub [ 2020-11-17 ] |
|
well, mysql_install_db.exe is tested every single time on buildbot, and we'd have noticed if something does not work repeatably. In the meantime, was there anything interesting in procmon output, that I failed to detect yet? |
| Comment by Anton Serbulov [ 2020-11-17 ] |
|
The full memory dump of the mysqld process: ftp.askmonty.org/private/mysqld.exe_201117_114801.zip |
| Comment by Vladislav Vaintroub [ 2020-11-17 ] |
|
Thanks. It looks like WriteFile with Flush would hang on some reason, for which I'd rather put blame on Windows than to our software. That said, I can't reproduce anything like that. |
| Comment by Anton Serbulov [ 2020-11-20 ] |
|
You're right. |
| Comment by Vladislav Vaintroub [ 2020-11-20 ] |
|
skvoboo. Thanks, I'd still like to reproduce it elsewhere. In 10.5.7, we're using "lighter" version of FlushFileBuffers, courtesy of |
| Comment by Marko Mäkelä [ 2021-03-24 ] |
|
skvoboo, would MariaDB 10.5.9 work for you? I wonder if this could have been caused by |
| Comment by Anton Serbulov [ 2021-03-26 ] |
|
The issue is still persists on our environment. |
| Comment by Elena Stepanova [ 2021-04-25 ] |
|
So, if you have verified that the issue is specific to your environment, can you provide the details of the environment which cause it, so that wlad would be able to reproduce it elsewhere? |
| Comment by Anton Serbulov [ 2021-04-26 ] |
|
Our environment: Parallels Cloud Server 6.0 |
| Comment by Vladislav Vaintroub [ 2021-04-26 ] |
|
skvoboo, if the issue persists in your environment, and nowhere else, perhaps, you like to talk to Parallels Cloud Server people about it. |
| Comment by Vladislav Vaintroub [ 2021-05-25 ] |
|
Seems to be not our bug, but related to exotic environment. No storage related system call should take 45 minutes. |