[MDEV-32011] 'aio write' returned OS error 222. Cannot continue operation Created: 2023-08-25 Updated: 2023-10-30 Resolved: 2023-10-30 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.7 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | mansi dadheech | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Environment: |
NAME="Red Hat Enterprise Linux" REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8" |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Our environment have three DB replication cluster including 2 master nodes and 1 slave. [When writer points to 1st database 2nd one will behave like a slave]. The issue is on both the slave nodes mysqld is getting crashed with the following error in /var/log/messages
And at the same time, mysqld log shows this issue:
|
| Comments |
| Comment by Daniel Black [ 2023-08-25 ] |
|
What storage type and filesystem are in use by your datadir? |
| Comment by Marko Mäkelä [ 2023-08-25 ] |
|
I believe that the crash has likely been fixed by Still, it would be very nice to know what might have caused the 100+100+EINVAL to be returned. Was this with the |
| Comment by mansi dadheech [ 2023-08-25 ] |
|
Storage type is 10k SAS RAID10 and filesystem of datadir is Let me know if anything else is required. Thanks |
| Comment by Daniel Black [ 2023-08-26 ] |
|
So confirming that SHOW CREATE TABLE authenticationlog also shows the ROW_FORMAT=DYNAMIC? For the rhel/var LVM - if you look at the pvs the physical volume, navigate to /sys/dev/block/DEVICE then cat queue/physical_block_size what does that show? innodb_flush_method=flush is probably the workaround for you. Note 10.7.5 would have included this change that provides more information on what was attempted. If you are able to bump to this or later version to test that would be useful. Also note that 10.7 is out of maintainence. |
| Comment by mansi dadheech [ 2023-08-28 ] |
|
Thanks, |
| Comment by Marko Mäkelä [ 2023-08-28 ] |
|
I think that danblack intended to write innodb_flush_method=fsync. The default value was changed in |
| Comment by Sergei Golubchik [ 2023-10-02 ] |
|
mansi, did you try innodb_flush_method=fsync as a workaround as suggested above? Alternatively you could've upgraded to any maintained version and try there. |