dragonls commented on issue #24697: URL: https://github.com/apache/pulsar/issues/24697#issuecomment-3251568851
> > Just slightly similar symptoms. This issue is using `reader`, that is `PersistentDispatcherSingleActiveConsumer`. > > The `havePendingRead` solution is problematic due to the lack of a proper definition and even proper implementation. There has been this change [#15046](https://github.com/apache/pulsar/pull/15046) in the past that might not be completely correct. We can see the full error log of `java.lang.IllegalStateException: Object has been recycled already.`. https://github.com/apache/pulsar/blob/aab48a1a985426648e027d8658e78a91268bc9cd/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentDispatcherSingleActiveConsumer.java#L161-L171 The above code (`PersistentDispatcherSingleActiveConsumer` in 3.0.7) is about the direct cause of this related exception. Due to the exception, there is no chance to turn `havePendingRead` back to `false`. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
