lucene-issues 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 Sat, 02 Nov 2019 06:03:00 GMT


Noble Paul commented on SOLR-10822:

It's supposed to work as follows

 * One thread acquire the session and compute some placements. and the session is not closed
 * as the actual execution and creation of replicas might take some time, some other operations
are getting called
 * So the session state assumes that the previous computed replicas are created and the next
computation will be done on the basis of the previous state
 * Once the actual replicas are created the session is no more needed and closed
 * The synchronization is only done while computing the replica positions 

> Concurrent execution of Policy computations should yield correct result 
> ------------------------------------------------------------------------
>                 Key: SOLR-10822
>                 URL:
>             Project: Solr
>          Issue Type: Sub-task
>          Components: SolrCloud
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Noble Paul
>            Priority: Major
>              Labels: autoscaling
>             Fix For: 7.1, 8.0
>         Attachments: SOLR-10822.patch
> 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