Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2975

Re connection should happen without any problem After zk server restarted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4.9
    • None
    • server
    • None
    • Zookeeper 3.4.9

      Zookeeper Server ---------------- Zookeeper Client (Both are Running in same machine) 

       

       

    • Important
    • Hide
      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)
      Show
      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)

    Description

      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... 

      Attachments

        Activity

          People

            Unassigned Unassigned
            dhav.mari Marimuthu PMS Dhavamani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: