Good catch!

- Mark

On May 23, 2013, at 3:00 PM, Shalin Shekhar Mangar <shalinman...@gmail.com> 
wrote:

> I see the following in solr's DistributedUpdateProcessor:
> 
> boolean isReplayOrPeersync = (cmd.getFlags() & (UpdateCommand.REPLAY | 
> UpdateCommand.REPLAY)) != 0;
> 
> Shouldn't that be the following?
> 
> boolean isReplayOrPeersync = (cmd.getFlags() & (UpdateCommand.REPLAY | 
> UpdateCommand.PEER_SYNC)) != 0;
> 
> -- 
> Regards,
> Shalin Shekhar Mangar.


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

Reply via email to