lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-6091) Race condition in prioritizeOverseerNodes can trigger extra QUIT operations
Date Tue, 20 May 2014 22:00:39 GMT

    [ https://issues.apache.org/jira/browse/SOLR-6091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14004036#comment-14004036
] 

Shalin Shekhar Mangar commented on SOLR-6091:
---------------------------------------------

bq. maybe we can go further and include the id in the /overseer/leader file (e.g. 91790253334528928-<host>:8983_solr-n_0000000013)
so that the Overseer would only quit if its ID actually matched it completely.

+1

I'll work up a patch and try it out.

> Race condition in prioritizeOverseerNodes can trigger extra QUIT operations
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-6091
>                 URL: https://issues.apache.org/jira/browse/SOLR-6091
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.7, 4.8
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 4.9, 5.0
>
>         Attachments: SOLR-6091.patch
>
>
> When using the overseer roles feature, there is a possibility of more than one thread
executing the prioritizeOverseerNodes method and extra QUIT commands being inserted into the
overseer queue.
> At a minimum, the prioritizeOverseerNodes should be synchronized to avoid a race condition.



--
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