[MDEV-8390] innodb.innodb-flush-changed-page-bitmaps crashes Created: 2015-06-28  Updated: 2015-06-29  Resolved: 2015-06-29

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

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

Sprint: 10.1.6-2

 Description   

innodb.innodb-flush-changed-page-bitmaps test crashes. It started crashing immediately after it was introduced in

commit b7ff2f1b59c42171ff50fc682e8f723f0713d688
Author: Jan Lindström <jan.lindstrom@mariadb.com>
Date:   Tue Jun 23 14:36:24 2015 +0300
 
    MDEV-7472: Implementation of user statements for handling the xtradb changed
    
    Introduce a new dummy INFORMATION_SCHEMA.CHANGED_PAGE_BITMAPS table to XtraD
    with reset_table callback to allow FLUSH NO_WRITE_TO_BINLOG CHANGED_PAGE_BIT
    to be called from innobackupex.



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

commit 4fac6269172eab2be0490a12936248113d14848d
Author: Jan Lindström <jan.lindstrom@mariadb.com>
Date: Mon Jun 29 12:48:42 2015 +0300

MDEV-8390: innodb.innodb-flush-changed-page-bitmaps crashes

Analysis: Flush changed page bitmaps calls log_online_follow_redo_log
that later calls log_group_read_log_seg with release_mutex = true
and that causes the log_sys mutex being released before
log_decrypt_after_read function that later required log_sys mutex.

Fix: Enter log_sys mutex before log_decrypt_after_read if mutex
is released and release the mutex after the function if we
acquired it before function call.

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