[MDEV-26847] improve encryption/compression check in ALTER TABLE IMPORT Created: 2021-10-18  Updated: 2023-04-27

Status: Open
Project: MariaDB Server
Component/s: Data Definition - Alter Table, Storage Engine - InnoDB
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6
Fix Version/s: 10.4, 10.5, 10.6

Type: Bug Priority: Major
Reporter: Eugene Kosov (Inactive) Assignee: Vladislav Lesin
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Blocks
is blocked by MDEV-18543 IMPORT TABLESPACE fails after instant... Closed

 Description   

fil_iterate() and FetchIndexRootPages::run() decrypt and decompress pages. Both eventually iterate all the pages in a table. And both can and should perform a better page validation. Like, if FSP flags say that the page should be encrypted but it's not encrypted and error must be reported. Similar should be done with page compression. https://jira.mariadb.org/browse/MDEV-18543 when landed will have a similar check which is already a little stricter. The check could be copied to the above function and if possible it should be improved further.


Generated at Thu Feb 08 09:48:25 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.