Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-16860

Coordinator ZkStateReader's watch is not removed upon collection deletion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 9.2.1
    • 9.3
    • SolrCloud
    • None

    Description

      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

      Attachments

        Activity

          People

            noble.paul Noble Paul
            patson Patson Luk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h