[
https://issues.apache.org/jira/browse/SOLR-9284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15437374#comment-15437374
]
Michael Sun commented on SOLR-9284:
-----------------------------------
bq. Why though (A removal listener is necessary if Caffeine cache is used.)
As long as the name can be removed (in this case, implicitly by Caffeine
cache), the block cache items related to that name needs to be removed as well.
That's the reason a removal listener is necessary.
bq. do we really need to explicitly free anything here
We don't explicitly free anything. The point is that names can be freed
implicitly by Caffeine cache. The doc of this behavior is mentioned in previous
comment.
> The HDFS BlockDirectoryCache should not let it's keysToRelease or names maps
> grow indefinitely.
> -----------------------------------------------------------------------------------------------
>
> Key: SOLR-9284
> URL: https://issues.apache.org/jira/browse/SOLR-9284
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: hdfs
> Reporter: Mark Miller
> Assignee: Mark Miller
> Fix For: 6.2, master (7.0)
>
> Attachments: SOLR-9284.patch, SOLR-9284.patch
>
>
> https://issues.apache.org/jira/browse/SOLR-9284
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]