apache / apache/pulsar

[Bug] Backlog abnormal increase in a delay queue

Open
#18,139 6 comments 0 reactions 1 assignee Claimed by @mattisonchao View on GitHub
Stale type/bug
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.

### Version

OS: tlinux(CentOS)
pulsar-broker-version: pulsar-2.10.0

### Minimal reproduce step

This is a persistent partitioned topic, acctually we made it a delay queue, means that we do not consume msgs and send an ack immediately.
After a period of normal operation,some of these partitiones became unhealth. We found those partition's backlog was increasing abnormal, but there wasn't any logs helpful.
We tried to clear-backlog for the target subscription of the abnormal partition, the backlog decrease rapidly, but soon became abnormal again, as the following pic.
![image](https://user-images.githubusercontent.com/28603029/196941408-8e791357-711f-4920-b4da-1208f1cbaa64.png)

### What did you expect to see?

All partitiones of these topic became nromal.

### What did you see instead?

As I described in "Minimal reproduce step"

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.