hemantk-12 commented on PR #4568: URL: https://github.com/apache/ozone/pull/4568#issuecomment-1532111352
> > One question though, do you know if it is possible to set both softValues() and maximumSize() on the cache? Would that give us the desired behaviour without reference counting? > > @GeorgeJahad AFAIU, unfortunately as soon as `maximumSize(limit)` is added, `limit` becomes a hard limit. It will start invalidating cache entries when the `limit` would be exceeded thus we would have the same issue as before. That's my understanding too. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
