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

ZkStateReader can cache deleted collections and never refresh it

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.2.1
    • Fix Version/s: None
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      After a delete collection call, CLUSTERSTATUS starts breaking with this error permanently with this error 

      org.apache.solr.common.SolrException: Error loading config name for collection my_collection
          at org.apache.solr.common.cloud.ZkStateReader.readConfigName(ZkStateReader.java:198)
          at org.apache.solr.handler.admin.ClusterStatus.getClusterStatus(ClusterStatus.java:141)
      ...
      Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /collections/my_collection
      ...

      SOLR-10720 addresses the problem by skipping over the collection as it was aimed to fix the  race condition between delete collection and CLUSTERSTATUS being called.

       

      The fact that we see the error never go away , means there is another bug lingering which will make the state never refresh and thus other calls list LIST will always show the collection. 

       

      This happened with Solr 7.2.1 and doesn't happen very often. But when it does the only solution is to restart the node. 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                varunthacker Varun Thacker
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: