[MDEV-23252] Assertion failure 'req_type.is_dblwr_recover() || err == DB_SUCCESS' for page_compressed tables Created: 2020-07-22 Updated: 2020-07-22 Resolved: 2020-07-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.5.2 |
| Fix Version/s: | 10.5.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Thirunarayanan Balathandayuthapani |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | crash, regression | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
The function os_file_punch_hole() would return DB_IO_NO_PUNCH_HOLE if the underlying file system does not support the operation. This error code is silently transformed to DB_SUCCESS in IORequest::punch_hole(). In If the data directory resides in a file system that does not support the hole-punching, then the following test would crash:
An example of such a file system is encfs 1.9.5 set up on top of ext4 on Debian GNU/Linux. Note: A file system that does not support hole-punching will make the use of page_compressed tables pointless. Maybe we should issue some error on CREATE TABLE already? But that is a separate bug. |