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

Optimize ZkController.publishAndWaitForDownStates

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2, 7.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      ZkController.publishAndWaitForDownStates keeps looping over all collections in the cluster state to ensure that every replica hosted on the current node has been marked as down. This is wasteful when you have a large number of collections because each access to a non-watched collection gets data from ZK. Instead, we can watch the interesting collections (i.e. which have replicas hosted locally) and wait till we see the required state.

        Attachments

        1. SOLR-9264.patch
          5 kB
          Shalin Shekhar Mangar
        2. SOLR-9264.patch
          5 kB
          Shalin Shekhar Mangar
        3. SOLR-9264.patch
          4 kB
          Shalin Shekhar Mangar

          Activity

            People

            • Assignee:
              shalin Shalin Shekhar Mangar
              Reporter:
              shalin Shalin Shekhar Mangar

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment