You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/06/16 16:52:31 UTC

[GitHub] [solr-sandbox] anshumg commented on a diff in pull request #24: Work around access limitations (what you can do here seems to vary by Java version)

anshumg commented on code in PR #24:
URL: https://github.com/apache/solr-sandbox/pull/24#discussion_r899319689


##########
crossdc-producer/src/main/java/org/apache/solr/update/processor/MirroringUpdateProcessor.java:
##########
@@ -113,8 +114,41 @@ private UpdateRequest createAndOrGetMirrorRequest() {
         if (distribPhase == DistributedUpdateProcessor.DistribPhase.NONE) {
           createAndOrGetMirrorRequest().deleteByQuery(cmd.query);
         }
+        if (log.isDebugEnabled())
+          log.debug("processDelete doMirroring={} cmd={}", doMirroring, cmd);
       }
+
+    }
+  }
+
+  private boolean isLeader(SolrQueryRequest req, String id, String route, SolrInputDocument doc) {

Review Comment:
   Looks good, let's clean this up in solr so we don't have to copy this.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org