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

Niko Vuokko commented on ZOOKEEPER-1946:
----------------------------------------

Manual test for minor fix:
1) Configure 3 servers (1,2,3) where two first agree on the configuration, but 
the configuration on server 3 differs on its own ports.
2) Start servers 1 and 2 and once quorum is achieved, start 3.
3) QuorumPeer log messages on server 3 first contain the differing port. After 
joining the quorum the messages switch to containing the port provided by 
server 1 and 2 quorum.

> Server logging should reflect dynamically reconfigured address
> --------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1946
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1946
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 3.5.0
>            Reporter: Niko Vuokko
>            Priority: Minor
>              Labels: patch
>         Attachments: ZOOKEEPER-1946.patch
>
>
> The server's client address:port is part of the QuorumPeer's thread name and 
> thus shown in logs. Thread name is not currently updated after dynamic 
> reconfiguration of the address, resulting in confusing log entries.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to