You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2016/02/19 18:31:18 UTC

[jira] [Updated] (SOLR-8691) cache index fingerprint

     [ https://issues.apache.org/jira/browse/SOLR-8691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley updated SOLR-8691:
-------------------------------
    Attachment: SOLR-8691.patch

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.

> cache index fingerprint
> -----------------------
>
>                 Key: SOLR-8691
>                 URL: https://issues.apache.org/jira/browse/SOLR-8691
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>            Priority: Minor
>         Attachments: SOLR-8691.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org