[ 
https://issues.apache.org/jira/browse/SOLR-14394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17077591#comment-17077591
 ] 

David Smiley commented on SOLR-14394:
-------------------------------------

When I investigated this last week and ran tests, I found a bug wherein the V2 
API does not "see" these lazy request handlers because they are not registered. 
 I locally hacked {{org.apache.solr.core.PluginBag#put(java.lang.String, 
org.apache.solr.core.PluginBag.PluginHolder<T>)}} to make it work but it's just 
an experimental nocommit.  The real problem is that 
{{org.apache.solr.api.ApiSupport#registerV2}} exists when in this day & age, 
simply everything should register as V2.  So that's a bit of dependent 
tech-debt.

> Many request handlers should be startup=lazy
> --------------------------------------------
>
>                 Key: SOLR-14394
>                 URL: https://issues.apache.org/jira/browse/SOLR-14394
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: David Smiley
>            Priority: Minor
>
> Solr cores track a lot of granular metric information per request handler.  
> This is noise for a request handler that we aren't even using!  The vast 
> majority of request handlers are not used in a typical app.  That doesn't 
> mean they shouldn't be available for use, I'm only saying that they aren't 
> until perhaps for diagnostic purposes or something.  *I think it would be 
> better to not track metrics on something until we actually use it.*  For a 
> request handler, this is done by setting startup=lazy.  Most implicitly 
> registered plugins should have this set in ImplicitPlugins.json.  
> CC [~ab] [~noble.paul]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to