lordcheng10 commented on pull request #14985:
URL: https://github.com/apache/pulsar/pull/14985#issuecomment-1086582710


   > Make sense. IMO, `markDeletedPosition` is better than `readPosition` in 
normal case. Maybe we can use `markDeletedPosition` by default, and use 
`readPosition` iff overall cache usage is over some threshold (like 85%)?
   
   Fixed. PTAL,thanks! @Jason918 
   1.add unit test;
   2.use markDeletedPosition by default;
   3.fix evictionPos: use markDeletedPosition.next;


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