Skip to content

[Bug] Fix PopLiteLongPollingService#cleanUnusedResource #10071

@f1amingo

Description

@f1amingo

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

develop branch

JDK Version

Any.

Describe the Bug

The cleanUnusedResource method was cleaning up client long polling requests without returning results to clients, causing client errors.

Steps to Reproduce

Started a lite push consumer without subscribing to any liteTopics.
After 23s, we can see the following error logs.

Image

What Did You Expect to See?

No client error logs.

What Did You See Instead?

Client error logs.

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