Skip to content

[Bug] TimerMetrics and TransactionMetrics's backup file need flush before delete #9412

Open
@GenerousMan

Description

@GenerousMan

Before Creating the Bug Report

  • I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

all

RocketMQ version

5.x

JDK Version

all

Describe the Bug

when the broker crash, metric files may be deleted, and the back up file may not flush completely. So the recover process may be stopped.

Steps to Reproduce

multiple broker crash.

What Did You Expect to See?

recover normally.

What Did You See Instead?

maybe can't start the broker

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions