Skip to content

PXB-3606 Backup may succeed with incomplete redo log#1704

Open
JoeJRW wants to merge 1 commit into
percona:trunkfrom
JoeJRW:PXB-3606
Open

PXB-3606 Backup may succeed with incomplete redo log#1704
JoeJRW wants to merge 1 commit into
percona:trunkfrom
JoeJRW:PXB-3606

Conversation

@JoeJRW

@JoeJRW JoeJRW commented Sep 19, 2025

Copy link
Copy Markdown
Contributor

Description

The backup log shows "Unable to open #ib_redo (error: 1504)", but the
backup was still successful with "Complete OK!".

Analysis

After backing up all files, xtrabackup get last_lsn from
performance_schema.log_status. If an exception occurs when copying to
the last_lsn, such as a redo log purge, xtrabackup does not handle the
error correctly, resulting in a backup set that is missing redo log.

Fix

Complete error handling during redo log copying.

    
Description
===========
The backup log shows "Unable to open #ib_redo (error: 1504)", but the
backup was still successful with "Complete OK!".
    
Analysis
========
After backing up all files, xtrabackup get last_lsn from
performance_schema.log_status. If an exception occurs when copying to
the last_lsn, such as a redo log purge, xtrabackup does not handle the
error correctly, resulting in a backup set that is missing redo log.
    
Fix
===
Complete error handling during redo log copying.
@it-percona-cla

it-percona-cla commented Sep 19, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants