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

Avoid redundant 'exists' calls made to ZK while fetching cluster state updates

    XMLWordPrintableJSON

Details

    Description

      As noted in https://issues.apache.org/jira/browse/SOLR-7636?focusedCommentId=14578332&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14578332

      we have CollectionsHandler -> ZK getChildren (/live_nodes) + ZK read (/clusterstate.json) + ZK getChildren + N * ZK exists (for getIndividualColls) + W * ZK exists + W * getData (for watched collections) + (N-W) * ZK exists + (N-W) * ZK getData (for non-watched collections).

      Some of the ZK exists calls can be avoided without changing the outcome.

      Attachments

        1. SOLR-7660.patch
          4 kB
          Shalin Shekhar Mangar
        2. SOLR-7660.patch
          6 kB
          Shalin Shekhar Mangar

        Activity

          People

            shalin Shalin Shekhar Mangar
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: