[
https://issues.apache.org/jira/browse/ZOOKEEPER-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Shraer updated ZOOKEEPER-2000:
----------------------------------------
Description: 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. (was: Currently when a
reconfiguration changes the client port / address of a server, clients
connected to that server will be disconnected. It may be possible to avoid this.
The relevant code is in NIOServerCnxmFactory.java, reconfigure() and
NettyServerCnxnFactory.java reconfigure())
> 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
>
> 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)