[MDEV-8273] InnoDB: Assertion failure in file fil0pagecompress.cc line 532 Created: 2015-06-05  Updated: 2015-06-09  Resolved: 2015-06-09

Status: Closed
Project: MariaDB Server
Component/s: Encryption, Storage Engine - InnoDB, Storage Engine - XtraDB
Affects Version/s: 10.1.5
Fix Version/s: 10.1.6

Type: Bug Priority: Critical
Reporter: Jan Lindström (Inactive) Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: None


 Description   

Database corruption when using compression+encryption on FusionIO hw.

InnoDB: Corruption: Page is marked as compressed but decompression read only 3002783 bytes size 6611 len 16384 err=424967292.



 Comments   
Comment by Jan Lindström (Inactive) [ 2015-06-09 ]

How to repeat:

Create database for LinkBench using page compression and e.g. example_key_management. Start load phase by using trim and atomic writes.

Comment by Jan Lindström (Inactive) [ 2015-06-09 ]

commit 70b82efd20ec6682a6ede8552b1109d04d372e0c
Author: Jan Lindström <jan.lindstrom@mariadb.com>
Date: Mon Jun 8 19:36:35 2015 +0300

MDEV-8273: InnoDB: Assertion failure in file fil0pagecompress.cc line 532

Analysis: Problem was that actual payload size (page size) after compression
was handled incorrectly on encryption. Additionally, some of the variables
were not initialized.

Fixed by encrypting/decrypting only the actual compressed page size.

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