You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Henri Biestro (JIRA)" <ji...@apache.org> on 2008/08/26 15:07:44 UTC

[jira] Issue Comment Edited: (SOLR-723) SolrCore & aliasing/swapping may lead to confusing JMX

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

henrib edited comment on SOLR-723 at 8/26/08 6:06 AM:
-------------------------------------------------------------

Yonik's comment in solr-725 makes an analogy between name/aliases and the SolrCore that's close to what hard-links are to inodes.
What if we were to consider the 'inode' as the sole think that really uniquely identifies a SolrCore, that is it's *dataDir*?
The SolrCore *name* would not be used for that purpose and would only happen to be the first alias (as it stands now).
This would allow solving this issue by changing how we register a core into JMX  (with its relative path to the solr.solr.home dir or something close to that) and have no swapping, etc.
Just a thought.

      was (Author: henrib):
    Yonik's comment in solr-725 makes an analogy between name/aliases and the SolrCore that's close to what hard-links are to inodes.
What if we were to consider the 'inode' as the sole think that really uniquely identifies a SolrCore, that is it's dataDir?
The SolrCore *name* would not be used for that purpose and would only happen to be the first alias (as it stands now).
This would allow solving this issue by changing how we register a core into JMX  (with its relative path to the solr.solr.home dir or something close to that) and have no swapping, etc.
Just a thought.
  
> SolrCore & aliasing/swapping may lead to confusing JMX
> ------------------------------------------------------
>
>                 Key: SOLR-723
>                 URL: https://issues.apache.org/jira/browse/SOLR-723
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Henri Biestro
>            Priority: Minor
>
> As mentioned by Yonik in SOLR-647, JMX registers the core with its name.
> After swapping or re-aliasing the core, the JMX tracking name does not correspond to the actual core anymore.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.