[SOLR-18176] HttpShardHandler query throughput bottleneck from ZooKeeper#4237
Open
mlbiscoc wants to merge 1 commit intoapache:mainfrom
Open
[SOLR-18176] HttpShardHandler query throughput bottleneck from ZooKeeper#4237mlbiscoc wants to merge 1 commit intoapache:mainfrom
mlbiscoc wants to merge 1 commit intoapache:mainfrom
Conversation
HoustonPutman
approved these changes
Mar 24, 2026
dsmiley
approved these changes
Mar 24, 2026
Contributor
dsmiley
left a comment
There was a problem hiding this comment.
Nice!!!
Remember ./gradlew writeChangelog
Thankfully, org.apache.solr.servlet.HttpSolrCall is also asking for the cached version (2 places).
Makes me wonder, what other callers of getCollection (thus allowCached) were making a deliberate decision vs accidental? IMO the cached version should be the default, if there should even be a default.
Contributor
Author
I agree. I thought about the same thing but I have no idea of the impact and potential consequences of making that change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://issues.apache.org/jira/browse/SOLR-18176
HttpShardHandler was bottlenecking in throughput due to
CloudReplicaSourcerecalling for ZooKeeper collection state with everydistribrequest due to the missingallowCache=trueparameter. This resulted in large CPU utilization in ZooKeeper and thesynchronizedcall blocking QTP threads waiting for zookeeper response.See JIRA above for more detailed information.