Technoboy- commented on PR #23524:
URL: https://github.com/apache/pulsar/pull/23524#issuecomment-2463573106

   > @Technoboy- I'm working on a broader refactoring to address the issue. 
There are multiple challenges. I have reported multiple issues, #23482, #23504, 
#23505 and #23506. I'm working to resolve them soon. While fixing the issues, I 
have discovered more. For example, when reads get de-duplicated by 
PendingReadsManager and there are partial matches, the permits will get 
acquired also for the partial reads. I have a large change set in progress, 
which I will split into smaller pull requests once I have addressed the issues 
with the refactoring and the improvements and I have tests passing. Since my 
main goal is to improve caching for Key_Shared subscriptions, this has revealed 
more gaps in addressing that. In the current solution replay reads aren't 
cached at all. I noticed that @eolivelli has reported a related issue #16421 
about that for Shared subscriptions. The comment [#16421 
(comment)](https://github.com/apache/pulsar/issues/16421#issuecomment-1177516197)
 is relevant. Messages
  in the replay queues shouldn't be discarded from the cache. I'm also trying 
to address that in my experiments. That's why the changes have expanded to also 
address broker cache short comings.
   
   ok,  i will close this patch.


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