Skip to content

InnoDB: Make UNDO log truncation crash safe #58

Description

@mfrankmysql

Summary:
Make UNDO tablespace truncation crash safe without relying on a local marker file.

Problem:
UNDO tablespace truncation currently uses a local undo_space_number_trunc.log file to detect incomplete truncation after crash. This creates dependency on an external local file.

Proposed approach:
Persist “UNDO truncation in progress” state in the UNDO tablespace header itself. During crash restart, recover the state from the tablespace and roll forward the truncation.

Expected benefits:
• Crash-safe UNDO truncation
• Removes dependency on local marker files
• More self-contained recovery state
• Improved reliability during startup recovery

Metadata

Metadata

Assignees

No one assigned

    Labels

    Performance & ObesrvabilityItems for improving speed, scalability, monitoring, diagnostics, and operational insightenhancementNew feature or request

    Fields

    No fields configured for Feature.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions