You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2011/11/27 18:34:14 UTC
svn commit: r1206775 -
/lucene/dev/branches/solrcloud/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java
Author: markrmiller
Date: Sun Nov 27 17:34:13 2011
New Revision: 1206775
URL: http://svn.apache.org/viewvc?rev=1206775&view=rev
Log:
add a comment / remove a comment
Modified:
lucene/dev/branches/solrcloud/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java
Modified: lucene/dev/branches/solrcloud/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/solrcloud/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java?rev=1206775&r1=1206774&r2=1206775&view=diff
==============================================================================
--- lucene/dev/branches/solrcloud/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java (original)
+++ lucene/dev/branches/solrcloud/solr/core/src/java/org/apache/solr/update/SolrCmdDistributor.java Sun Nov 27 17:34:13 2011
@@ -154,10 +154,8 @@ public class SolrCmdDistributor {
flushDeletes(1, cmd, shardStr);
-
UpdateRequestExt ureq = new UpdateRequestExt();
- // pass on SEEN_LEADER
- // TODO: perhaps we should just pass all the incoming params...
+
if (ureq.getParams() == null) {
ureq.setParams(new ModifiableSolrParams());
}
@@ -382,6 +380,7 @@ public class SolrCmdDistributor {
}
}
+ // nocommit: just for kicks at the moment...
if (failed <= (expectedResponses / 2)) {
// don't fail if half or more where fine
rsp.setException(null);