[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marimuthu PMS Dhavamani updated ZOOKEEPER-2975:
-----------------------------------------------
    Docs Text: 
1)      Create session from zk Client (Self client)
2)      Stop the zkServer where still the zk Client connected
3)      Wait for the socket to be cleared in server side
èServer side TCP session should be removed from TIME_WAIT status.
4)      Start the zkServer
5)      Now, reconnection from zkClient is denied  with below error.. .. Re 
connection should happen without any problem... 


2018-02-01 13:01:26 [UTC:20180201T130126+0800]|INFO 
||NIOServerCxn.Factory:/10.18.14.188:2181hread|Coordination > Accepted socket 
connection from /10.18.14.188:51281 (NIOServerCnxnFactory.java:210)
2018-02-01 13:01:26 [UTC:20180201T130126+0800]|INFO 
||NIOServerCxn.Factory:/10.18.14.188:2181hread|Coordination > Client attempting 
to renew ClientSeqID 0x1614faa91d90002 at /10.18.14.188:51281 
(ZooKeeperServer.java:968)
2018-02-01 13:01:26 [UTC:20180201T130126+0800]|INFO 
||NIOServerCxn.Factory:/10.18.14.188:2181hread|Coordination > Invalid 
ClientSeqID 0x1614faa91d90002 for client /10.18.14.188:51281, probably expired 
(ZooKeeperServer.java:687)
2018-02-01 13:01:26 [UTC:20180201T130126+0800]|INFO 
||NIOServerCxn.Factory:/10.18.14.188:2181hread|Coordination > Closed socket 
connection for client /10.18.14.188:51281 which had ClientSeqID 
0x1614faa91d90002 (NIOServerCnxn.java:1041)
2018-02-01 13:01:26 [UTC:20180201T130126+0800]|INFO 
||NIOServerCxn.Factory:/10.18.14.188:2181hread|Coordination > Accepted socket 
connection from /10.18.14.188:51282 (NIOServerCnxnFactory.java:210)


  was:
1)      Create session from zk Client (Self client)
2)      Stop the zkServer where still the zk Client connected
3)      Wait for the socket to be cleared in server side
èServer side TCP session should be removed from TIME_WAIT status.
4)      Start the zkServer
5)      Now, reconnection from zkClient is denied  with below error.. Is it 
correct behavior? Please analyse... Re connection should happen without any 
problem... 


2018-02-01 13:01:26 [UTC:20180201T130126+0800]|INFO 
||NIOServerCxn.Factory:/10.18.14.188:2181hread|Coordination > Accepted socket 
connection from /10.18.14.188:51281 (NIOServerCnxnFactory.java:210)
2018-02-01 13:01:26 [UTC:20180201T130126+0800]|INFO 
||NIOServerCxn.Factory:/10.18.14.188:2181hread|Coordination > Client attempting 
to renew ClientSeqID 0x1614faa91d90002 at /10.18.14.188:51281 
(ZooKeeperServer.java:968)
2018-02-01 13:01:26 [UTC:20180201T130126+0800]|INFO 
||NIOServerCxn.Factory:/10.18.14.188:2181hread|Coordination > Invalid 
ClientSeqID 0x1614faa91d90002 for client /10.18.14.188:51281, probably expired 
(ZooKeeperServer.java:687)
2018-02-01 13:01:26 [UTC:20180201T130126+0800]|INFO 
||NIOServerCxn.Factory:/10.18.14.188:2181hread|Coordination > Closed socket 
connection for client /10.18.14.188:51281 which had ClientSeqID 
0x1614faa91d90002 (NIOServerCnxn.java:1041)
2018-02-01 13:01:26 [UTC:20180201T130126+0800]|INFO 
||NIOServerCxn.Factory:/10.18.14.188:2181hread|Coordination > Accepted socket 
connection from /10.18.14.188:51282 (NIOServerCnxnFactory.java:210)



> Re connection should happen without any problem After zk server restarted
> -------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2975
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2975
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.4.9
>         Environment: Zookeeper 3.4.9
> Zookeeper Server ---------------- Zookeeper Client (Both are Running in same 
> machine) 
>  
>  
>            Reporter: Marimuthu PMS Dhavamani
>            Priority: Minor
>
> 1)      Create session from zk Client (Self client)
> 2)      Stop the zkServer where still the zk Client connected
> 3)      Wait for the socket to be cleared in server side
> èServer side TCP session should be removed from TIME_WAIT status.
> 4)      Start the zkServer
> 5)      Now, re connection from ZK Client is denied ..Please analyse... Re 
> connection should happen without any problem... 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to