[GitHub] zookeeper pull request #605: [ZOOKEEPER-3125] Fixing pzxid consistent issue ...

2018-09-06 Thread lvfangmin
Github user lvfangmin commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/605#discussion_r215849976 --- Diff: src/java/test/org/apache/zookeeper/server/quorum/FuzzySnapshotRelatedTest.java --- @@ -0,0 +1,254 @@ +/** + * Licensed to the Apache

[GitHub] zookeeper issue #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast protoc...

2018-09-06 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/184 @hanm Sure thing. If you look back the comment history, you'll see that he had a lot of comments, suggestions which I addressed and discussed. This PR is now basically a joint effort of @afine

[jira] [Commented] (ZOOKEEPER-2977) Concurrency for addAuth corrupts quorum packets

2018-09-06 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16606682#comment-16606682 ] Hadoop QA commented on ZOOKEEPER-2977: -- -1 overall. Here are the results of testing the latest

[GitHub] zookeeper issue #474: ZOOKEEPER-2977: Concurrency for addAuth corrupts quoru...

2018-09-06 Thread maoling
Github user maoling commented on the issue: https://github.com/apache/zookeeper/pull/474 @sumitagrawl Are you still working on this? or someone else can pick up this? ---

回复:Re: Re: ZooKeeper 3.5 blocker issues

2018-09-06 Thread 岭秀
waiting for the release of branch3.5 at end of this year!(grin) - 原始邮件 - 发件人:Michael Han 收件人:DevZooKeeper 主题:Re: Re: ZooKeeper 3.5 blocker issues 日期:2018年09月07日 09点24分 I haven't went through the entire list, but looks like lots of the JIRA issues listed in this thread, such as

[jira] [Commented] (ZOOKEEPER-3131) org.apache.zookeeper.server.WatchManager resource leak

2018-09-06 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16606636#comment-16606636 ] Hudson commented on ZOOKEEPER-3131: --- SUCCESS: Integrated in Jenkins build ZooKeeper-trunk #180 (See

[jira] [Commented] (ZOOKEEPER-3136) Reduce log in ClientBase in case of ConnectException

2018-09-06 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16606637#comment-16606637 ] Hudson commented on ZOOKEEPER-3136: --- SUCCESS: Integrated in Jenkins build ZooKeeper-trunk #180 (See

[jira] [Commented] (ZOOKEEPER-3129) Improve ZK Client resiliency by throwing a jute.maxbuffer size exception before sending a request to server

2018-09-06 Thread Michael Han (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16606608#comment-16606608 ] Michael Han commented on ZOOKEEPER-3129: I think it's a good ida. I am leaning towards using

Re: Re: ZooKeeper 3.5 blocker issues

2018-09-06 Thread Michael Han
I haven't went through the entire list, but looks like lots of the JIRA issues listed in this thread, such as ZOOKEEPER-1549, 2846, also affects 3.4 releases. Should we scope these issues out? I think historically the single outstanding blocking issue for a stable 3.5 release is the reconfig

[GitHub] zookeeper issue #184: ZOOKEEPER-236: SSL Support for Atomic Broadcast protoc...

2018-09-06 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/184 Sorry for lag, I am resuming my review on this. On a side note - I remember @ivmaykov mentioned to me offline that he made a couple of security improvements (related to port unification

[GitHub] zookeeper issue #614: ZOOKEEPER-3136 Reduce log in ClientBase in case of Con...

2018-09-06 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/614 merged to master, thanks @eolivelli ---

[jira] [Resolved] (ZOOKEEPER-3136) Reduce log in ClientBase in case of ConnectException

2018-09-06 Thread Michael Han (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Han resolved ZOOKEEPER-3136. Resolution: Fixed Issue resolved by pull request 614

[GitHub] zookeeper pull request #614: ZOOKEEPER-3136 Reduce log in ClientBase in case...

2018-09-06 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/zookeeper/pull/614 ---

[GitHub] zookeeper issue #611: ZOOKEEPER-3131

2018-09-06 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/611 #612 is now merged. @wangchaod Do you know what was the root cause of your OOM issue? Were you using Netty instead of NIO? Would #612 fix your case? I am curious if #612 does not fix your case

[jira] [Commented] (ZOOKEEPER-3124) Add the correct comment to show why we need the special logic to handle cversion and pzxid

2018-09-06 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16606573#comment-16606573 ] Hadoop QA commented on ZOOKEEPER-3124: -- -1 overall. GitHub Pull Request Build +1

[jira] [Resolved] (ZOOKEEPER-3131) org.apache.zookeeper.server.WatchManager resource leak

2018-09-06 Thread Michael Han (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Han resolved ZOOKEEPER-3131. Resolution: Fixed Fix Version/s: 3.6.0 Issue resolved by pull request 612

[GitHub] zookeeper pull request #612: [ZOOKEEPER-3131] Remove watcher when session cl...

2018-09-06 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/zookeeper/pull/612 ---

[GitHub] zookeeper issue #612: [ZOOKEEPER-3131] Remove watcher when session closed in...

2018-09-06 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/612 I just triggered a build through "Rebuild", it's passing. So I am committing this patch. https://builds.apache.org/job/PreCommit-ZOOKEEPER-github-pr-build/2130/ I am not sure why the

[GitHub] zookeeper issue #545: ZOOKEEPER-2261 When only secureClientPort is configure...

2018-09-06 Thread hanm
Github user hanm commented on the issue: https://github.com/apache/zookeeper/pull/545 I suggest we move test refactoring part of this patch to a separate JIRA / PR. My main concern is mix these will create confusions for those who check the commit history of this patch and wondering

[jira] [Updated] (ZOOKEEPER-3124) Add the correct comment to show why we need the special logic to handle cversion and pzxid

2018-09-06 Thread Fangmin Lv (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fangmin Lv updated ZOOKEEPER-3124: -- Description: The old comment about setCversionPzxid is not valid, the scenario it

[jira] [Updated] (ZOOKEEPER-3124) Add the correct comment to show why we need the special logic to handle cversion and pzxid

2018-09-06 Thread Fangmin Lv (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fangmin Lv updated ZOOKEEPER-3124: -- Summary: Add the correct comment to show why we need the special logic to handle cversion

[GitHub] zookeeper issue #567: ZOOKEEPER-3071: Add a config parameter to control tran...

2018-09-06 Thread suyogmapara
Github user suyogmapara commented on the issue: https://github.com/apache/zookeeper/pull/567 Hi @maoling I tested the patch with following parameters: 1. PreAllocSize = 100 KB, TxnLogSizeLimit = 200 KB, 100 transactions of little over 10 KBs. Outcome: 5

[jira] [Commented] (ZOOKEEPER-2261) When only secureClientPort is configured connections, configuration, connection_stat_reset, and stats admin commands throw NullPointerException

2018-09-06 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16606361#comment-16606361 ] Hadoop QA commented on ZOOKEEPER-2261: -- +1 overall. GitHub Pull Request Build +1

[jira] [Commented] (ZOOKEEPER-2261) When only secureClientPort is configured connections, configuration, connection_stat_reset, and stats admin commands throw NullPointerException

2018-09-06 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16606346#comment-16606346 ] Hadoop QA commented on ZOOKEEPER-2261: -- +1 overall. GitHub Pull Request Build +1

[GitHub] zookeeper issue #545: ZOOKEEPER-2261 When only secureClientPort is configure...

2018-09-06 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/545 @hanm @enixon Back to the roots: created separate getter for the secure server cnxn factory and fixed the logic of Cons command handler. Additionally some unit test refactor (move

[jira] [Commented] (ZOOKEEPER-2261) When only secureClientPort is configured connections, configuration, connection_stat_reset, and stats admin commands throw NullPointerException

2018-09-06 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16606331#comment-16606331 ] Hadoop QA commented on ZOOKEEPER-2261: -- -1 overall. GitHub Pull Request Build +1

[jira] [Commented] (ZOOKEEPER-3124) Update the comment of special logic to handle cversion and pzxid in DataTree.processTxn

2018-09-06 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16606226#comment-16606226 ] Hadoop QA commented on ZOOKEEPER-3124: -- +1 overall. GitHub Pull Request Build +1

[GitHub] zookeeper issue #612: [ZOOKEEPER-3131] Remove watcher when session closed in...

2018-09-06 Thread lvfangmin
Github user lvfangmin commented on the issue: https://github.com/apache/zookeeper/pull/612 Thanks @hanm @anmolnar, I like the "Rebuild" button, it's more convenient than check out the branch (maybe you're working on other branch and need to stash), do amend, and force push. ---

[jira] [Reopened] (ZOOKEEPER-3124) Update the comment of special logic to handle cversion and pzxid in DataTree.processTxn

2018-09-06 Thread Fangmin Lv (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fangmin Lv reopened ZOOKEEPER-3124: --- > Update the comment of special logic to handle cversion and pzxid in > DataTree.processTxn

[jira] [Updated] (ZOOKEEPER-3124) Update the comment of special logic to handle cversion and pzxid in DataTree.processTxn

2018-09-06 Thread Fangmin Lv (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fangmin Lv updated ZOOKEEPER-3124: -- Summary: Update the comment of special logic to handle cversion and pzxid in

[GitHub] zookeeper issue #610: [ZOOKEEPER-3124] Remove special logic to handle cversi...

2018-09-06 Thread lvfangmin
Github user lvfangmin commented on the issue: https://github.com/apache/zookeeper/pull/610 I forgot but actually I think I've considered the children of children case when I created this diff, it actually won't cause the cversion and pzxid mismatch issue. The tricky scenario

[GitHub] zookeeper pull request #610: [ZOOKEEPER-3124] Remove special logic to handle...

2018-09-06 Thread lvfangmin
GitHub user lvfangmin reopened a pull request: https://github.com/apache/zookeeper/pull/610 [ZOOKEEPER-3124] Remove special logic to handle cversion and pzxid in DataTree.processTxn There is special logic in the DataTree.processTxn to handle the NODEEXISTS when createNode, which

[GitHub] zookeeper issue #530: [ZOOKEEPER-2474] Support session reconnection when usi...

2018-09-06 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/530 @timothyjward Okay, I hear you. I'll check the Jira, because I think this should go to master too and commit soon. ---

[GitHub] zookeeper pull request #605: [ZOOKEEPER-3125] Fixing pzxid consistent issue ...

2018-09-06 Thread anmolnar
Github user anmolnar commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/605#discussion_r215614171 --- Diff: src/java/test/org/apache/zookeeper/server/quorum/FuzzySnapshotRelatedTest.java --- @@ -0,0 +1,254 @@ +/** + * Licensed to the Apache

[GitHub] zookeeper issue #590: [ZOOKEEPER-1177] Add the memory optimized watch manage...

2018-09-06 Thread nkalmar
Github user nkalmar commented on the issue: https://github.com/apache/zookeeper/pull/590 systest will go to src/test/java , from my side, you can put the bench in org.apache.zookeeper.test.system . Thinking about it, that's a pretty good place. No need to create main

[GitHub] zookeeper issue #530: [ZOOKEEPER-2474] Support session reconnection when usi...

2018-09-06 Thread maoling
Github user maoling commented on the issue: https://github.com/apache/zookeeper/pull/530 @timothyjward Some inspirations can be found at the [old-patch](https://issues.apache.org/jira/secure/attachment/12822755/ZOOKEEPER-2474-01.patch). This patch LGTM and I had tested it.

[GitHub] zookeeper issue #613: ZOOKEEPER-1823:LogFormatter should support printing tr...

2018-09-06 Thread maoling
Github user maoling commented on the issue: https://github.com/apache/zookeeper/pull/613 @anmolnar Yes,I will try to transport this improment to `TxnLogToolkit`. ---

[jira] [Commented] (ZOOKEEPER-2474) No way to reattach to a session when using ZKClientConfig

2018-09-06 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16605500#comment-16605500 ] Hadoop QA commented on ZOOKEEPER-2474: -- -1 overall. Here are the results of testing the latest

[GitHub] zookeeper issue #613: ZOOKEEPER-1823:LogFormatter should support printing tr...

2018-09-06 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/613 @maoling I intended to create TxnLogToolkit as a replacement for LogFormatter with some extra functionality. Do you mind checking that tool as well and see that this patch could be easily

[GitHub] zookeeper issue #530: [ZOOKEEPER-2474] Support session reconnection when usi...

2018-09-06 Thread timothyjward
Github user timothyjward commented on the issue: https://github.com/apache/zookeeper/pull/530 I'm still not sure what additional testing is possible. The way the patch is constructed the changed code (all three lines of it) is already exercised by the existing ZooKeeper tests. The

[GitHub] zookeeper issue #612: [ZOOKEEPER-3131] Remove watcher when session closed in...

2018-09-06 Thread anmolnar
Github user anmolnar commented on the issue: https://github.com/apache/zookeeper/pull/612 I usually amend the latest commit and do a force push. ---

[GitHub] zookeeper issue #530: [ZOOKEEPER-2474] Support session reconnection when usi...

2018-09-06 Thread maoling
Github user maoling commented on the issue: https://github.com/apache/zookeeper/pull/530 @timothyjward Are you still working on this? Or could someone else pick up this? ---

[jira] [Resolved] (ZOOKEEPER-3124) Remove special logic to handle cversion and pzxid in DataTree.processTxn

2018-09-06 Thread Fangmin Lv (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fangmin Lv resolved ZOOKEEPER-3124. --- Resolution: Won't Do After revisiting the logic, I found it's not possible that the

[GitHub] zookeeper issue #610: [ZOOKEEPER-3124] Remove special logic to handle cversi...

2018-09-06 Thread lvfangmin
Github user lvfangmin commented on the issue: https://github.com/apache/zookeeper/pull/610 After revisiting the logic, I found it's not possible that the direct children is being creating and serialized after the parent is serialized, but the children of children might be added

[GitHub] zookeeper pull request #610: [ZOOKEEPER-3124] Remove special logic to handle...

2018-09-06 Thread lvfangmin
Github user lvfangmin closed the pull request at: https://github.com/apache/zookeeper/pull/610 ---

[jira] [Updated] (ZOOKEEPER-3138) Potential race condition with Quorum Peer mutual authentication via SASL

2018-09-06 Thread Grzegorz Grzybek (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grzegorz Grzybek updated ZOOKEEPER-3138: Component/s: security leaderElection > Potential race

[GitHub] zookeeper issue #587: ZOOKEEPER-3106: Zookeeper client supports IPv6 address...

2018-09-06 Thread maoling
Github user maoling commented on the issue: https://github.com/apache/zookeeper/pull/587 @anmolnar rebased the flaky test: `ClientPortBindTest.testBindByAddress` is not related ---