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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]