Skip to content

[Bug] avoid recreate topic in ConsumeQueueTable in readonly operation for deleted topic #9792

@absolute8511

Description

@absolute8511

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

Any

RocketMQ version

5.0.0+

JDK Version

Any

Describe the Bug

topic info will be recreated in memory in the read only operation

Steps to Reproduce

  1. delete topic
  2. flush topic or getMaxOffset for the topic queue

What Did You Expect to See?

do not recreate topic info in memory for deleted topic in read only operation.

What Did You See Instead?

topic info recreated in memory

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