Github user dsmiley commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/528#discussion_r241967637
  
    --- Diff: 
solr/core/src/java/org/apache/solr/update/processor/DistributedStandaloneUpdateProcessor.java
 ---
    @@ -56,8 +59,15 @@ public void doDeleteByQuery(DeleteUpdateCommand cmd) 
throws IOException {
         super.doDeleteByQuery(cmd, Collections.emptyList(), null);
       }
     
    +  @Override
    +  protected void postProcessDeleteByQuery(DeleteUpdateCommand cmd,
    +                                          List<SolrCmdDistributor.Node> 
replicas, DocCollection coll) throws IOException {
    +    // no op
    +  }
    +
       @Override
       boolean isLeader(UpdateCommand cmd) {
    +    updateCommand = cmd;
    --- End diff --
    
    +1 to setupRequest name.  I don't think it needs to return "isLeader"; it 
should set this and return void.


---

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

Reply via email to