lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [22/30] lucene-solr:jira/http2: SOLR-12814: Metrics history causing "HttpParser URI is too large >8192" when many collections This fixes #461
Date Mon, 08 Oct 2018 02:30:44 GMT
SOLR-12814: Metrics history causing "HttpParser URI is too large >8192" when many collections
This fixes #461


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/5fb384c9
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/5fb384c9
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/5fb384c9

Branch: refs/heads/jira/http2
Commit: 5fb384c9898176d34fffe2b310a0a815d8aebecb
Parents: 36c6025
Author: Jan Høydahl <janhoy@apache.org>
Authored: Thu Oct 4 18:32:38 2018 +0200
Committer: Jan Høydahl <janhoy@apache.org>
Committed: Thu Oct 4 18:32:38 2018 +0200

----------------------------------------------------------------------
 solr/CHANGES.txt                                                   | 2 ++
 .../apache/solr/client/solrj/impl/SolrClientNodeStateProvider.java | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/5fb384c9/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 981881a..ae20fc3 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -160,6 +160,8 @@ Bug Fixes
   create inconsistencies between replicas of the same shard. min_rf parameter is now deprecated,
and even if provided
   replicas that don't ack an update from the leader will be marked for recovery. (Tomás
Fernández Löbbe)
 
+* SOLR-12814: Metrics history causing "HttpParser URI is too large >8192" when many collections
(janhoy)
+
 Improvements
 ----------------------
 * SOLR-12767: Solr now always includes in the response of update requests the achieved replication
factor

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/5fb384c9/solr/solrj/src/java/org/apache/solr/client/solrj/impl/SolrClientNodeStateProvider.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/SolrClientNodeStateProvider.java
b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/SolrClientNodeStateProvider.java
index d148e21..5a9d5b0 100644
--- a/solr/solrj/src/java/org/apache/solr/client/solrj/impl/SolrClientNodeStateProvider.java
+++ b/solr/solrj/src/java/org/apache/solr/client/solrj/impl/SolrClientNodeStateProvider.java
@@ -333,7 +333,7 @@ public class SolrClientNodeStateProvider implements NodeStateProvider,
MapWriter
         throws IOException, SolrServerException {
       String url = zkClientClusterStateProvider.getZkStateReader().getBaseUrlForNodeName(solrNode);
 
-      GenericSolrRequest request = new GenericSolrRequest(SolrRequest.METHOD.GET, path, params);
+      GenericSolrRequest request = new GenericSolrRequest(SolrRequest.METHOD.POST, path,
params);
       try (HttpSolrClient client = new HttpSolrClient.Builder()
           .withHttpClient(solrClient.getHttpClient())
           .withBaseSolrUrl(url)


Mime
View raw message