You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "ethqunzhong (via GitHub)" <gi...@apache.org> on 2024/09/10 08:49:05 UTC

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

ethqunzhong opened a new issue, #23280:
URL: https://github.com/apache/pulsar/issues/23280

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Read release policy
   
   - [X] 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.
   
   
   ### 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.
   <img width="879" alt="image" src="https://github.com/user-attachments/assets/57302430-7a38-42d5-b84b-8cbdd7d609a7">
   
   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:
   <img width="1914" alt="image" src="https://github.com/user-attachments/assets/505b2631-08f5-4121-80d1-7feb843cc2f1">
   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?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] read entry failed cause `No such ledger exists on Bookies` with Orphan non-durable cursor [pulsar]

Posted by "merlimat (via GitHub)" <gi...@apache.org>.
merlimat commented on issue #23280:
URL: https://github.com/apache/pulsar/issues/23280#issuecomment-6380985411

   Thanks for the report, @ethqunzhong. 2.10.x is no longer supported, and the issue doesn't have steps to reproduce yet (the template fields say "tmp"), and a lot of the managed ledger and cursor code involved has changed since 2.10. Could you check whether this still happens on a currently supported release (4.0.x, 4.2.x or 5.0.x)? If it does, please share how the non-durable cursor is created (reader, `subscriptionMode=NonDurable`, or something else), the topic's retention settings, `pulsar-admin topics stats-internal` output for the topic, and the broker logs as text around the failing reads. If there's no update, this issue will be closed in a few weeks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org