[
https://issues.apache.org/jira/browse/SOLR-16860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17740096#comment-17740096
]
ASF subversion and git services commented on SOLR-16860:
--------------------------------------------------------
Commit 1bdaf44676c29931b1749e8275732c6987fccd4f in solr's branch
refs/heads/main from patsonluk
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=1bdaf44676c ]
SOLR-16860: Remove watch from ZkStateReader of Coordinator Node when collection
is deleted (#1752)
> Coordinator ZkStateReader's watch is not removed upon collection deletion
> -------------------------------------------------------------------------
>
> Key: SOLR-16860
> URL: https://issues.apache.org/jira/browse/SOLR-16860
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrCloud
> Affects Versions: 9.2.1
> Reporter: Patson Luk
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Core registration in CoordinatorHttpCall correctly registers watch in
> ZkStateReader as in
> https://github.com/apache/solr/blob/f774922ecf44b18b78435cef8735618bb793ac30/solr/core/src/java/org/apache/solr/servlet/CoordinatorHttpSolrCall.java#L99,
> however there’s no code to remove such watch on collection deletion (state
> update).
> For non coordinator node, it’s done at UnloadCoreOnDeleteWatcher at
> https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/cloud/ZkController.java#L2869
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]