You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Tomás Fernández Löbbe (JIRA)" <ji...@apache.org> on 2013/03/22 13:15:17 UTC

[jira] [Updated] (SOLR-3774) /admin/mbean returning duplicate search handlers with names that map to their classes?

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

Tomás Fernández Löbbe updated SOLR-3774:
----------------------------------------

    Attachment: SOLR-3774.patch

This fixes the issue. I chose not to modify the RequestHandler interface to add a "setName" method because I think it may be too much impact for this issue, Instead of it I edited the RequestHandlerBase class, but because of that I had to do some instanceofs to set the name. I'm open to other opinions on that. 
The RH are still being registered twice now, but now with the same name, not sure if we should change that because there is no real impact. 
                
> /admin/mbean returning duplicate search handlers with names that map to their classes?
> --------------------------------------------------------------------------------------
>
>                 Key: SOLR-3774
>                 URL: https://issues.apache.org/jira/browse/SOLR-3774
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>         Attachments: SOLR-3774.patch
>
>
> Offshoot of SOLR-3232...
> bq. Along with some valid entries with names equal to the request handler names (/get search /browse) it also turned up one with the name "org.apache.solr.handler.RealTimeGetHandler" and another with the name "org.apache.solr.handler.component.SearchHandler"
> ...seems that we may have a bug with request handlers getting registered multiple times, once under their "real" name and once using their class?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org