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

ASF GitHub Bot commented on ZOOKEEPER-2355:
-------------------------------------------

GitHub user hanm reopened a pull request:

    https://github.com/apache/zookeeper/pull/304

    ZOOKEEPER-2355: Ephemeral node is never deleted if follower fails while 
reading the proposal packet.

    This commit is a port of the commit 
ca22b3db19371f6b0f5507b7dd80b283cddc7700 from branch-3.5 to branch-3.4. Changes 
include a few interfaces that required by the test case. The test case itself 
is also updated so it works with 3.4 code base.
    
    @arshadmohammad @rakeshadr Could you please review this to close the loop 
of ZOOKEEPER-2355?

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hanm/zookeeper ZOOKEEPER-2355

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zookeeper/pull/304.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #304
    
----
commit 007e2b37f24907c03e4e28547756b91aea4f78d4
Author: Michael Han <h...@apache.org>
Date:   2017-07-05T21:23:58Z

    ZOOKEEPER-2355: Ephemeral node is never deleted if follower fails while 
reading the proposal packet.
    
    This commit is a back port of the commit 
ca22b3db19371f6b0f5507b7dd80b283cddc7700 on branch-3.5. Changes include a few 
interfaces that required by the test case. The test case itself is also updated 
so it works with 3.4 code base.

----


> Ephemeral node is never deleted if follower fails while reading the proposal 
> packet
> -----------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2355
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2355
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: quorum, server
>    Affects Versions: 3.4.8, 3.4.9, 3.4.10, 3.5.1, 3.5.2, 3.5.3
>            Reporter: Mohammad Arshad
>            Assignee: Mohammad Arshad
>            Priority: Critical
>         Attachments: ZOOKEEPER-2355-01.patch, ZOOKEEPER-2355-02.patch, 
> ZOOKEEPER-2355-03.patch, ZOOKEEPER-2355-04.patch, ZOOKEEPER-2355-05.patch
>
>
> ZooKeeper ephemeral node is never deleted if follower fail while reading the 
> proposal packet
> The scenario is as follows:
> # Configure three node ZooKeeper cluster, lets say nodes are A, B and C, 
> start all, assume A is leader, B and C are follower
> # Connect to any of the server and create ephemeral node /e1
> # Close the session, ephemeral node /e1 will go for deletion
> # While receiving delete proposal make Follower B to fail with 
> {{SocketTimeoutException}}. This we need to do to reproduce the scenario 
> otherwise in production environment it happens because of network fault.
> # Remove the fault, just check that faulted Follower is now connected with 
> quorum
> # Connect to any of the server, create the same ephemeral node /e1, created 
> is success.
> # Close the session,  ephemeral node /e1 will go for deletion
> # {color:red}/e1 is not deleted from the faulted Follower B, It should have 
> been deleted as it was again created with another session{color}
> # {color:green}/e1 is deleted from Leader A and other Follower C{color}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to