[GitHub] zookeeper issue #465: ZOOKEEPER-2930: Leader cannot be elected due to networ...

2018-07-11 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/465 Will this patch be merged to 3.4 branch? ---

[GitHub] zookeeper pull request #403: Zookeeper 2923

2017-10-26 Thread JiangJiafu
Github user JiangJiafu closed the pull request at: https://github.com/apache/zookeeper/pull/403 ---

[GitHub] zookeeper pull request #408: ZOOKEEPER-2923

2017-10-26 Thread JiangJiafu
GitHub user JiangJiafu opened a pull request: https://github.com/apache/zookeeper/pull/408 ZOOKEEPER-2923 You can merge this pull request into a Git repository by running: $ git pull https://github.com/JiangJiafu/zookeeper ZOOKEEPER-2923 Alternatively you can review

[GitHub] zookeeper pull request #403: Zookeeper 2923

2017-10-22 Thread JiangJiafu
GitHub user JiangJiafu opened a pull request: https://github.com/apache/zookeeper/pull/403 Zookeeper 2923 You can merge this pull request into a Git repository by running: $ git pull https://github.com/JiangJiafu/zookeeper ZOOKEEPER-2923 Alternatively you can review

[GitHub] zookeeper pull request #112: ZOOKEEPER-2355:Ephemeral node is never deleted ...

2017-06-12 Thread JiangJiafu
Github user JiangJiafu commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/112#discussion_r121320033 --- Diff: src/java/test/org/apache/zookeeper/server/quorum/EphemeralNodeDeletionTest.java --- @@ -0,0 +1,222 @@ +/** + * Licensed

[jira] [Commented] (ZOOKEEPER-2800) zookeeper ephemeral node not deleted after server restart and consistency is not hold

2017-06-09 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16044171#comment-16044171 ] JiangJiafu commented on ZOOKEEPER-2800: --- I believe this PR is the same with ZOOKEEPER-2355

[jira] [Commented] (ZOOKEEPER-2355) Ephemeral node is never deleted if follower fails while reading the proposal packet

2017-06-09 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16044155#comment-16044155 ] JiangJiafu commented on ZOOKEEPER-2355: --- Can this bug be fixed in 3.4.11??? As I know

[jira] [Commented] (ZOOKEEPER-2800) zookeeper ephemeral node not deleted after server restart and consistency is not hold

2017-06-09 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16044091#comment-16044091 ] JiangJiafu commented on ZOOKEEPER-2800: --- I found that, the first time the follower try

[jira] [Commented] (ZOOKEEPER-2800) zookeeper ephemeral node not deleted after server restart and consistency is not hold

2017-06-09 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16044030#comment-16044030 ] JiangJiafu commented on ZOOKEEPER-2800: --- I have a quick look to the 2355, I am not pretty sure

[jira] [Commented] (ZOOKEEPER-2800) zookeeper ephemeral node not deleted after server restart and consistency is not hold

2017-06-09 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16043987#comment-16043987 ] JiangJiafu commented on ZOOKEEPER-2800: --- In the recently environment, I found that, zk3 (leader

[jira] [Commented] (ZOOKEEPER-2800) zookeeper ephemeral node not deleted after server restart and consistency is not hold

2017-06-08 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16043968#comment-16043968 ] JiangJiafu commented on ZOOKEEPER-2800: --- I think this must be a bug, because the PR happens

[jira] [Updated] (ZOOKEEPER-2800) zookeeper ephemeral node not deleted after server restart and consistency is not hold

2017-06-07 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JiangJiafu updated ZOOKEEPER-2800: -- Attachment: zookeeper3.out zookeeper log of ofs_zk3 > zookeeper ephemeral n

[jira] [Updated] (ZOOKEEPER-2800) zookeeper ephemeral node not deleted after server restart and consistency is not hold

2017-06-07 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JiangJiafu updated ZOOKEEPER-2800: -- Attachment: zookeeper2.out > zookeeper ephemeral node not deleted after server rest

[jira] [Updated] (ZOOKEEPER-2800) zookeeper ephemeral node not deleted after server restart and consistency is not hold

2017-06-07 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JiangJiafu updated ZOOKEEPER-2800: -- Attachment: zookeeper.out > zookeeper ephemeral node not deleted after server rest

[jira] [Updated] (ZOOKEEPER-2800) zookeeper ephemeral node not deleted after server restart and consistency is not hold

2017-06-07 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JiangJiafu updated ZOOKEEPER-2800: -- Attachment: zoo.cfg > zookeeper ephemeral node not deleted after server rest

[jira] [Updated] (ZOOKEEPER-2800) zookeeper ephemeral node not deleted after server restart and consistency is not hold

2017-06-05 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JiangJiafu updated ZOOKEEPER-2800: -- Description: I deploy a cluster of ZooKeeper with three nodes: ofs_zk1:30.0.0.72 ofs_zk2

[jira] [Created] (ZOOKEEPER-2800) zookeeper ephemeral node not deleted after server restart and consistency is not hold

2017-06-05 Thread JiangJiafu (JIRA)
JiangJiafu created ZOOKEEPER-2800: - Summary: zookeeper ephemeral node not deleted after server restart and consistency is not hold Key: ZOOKEEPER-2800 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2800

[GitHub] zookeeper pull request #269: Sugon

2017-05-31 Thread JiangJiafu
Github user JiangJiafu closed the pull request at: https://github.com/apache/zookeeper/pull/269 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] zookeeper pull request #269: Sugon

2017-05-31 Thread JiangJiafu
GitHub user JiangJiafu opened a pull request: https://github.com/apache/zookeeper/pull/269 Sugon You can merge this pull request into a Git repository by running: $ git pull https://github.com/JiangJiafu/zookeeper sugon Alternatively you can review and apply these changes

[GitHub] zookeeper pull request #261: Branch 3.4

2017-05-26 Thread JiangJiafu
Github user JiangJiafu closed the pull request at: https://github.com/apache/zookeeper/pull/261 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] zookeeper pull request #173: ZOOKEEPER-2691: recreateSocketAddresses may rec...

2017-05-26 Thread JiangJiafu
Github user JiangJiafu closed the pull request at: https://github.com/apache/zookeeper/pull/173 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] zookeeper issue #261: Branch 3.4

2017-05-22 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/261 merge --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] zookeeper pull request #261: Branch 3.4

2017-05-22 Thread JiangJiafu
GitHub user JiangJiafu opened a pull request: https://github.com/apache/zookeeper/pull/261 Branch 3.4 You can merge this pull request into a Git repository by running: $ git pull https://github.com/JiangJiafu/zookeeper branch-3.4 Alternatively you can review and apply

[jira] [Commented] (ZOOKEEPER-2691) recreateSocketAddresses may recreate the unreachable IP address

2017-05-21 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16018735#comment-16018735 ] JiangJiafu commented on ZOOKEEPER-2691: --- Can this patch be merged? > recreateSocketAddres

[jira] [Created] (ZOOKEEPER-2788) The define of MAX_CONNECTION_ATTEMPTS in QuorumCnxManager.java seems useless, should it be removed?

2017-05-21 Thread JiangJiafu (JIRA)
JiangJiafu created ZOOKEEPER-2788: - Summary: The define of MAX_CONNECTION_ATTEMPTS in QuorumCnxManager.java seems useless, should it be removed? Key: ZOOKEEPER-2788 URL: https://issues.apache.org/jira/browse

[GitHub] zookeeper issue #253: ZOOKEEPER-2774

2017-05-18 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/253 Thanks for your work @hanm @afine . --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] zookeeper pull request #253: ZOOKEEPER-2774

2017-05-18 Thread JiangJiafu
Github user JiangJiafu closed the pull request at: https://github.com/apache/zookeeper/pull/253 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] zookeeper issue #253: ZOOKEEPER-2774

2017-05-17 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/253 It seems like now the unit tests are ok. I don't know what is the problems now? @hanm --- If your project is set up for it, you can reply to this email and have your reply appear

[jira] [Commented] (ZOOKEEPER-2783) follower disconnects and cannot reconnect

2017-05-17 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16015134#comment-16015134 ] JiangJiafu commented on ZOOKEEPER-2783: --- I am not pretty sure, will this problem the same

[GitHub] zookeeper issue #253: ZOOKEEPER-2774

2017-05-17 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/253 Code has bee changed according to your advice. @hanm --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] zookeeper issue #253: ZOOKEEPER-2774

2017-05-17 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/253 @hanm, do you mean that all the test souce files code should be changed if they use System.currentTimeMillis()? Or do you mean that I should just change these two files: ClientBase.java

[GitHub] zookeeper issue #173: ZOOKEEPER-2691: recreateSocketAddresses may recreate t...

2017-05-17 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/173 Please have a look to the new code, thank you. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[jira] [Commented] (ZOOKEEPER-1167) C api lacks synchronous version of sync() call.

2017-05-16 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16013402#comment-16013402 ] JiangJiafu commented on ZOOKEEPER-1167: --- I have read all the comments above, but I don't get

[jira] [Updated] (ZOOKEEPER-2691) recreateSocketAddresses may recreate the unreachable IP address

2017-05-16 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JiangJiafu updated ZOOKEEPER-2691: -- Affects Version/s: 3.4.11 > recreateSocketAddresses may recreate the unreachable IP addr

[GitHub] zookeeper issue #253: ZOOKEEPER-2774

2017-05-15 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/253 Thanks for your review work. @afine --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] zookeeper issue #253: ZOOKEEPER-2774

2017-05-13 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/253 Port the code from ZOOKEEPER-1366 to branch3.4. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] zookeeper pull request #253: ZOOKEEPER-2774

2017-05-13 Thread JiangJiafu
GitHub user JiangJiafu opened a pull request: https://github.com/apache/zookeeper/pull/253 ZOOKEEPER-2774 You can merge this pull request into a Git repository by running: $ git pull https://github.com/JiangJiafu/zookeeper ZOOKEEPER-2774 Alternatively you can review

[jira] [Updated] (ZOOKEEPER-2701) Timeout for RecvWorker is too long

2017-05-12 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JiangJiafu updated ZOOKEEPER-2701: -- Affects Version/s: 3.4.9 3.4.10 > Timeout for RecvWorker is too l

[GitHub] zookeeper issue #173: ZOOKEEPER-2691: recreateSocketAddresses may recreate t...

2017-05-12 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/173 @hanm I have changed the document, please review the code and document, thank you. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] zookeeper issue #173: ZOOKEEPER-2691: recreateSocketAddresses may recreate t...

2017-05-11 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/173 @hanm Hi, I have modified the code according to your advices except the second one: "Documentation (see Abe's comment)" --- If your project is set up for it, you can reply to

[GitHub] zookeeper issue #173: ZOOKEEPER-2691: recreateSocketAddresses may recreate t...

2017-05-11 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/173 Eh, sorry for asking this question, but how to update the documentation? Should I modify the html files in docs directory? --- If your project is set up for it, you can reply to this email

[jira] [Commented] (ZOOKEEPER-2774) Ephemeral znode will not be removed when sesstion timeout, if the system time of ZooKeeper node changes unexpectedly.

2017-05-11 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16007441#comment-16007441 ] JiangJiafu commented on ZOOKEEPER-2774: --- OK。 > Ephemeral znode will not be removed w

[GitHub] zookeeper pull request #250: Branch 3.4

2017-05-11 Thread JiangJiafu
Github user JiangJiafu closed the pull request at: https://github.com/apache/zookeeper/pull/250 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] zookeeper pull request #250: Branch 3.4

2017-05-11 Thread JiangJiafu
GitHub user JiangJiafu opened a pull request: https://github.com/apache/zookeeper/pull/250 Branch 3.4 You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/zookeeper branch-3.4 Alternatively you can review and apply

[jira] [Updated] (ZOOKEEPER-2691) recreateSocketAddresses may recreate the unreachable IP address

2017-05-11 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JiangJiafu updated ZOOKEEPER-2691: -- Affects Version/s: 3.4.9 3.4.10 3.5.0

[jira] [Commented] (ZOOKEEPER-2774) Ephemeral znode will not be removed when sesstion timeout, if the system time of ZooKeeper node changes unexpectedly.

2017-05-10 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16005821#comment-16005821 ] JiangJiafu commented on ZOOKEEPER-2774: --- Is this PB planed to be solved in 3.4.X??? > Epheme

[GitHub] zookeeper issue #173: ZOOKEEPER-2691: recreateSocketAddresses may recreate t...

2017-05-10 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/173 @hanm Hi, May I ask when will this problem be fixed? And will it be fixed on 3.4.X(stable) version? Thanks. --- If your project is set up for it, you can reply to this email and have your

[jira] [Created] (ZOOKEEPER-2774) Ephemeral znode will not be removed when sesstion timeout, if the system time of ZooKeeper node changes unexpectedly.

2017-05-03 Thread JiangJiafu (JIRA)
JiangJiafu created ZOOKEEPER-2774: - Summary: Ephemeral znode will not be removed when sesstion timeout, if the system time of ZooKeeper node changes unexpectedly. Key: ZOOKEEPER-2774 URL: https

[jira] [Created] (ZOOKEEPER-2701) Timeout for RecvWorker is too long

2017-02-19 Thread JiangJiafu (JIRA)
JiangJiafu created ZOOKEEPER-2701: - Summary: Timeout for RecvWorker is too long Key: ZOOKEEPER-2701 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2701 Project: ZooKeeper Issue Type

[GitHub] zookeeper issue #173: ZOOKEEPER-2691: recreateSocketAddresses may recreate t...

2017-02-18 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/173 @rakeshadr Thank you for your respond. If you have decided how to fix this problem, please let me know. --- If your project is set up for it, you can reply to this email and have your

[GitHub] zookeeper issue #173: ZOOKEEPER-2691: recreateSocketAddresses may recreate t...

2017-02-18 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/173 @hanm Yes, I hope this PR can be solved in 3.4.10~ Since 3.5.X is still in alpha state now. --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] zookeeper issue #173: ZOOKEEPER-2691: recreateSocketAddresses may recreate t...

2017-02-17 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/173 @eribeiro Thank you for your review. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] zookeeper issue #173: ZOOKEEPER-2691: recreateSocketAddresses may recreate t...

2017-02-16 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/173 Hi, @hanm , do you mean that you will merge ZOOKEEPER-2691 and ZOOKEEPER-2184 to solve the problem later? If so, may I ask will the problem be solved in version zokkeper 3.4.10? --- If your

[GitHub] zookeeper issue #173: ZOOKEEPER-2691: recreateSocketAddresses may recreate t...

2017-02-13 Thread JiangJiafu
Github user JiangJiafu commented on the issue: https://github.com/apache/zookeeper/pull/173 I have modified the source code according to your advise, please review the code. @hanm --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] zookeeper pull request #173: ZOOKEEPER-2691: recreateSocketAddresses may rec...

2017-02-13 Thread JiangJiafu
Github user JiangJiafu commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/173#discussion_r100940145 --- Diff: src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java --- @@ -159,7 +159,7 @@ public QuorumServer(long id, String hostname

[GitHub] zookeeper pull request #173: ZOOKEEPER-2691: recreateSocketAddresses may rec...

2017-02-13 Thread JiangJiafu
GitHub user JiangJiafu opened a pull request: https://github.com/apache/zookeeper/pull/173 ZOOKEEPER-2691: recreateSocketAddresses may recreate the unreachable … …IP address You can merge this pull request into a Git repository by running: $ git pull https://github.com

[GitHub] zookeeper pull request #172: Zookeeper 2691

2017-02-13 Thread JiangJiafu
Github user JiangJiafu closed the pull request at: https://github.com/apache/zookeeper/pull/172 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] zookeeper pull request #172: Zookeeper 2691

2017-02-13 Thread JiangJiafu
GitHub user JiangJiafu opened a pull request: https://github.com/apache/zookeeper/pull/172 Zookeeper 2691 You can merge this pull request into a Git repository by running: $ git pull https://github.com/JiangJiafu/zookeeper ZOOKEEPER-2691 Alternatively you can review

[jira] [Updated] (ZOOKEEPER-2691) recreateSocketAddresses may recreate the unreachable IP address

2017-02-10 Thread JiangJiafu (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] JiangJiafu updated ZOOKEEPER-2691: -- Description: The QuorumPeer$QuorumServer.recreateSocketAddress() is used to resolved

[jira] [Created] (ZOOKEEPER-2691) recreateSocketAddresses may recreate the unreachable IP address

2017-02-10 Thread JiangJiafu (JIRA)
JiangJiafu created ZOOKEEPER-2691: - Summary: recreateSocketAddresses may recreate the unreachable IP address Key: ZOOKEEPER-2691 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2691 Project