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:38:04 UTC
lucene-solr:master: SOLR-12814: Metrics history causing "HttpParser
URI is too large >8192" when many collections This fixes #461
Repository: lucene-solr
Updated Branches:
refs/heads/master 36c60251f -> 5fb384c98
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/master
Commit: 5fb384c9898176d34fffe2b310a0a815d8aebecb
Parents: 36c6025
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: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)