lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SOLR-6091) Race condition in prioritizeOverseerNodes can trigger extra QUIT operations
Date Wed, 28 May 2014 16:55:02 GMT

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

Noble Paul edited comment on SOLR-6091 at 5/28/14 4:53 PM:
-----------------------------------------------------------

I have fixed this and I have logged it whenever a race condition occurs. So , the logs say
that the race condition occurs . But after a few (10+) restarts I could still end up without
an Overseer . SOLR-6095 is another issue I have identified and fixed it for local testing
. So these 2 issues together have resolved the problem. I have patches for both and will post
them once some tests are added


was (Author: noble.paul):
I have fixed this and I have logged it whenever a race condition occurs. So , the logs say
that the race condition occurs . But after a few (10+) restarts I could still end up without
an Overseer . SOLR-6095 is another issue I have identified and fixed it for local testing
. So these 2 issues together have resolved the problem

> 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: Noble Paul
>             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