eolivelli opened a new pull request #11894:
URL: https://github.com/apache/pulsar/pull/11894


   Fix https://github.com/apache/pulsar/issues/11814 , if we use another topic 
to find the message, it will return the message, but we may contaminate the 
ledgers cache in the topic.
   
   **changes**
   Add check in the method 'internalGetMessageById' in PersistentTopicsBase, if 
the ledgerId not belong to this topic, throw a exception.
   
   (cherry picked from commit 9bfb3dba7c13e8250e1002efdeb39eec56f7e2da)
   
   
   


-- 
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]


Reply via email to