You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2013/05/24 06:37:19 UTC

[jira] [Updated] (SOLR-4855) DistributedUpdateProcessor doesn't check for peer sync

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

Shalin Shekhar Mangar updated SOLR-4855:
----------------------------------------

    Attachment: SOLR-4855.patch

Fix attached.

I don't know how to write a test for this but at least nothing breaks with the fix.
                
> DistributedUpdateProcessor doesn't check for peer sync
> ------------------------------------------------------
>
>                 Key: SOLR-4855
>                 URL: https://issues.apache.org/jira/browse/SOLR-4855
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>         Attachments: SOLR-4855.patch
>
>
> DistributedUpdateProcessor has the following code:
> {code}
> boolean isReplayOrPeersync = (cmd.getFlags() & (UpdateCommand.REPLAY | UpdateCommand.REPLAY)) != 0;
> {code}
> It should be replaced by:
> {code}
> boolean isReplayOrPeersync = (cmd.getFlags() & (UpdateCommand.REPLAY | UpdateCommand.PEER_SYNC)) != 0;
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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