Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: None
    • Labels:
      None

      Description

      When there are a high number of replicas, there may be many PeerSync calls (with fingerprinting). We can cache the current fingerprint with the current SolrIndexSearcher so it can be reused if the index hasn't changed.

      1. SOLR-8691.patch
        3 kB
        Yonik Seeley

        Activity

        Hide
        yseeley@gmail.com Yonik Seeley added a comment -

        Here's the patch for caching... adds an internal SolrIndexSearcher.getIndexFingerprint() as well as a simple sync lock so multiple threads aren't calculating it at the same time.

        Show
        yseeley@gmail.com Yonik Seeley added a comment - Here's the patch for caching... adds an internal SolrIndexSearcher.getIndexFingerprint() as well as a simple sync lock so multiple threads aren't calculating it at the same time.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 12032646406239e3d4afb84652cdbf91d0025ea4 in lucene-solr's branch refs/heads/master from Yonik Seeley
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1203264 ]

        SOLR-8691: Cache index fingerprints per searcher

        Show
        jira-bot ASF subversion and git services added a comment - Commit 12032646406239e3d4afb84652cdbf91d0025ea4 in lucene-solr's branch refs/heads/master from Yonik Seeley [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1203264 ] SOLR-8691 : Cache index fingerprints per searcher

          People

          • Assignee:
            yseeley@gmail.com Yonik Seeley
            Reporter:
            yseeley@gmail.com Yonik Seeley
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development