apache / pulsar

Apache Pulsar - distributed pub-sub messaging system
https://pulsar.apache.org/
Apache License 2.0
14.26k stars 3.59k forks source link

[Bug] read entry failed cause `No such ledger exists on Bookies` with Orphan non-durable cursor #23280

Open ethqunzhong opened 2 months ago

ethqunzhong commented 2 months ago

Search before asking

Read release policy

Version

2.10.4

Minimal reproduce step

tmp

What did you expect to see?

tmp

What did you see instead?

  1. I found that there are intermittent read request failures on 3 bookies in the cluster.

    image
  2. It can be seen from the logs, These read requests come from trying to read a non-existent ledger, and the ensemble for this ledger consists of these three bookies.

  3. Related log as follows: image

  4. loop 3 in broker side.
    (This topic has no message in for a long time and no subscription.)

Anything else?

No response

Are you willing to submit a PR?