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

Yonik Seeley updated SOLR-2809:
-------------------------------

    Attachment: SOLR-2809.patch

OK, here's a proof-of-concept lease manager that implements the core 
functionality.  It's nice and small since it just uses the existing searcher 
management code.

The remaining work would be integration & HTTP-API:
- SolrCore would have a LeaseManager
- if a lease key is passed in, look up the searcher in the lease manager rather 
than getting the most recently registered searcher
- at the end of a request, do the lease if requested, and return the lease key 
to the client

> searcher leases
> ---------------
>
>                 Key: SOLR-2809
>                 URL: https://issues.apache.org/jira/browse/SOLR-2809
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>         Attachments: SOLR-2809.patch
>
>
> Leases/reservations on searcher instances would give us the ability to use 
> the same searcher across phases of a distributed search, or for clients to 
> send multiple requests and have them hit a consistent/unchanging view of the 
> index. The latter requires something extra to ensure that the load balancer 
> contacts the same replicas as before.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to