[
https://issues.apache.org/jira/browse/SOLR-8447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15184775#comment-15184775
]
Markus Jelsma commented on SOLR-8447:
-------------------------------------
Allright, i know what causes it, it is retrieving an IndexSearcher from the
core.
{code}
@Override
public void processCommit(CommitUpdateCommand cmd) throws IOException {
if (next != null) {
next.processCommit(cmd);
}
SolrIndexSearcher searcher = core.getRealtimeSearcher().get();
}
{code}
I am not allowed to do this in an UpdateProcessor. Do i have to call close on
RefCount after i'm done with my logic? Does that also close the IndexSearcher?
> Nightly fail in org.apache.solr.handler.TestReplicationHandler: ObjectTracker
> found 9 object(s) that were not released!!! [NRTCachingDirectory, ...
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-8447
> URL: https://issues.apache.org/jira/browse/SOLR-8447
> Project: Solr
> Issue Type: Test
> Reporter: Mark Miller
> Priority: Minor
>
> Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-trunk/886/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]