Skip to content

[Bug] Noisy warning log in DrainingHashesTracker.ConsumerDrainingHashesStats#updateConsumerStats #25277

Closed

Description

@lhotari

Search before reporting

  • I searched in the issues and found nothing similar.

Read release policy

  • I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.

User environment

master branch

Issue Description

There's a log message log.warn("[{}] Draining hash {} not found in the tracker for consumer {}", dispatcherName, hash, consumer); here:

log.warn("[{}] Draining hash {} not found in the tracker for consumer {}", dispatcherName, hash,

Initially in the PIP-379, the stats were strongly consistent with the draining hashes state. This caused dead locks and the deadlock was fixed in #23854.

The warning log no longer makes sense and should be changed to debug logging.

Error messages


Reproducing the issue

n/a

Additional information

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Activity

  1. added
    type/bug
    on Mar 2, 2026
  2. added
    good first issue
    and removed
    good first issue
    on Apr 17, 2026
  3. added a commit that references this issue on Apr 21, 2026
    c88288c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuetype/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions