This is an automated email from the ASF dual-hosted git repository. gerlowskija pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push: new 4510baf059f Remove errant 'wt'-checking for file-fetching 4510baf059f is described below commit 4510baf059f6e5e22b677f3982fa25fa81d074aa Author: Jason Gerlowski <gerlowsk...@apache.org> AuthorDate: Wed Dec 4 12:27:59 2024 -0500 Remove errant 'wt'-checking for file-fetching --- .../src/java/org/apache/solr/handler/ReplicationHandler.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/solr/core/src/java/org/apache/solr/handler/ReplicationHandler.java b/solr/core/src/java/org/apache/solr/handler/ReplicationHandler.java index 2424addaff8..d059ad38d53 100644 --- a/solr/core/src/java/org/apache/solr/handler/ReplicationHandler.java +++ b/solr/core/src/java/org/apache/solr/handler/ReplicationHandler.java @@ -76,7 +76,6 @@ import org.apache.solr.client.api.model.IndexVersionResponse; import org.apache.solr.client.api.model.SolrJerseyResponse; import org.apache.solr.common.SolrException; import org.apache.solr.common.SolrException.ErrorCode; -import org.apache.solr.common.params.CommonParams; import org.apache.solr.common.params.CoreAdminParams; import org.apache.solr.common.params.ModifiableSolrParams; import org.apache.solr.common.params.SolrParams; @@ -347,14 +346,6 @@ public class ReplicationHandler extends RequestHandlerBase return; } - if (solrParams.getParams(CommonParams.WT) == null) { - reportErrorOnResponse( - rsp, - "Missing wt parameter", - new SolrException(SolrException.ErrorCode.BAD_REQUEST, "wt not specified in request")); - return; - } - coreReplicationAPI.fetchFile( fileName, dirType,