[
https://issues.apache.org/jira/browse/ZOOKEEPER-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14112577#comment-14112577
]
Alexander Shraer commented on ZOOKEEPER-2000:
---------------------------------------------
no, the operation completes when the commit&activate message is sent. This
message may cause a leader election, but the reconfig operation may have
completed by then.
The error "expected:<test[1]> but was:<test[0]>" seems like a safety issue -
data is being read but its the wrong data, this shouldn't happen.
> Fix ReconfigTest.testPortChange
> -------------------------------
>
> Key: ZOOKEEPER-2000
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2000
> Project: ZooKeeper
> Issue Type: Bug
> Components: tests
> Affects Versions: 3.5.0
> Reporter: Alexander Shraer
> Assignee: Alexander Shraer
> Priority: Minor
> Fix For: 3.5.0
>
> Attachments: ZOOKEEPER-2000.patch, ZOOKEEPER-2000.patch
>
>
> testPortChange changes all ports and role of the server and thus
> causes existing clients to disconnect, while this wouldn't happen if only the
> client port changes. Need to fix it to only change client port and not all
> the other parameters and make sure that the clients don't disconnect, while
> new clients shouldn't be able to connect to the old port.
--
This message was sent by Atlassian JIRA
(v6.2#6252)