You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2018/10/04 16:43:09 UTC

lucene-solr:branch_7_5: SOLR-12814: Metrics history causing "HttpParser URI is too large >8192" when many collections This fixes #461

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7_5 5e35f63a4 -> 2f8cae6c2


SOLR-12814: Metrics history causing "HttpParser URI is too large >8192" when many collections
This fixes #461

(cherry picked from commit 5fb384c9898176d34fffe2b310a0a815d8aebecb)


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

Branch: refs/heads/branch_7_5
Commit: 2f8cae6c285fc8a756a48a3dc5999775659ce4ae
Parents: 5e35f63
Author: Jan Høydahl <ja...@apache.org>
Authored: Thu Oct 4 18:32:38 2018 +0200
Committer: Jan Høydahl <ja...@apache.org>
Committed: Thu Oct 4 18:42:45 2018 +0200

----------------------------------------------------------------------
 solr/CHANGES.txt                                                | 5 +++--
 .../solr/client/solrj/impl/SolrClientNodeStateProvider.java     | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2f8cae6c/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 0a455a8..f9ddd04 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -28,9 +28,10 @@ Velocity 1.7 and Velocity Tools 2.0
 Apache ZooKeeper 3.4.11
 Jetty 9.4.11.v20180605
 
+Bug Fixes
+----------------------
 
-(No Changes)
-
+* SOLR-12814: Metrics history causing "HttpParser URI is too large >8192" when many collections (janhoy)
 
 ==================  7.5.0 ==================
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2f8cae6c/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)