lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <>
Subject [jira] [Commented] (SOLR-10822) Concurrent execution of Policy computations should yield correct result
Date Wed, 19 Jul 2017 22:17:00 GMT


Noble Paul commented on SOLR-10822:

Share a Policy.Session object across all the commands

* When a Policy.Session is required, try to borrow one
* if there is no session in use create one create one
* The session will be kept active as long as the suggestions from that session are being executed.
After all the suggestions are executed (or failed), the session can be destroyed
* If another command needs to do replica placement, and an active session is available, reuse
* If no suggestions from a session are being executed, discard the session

> Concurrent execution of Policy computations should yield correct result 
> ------------------------------------------------------------------------
>                 Key: SOLR-10822
>                 URL:
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Noble Paul
>              Labels: autoscaling
>             Fix For: 7.0
> Policy framework are now used to find replica placements by all collection APIs but since
these APIs can be executed concurrently, we can get wrong placements because of concurrently
running calculations. We should synchronize just the calculation part so that they happen

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message