[
https://issues.apache.org/jira/browse/SOLR-7147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14337953#comment-14337953
]
Shalin Shekhar Mangar commented on SOLR-7147:
---------------------------------------------
bq. Is this TrackingShardHandlerFactory really useful only for tests? Wouldn't
this be a useful debugging tool in general?
Yeah, it is horrible for any non-test usage. Once you set the tracking queue,
it will hold all shard requests including their parameter and the responses in
memory. So I don't see it being generally useful in it's current form.
> Introduce new TrackingShardHandlerFactory for monitoring what requests are
> sent to shards during tests
> ------------------------------------------------------------------------------------------------------
>
> Key: SOLR-7147
> URL: https://issues.apache.org/jira/browse/SOLR-7147
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
> Attachments: SOLR-7147.patch, SOLR-7147.patch, SOLR-7147.patch,
> SOLR-7147.patch, SOLR-7147.patch, SOLR-7147.patch
>
>
> this is an idea shalin proposed as part of the testing for SOLR-7128...
> bq. I created a TrackingShardHandlerFactory which can record shard requests
> sent from any node. There are a few helper methods to get requests by shard
> and by purpose.
> ...
> bq. I will likely move the TrackingShardHandlerFactory into its own issue
> because it is helpful for other distributed tests as well. I also need to
> decouple it from the MiniSolrCloudCluster abstraction.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]