lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tommaso Teofili (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-5826) Request caching SolrServer
Date Fri, 07 Mar 2014 10:33:42 GMT

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

Tommaso Teofili updated SOLR-5826:
----------------------------------

    Attachment: SOLR-5826.patch

attached first draft patch which introduces a RequestCachingSolrServer.
It still needs to be improved to switch from active to passive wait for consuming cached requests.
The testcase needs to be adjusted as it only works for me from IDE (strangely failing from
ant due to File permissions on the index ..).

> Request caching SolrServer
> --------------------------
>
>                 Key: SOLR-5826
>                 URL: https://issues.apache.org/jira/browse/SOLR-5826
>             Project: Solr
>          Issue Type: New Feature
>          Components: clients - java
>            Reporter: Tommaso Teofili
>            Assignee: Tommaso Teofili
>             Fix For: 5.0
>
>         Attachments: SOLR-5826.patch
>
>
> As stated in http://markmail.org/thread/a477kyxsp5xrusdu there're scenarios where an
application communicating with Solr needs to not loose requests (especially update/indexing
requests) that may fail because Solr instance / cluster is not reachable for some time.
> For such scenarios it may helpful to have a wrapping SolrServer which can cache (in a
FIFO queue, so that they get executed in order) requests when the Solr endpoint is not reachable
and execute them as soon as it's reachable again.



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

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


Mime
View raw message