[ 
https://issues.apache.org/jira/browse/SOLR-7147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shalin Shekhar Mangar updated SOLR-7147:
----------------------------------------
    Attachment: SOLR-7147.patch

Patch which adds following static helper methods in TrackingShardHandlerFactory 
to enable tracking on all nodes:
{code}
public static void setTrackingQueue(MiniSolrCloudCluster cluster, 
Queue<ShardRequestAndParams> queue);

public static void setTrackingQueue(List<JettySolrRunner> runners, 
Queue<ShardRequestAndParams> queue);
{code}

I removed the proposed methods for tracking core admin and collection APIs. We 
can't track them with a shard handler factory and it is out of scope for this 
issue.

I'm working on a test.


> 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
>
>
> 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]

Reply via email to