Cluster Node ID should be trimmed
---------------------------------

                 Key: JCR-3116
                 URL: https://issues.apache.org/jira/browse/JCR-3116
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: clustering, config, jackrabbit-core
    Affects Versions: 2.3.1, 2.2.9
            Reporter: Julian Sedding
            Priority: Trivial


If the cluster node ID is not configured in repository.xml, it is read from the 
file cluster_node.id instead. In case this file is edited by hand, some editors 
(e.g. vi) insert a trailing newline character ("\n"). This leads to the cluster 
node ID to contain a blank character. While I don't expect this to cause any 
issues, it is inconvenient for debugging and also introduces line-breaks in log 
files. I suggest to trim the cluster node ID, so only non-blank characters are 
used.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to