Patson Luk created SOLR-16860:
---------------------------------

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


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: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to