Skip to content

MDEV-40080: innodb_log_archive=ON corruption - #5569

Open
dr-m wants to merge 1 commit into
13.0from
MDEV-40080
Open

MDEV-40080: innodb_log_archive=ON corruption#5569
dr-m wants to merge 1 commit into
13.0from
MDEV-40080

Conversation

@dr-m

@dr-m dr-m commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

log_t::write_checkpoint(): Extend the the correct file.

log_t::archived_mmap_switch_prepare(): Tolerate a near-concurrent buf_flush_archive_create() from the buf_flush_page_cleaner() thread.

This fixes up #4817. I tested both changes with the test case in MDEV-40080. The first one is for the WITH_INNODB_PMEM=OFF code path (pwrite based log writes), and the second one is for the memory-mapped log writes.

log_t::write_checkpoint(): Extend the the correct file.

log_t::archived_mmap_switch_prepare(): Tolerate a near-concurrent
buf_flush_archive_create() from the buf_flush_page_cleaner() thread.
@dr-m
dr-m requested a review from Thirunarayanan August 18, 2026 12:08
@dr-m dr-m self-assigned this Aug 18, 2026
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants