DistributedUpdateProcessor's isReplayOrPeerSync

2013-05-23 Thread Shalin Shekhar Mangar
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; --

Re: DistributedUpdateProcessor's isReplayOrPeerSync

2013-05-23 Thread Mark Miller
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