[GitHub] [zookeeper] maoling commented on pull request #2056: Add unit tests

2023-08-30 Thread via GitHub
maoling commented on PR #2056: URL: https://github.com/apache/zookeeper/pull/2056#issuecomment-1698758756 - Thanks for this contribution. It's better to create a [JIRA](https://issues.apache.org/jira/projects/ZOOKEEPER/) issue (sign up JIRA if you don't have an account) to bind this PR to

[GitHub] [zookeeper] kezhuw closed pull request #2058: ZOOKEEPER-4508: Expire session in client side to avoid endless connection loss

2023-09-02 Thread via GitHub
kezhuw closed pull request #2058: ZOOKEEPER-4508: Expire session in client side to avoid endless connection loss URL: https://github.com/apache/zookeeper/pull/2058 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [zookeeper] eolivelli merged pull request #2001: ZOOKEEPER-4697: Add Builder to construct ZooKeeper and ZooKeeperAdmin

2023-09-02 Thread via GitHub
eolivelli merged PR #2001: URL: https://github.com/apache/zookeeper/pull/2001 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [zookeeper] kezhuw opened a new pull request, #2059: ZOOKEEPER-4706: Support 64-bit sequential nodes using zxid

2023-09-04 Thread via GitHub
kezhuw opened a new pull request, #2059: URL: https://github.com/apache/zookeeper/pull/2059 It is somewhat well-known that ZooKeeper's sequential node number will overflow finally. It is ok for most usages, but it could also be annoying to handle this overflow in client side in certain

[GitHub] [zookeeper] SiyaoIsHiding opened a new pull request, #2060: ZOOKEEPER-4703: Datadir and DatalogDir size are incorrect

2023-09-04 Thread via GitHub
SiyaoIsHiding opened a new pull request, #2060: URL: https://github.com/apache/zookeeper/pull/2060 As in the class `FileTxnSnapLog` ```java //the directory containing //the transaction logs final File dataDir; //the directory containing //the snapshot

[GitHub] [zookeeper] tisonkun merged pull request #1988: ZOOKEEPER-2623: Fix database corruption caused by quorum check

2023-09-10 Thread via GitHub
tisonkun merged PR #1988: URL: https://github.com/apache/zookeeper/pull/1988 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [zookeeper] Fabrice-TIERCELIN commented on pull request #2056: ZOOKEEPER-725: Add unit tests for ConfigUtils.getClientConfigStr

2023-09-11 Thread via GitHub
Fabrice-TIERCELIN commented on PR #2056: URL: https://github.com/apache/zookeeper/pull/2056#issuecomment-1714288302 @maoling, I also have a suggestion for you. GitHub redirects people like me to [this page of

[GitHub] [zookeeper] tisonkun opened a new pull request, #2063: ZOOKEEPER-910: Use SelectionKey.isXYZ() methods instead of complicated binary logic

2023-09-15 Thread via GitHub
tisonkun opened a new pull request, #2063: URL: https://github.com/apache/zookeeper/pull/2063 Pick up something good. Ref - ZOOKEEPER-910 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to

[GitHub] [zookeeper] zhaohaidao opened a new pull request, #2064: ZOOKEEPER-4743: Jump from 2 to 0 when zookeeper dataVersion incre

2023-09-15 Thread via GitHub
zhaohaidao opened a new pull request, #2064: URL: https://github.com/apache/zookeeper/pull/2064 Description: As shown in the title, see the jira link description for the background jira: https://issues.apache.org/jira/projects/ZOOKEEPER/issues/ZOOKEEPER-4743 -- This is an automated

[GitHub] [zookeeper] zhaohaidao commented on pull request #2064: ZOOKEEPER-4743: Jump from 2 to 0 when zookeeper dataVersion incre

2023-09-15 Thread via GitHub
zhaohaidao commented on PR #2064: URL: https://github.com/apache/zookeeper/pull/2064#issuecomment-1721577050 Hey, @tisonkun Please help me review this PR when you have time. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

[GitHub] [zookeeper] kezhuw commented on pull request #2058: ZOOKEEPER-4508: Expire session in client side to avoid endless connection loss

2023-09-14 Thread via GitHub
kezhuw commented on PR #2058: URL: https://github.com/apache/zookeeper/pull/2058#issuecomment-1719334929 Mail thread for the proposal: https://lists.apache.org/thread/0hf81c1tdsp6mm130gw1h5xglkx48vv0 -- This is an automated message from the Apache Git Service. To respond to the message,

[GitHub] [zookeeper] zhaohaidao commented on a diff in pull request #2064: ZOOKEEPER-4743: Jump from 2 to 0 when zookeeper dataVersion incre

2023-09-16 Thread via GitHub
zhaohaidao commented on code in PR #2064: URL: https://github.com/apache/zookeeper/pull/2064#discussion_r1327992417 ## zookeeper-server/src/main/java/org/apache/zookeeper/server/PrepRequestProcessor.java: ## @@ -735,10 +735,18 @@ private String getParentPathAndValidate(String

[GitHub] [zookeeper] kezhuw commented on a diff in pull request #2064: ZOOKEEPER-4743: Jump from 2 to 0 when zookeeper dataVersion incre

2023-09-16 Thread via GitHub
kezhuw commented on code in PR #2064: URL: https://github.com/apache/zookeeper/pull/2064#discussion_r1327947410 ## zookeeper-server/src/main/java/org/apache/zookeeper/server/PrepRequestProcessor.java: ## @@ -735,10 +735,18 @@ private String getParentPathAndValidate(String path)

[GitHub] [zookeeper] kezhuw commented on a diff in pull request #2064: ZOOKEEPER-4743: Jump from 2 to 0 when zookeeper dataVersion incre

2023-09-16 Thread via GitHub
kezhuw commented on code in PR #2064: URL: https://github.com/apache/zookeeper/pull/2064#discussion_r1327947410 ## zookeeper-server/src/main/java/org/apache/zookeeper/server/PrepRequestProcessor.java: ## @@ -735,10 +735,18 @@ private String getParentPathAndValidate(String path)

[GitHub] [zookeeper] kezhuw commented on a diff in pull request #1996: ZOOKEEPER-4601: Fix get config watcher path to "/zookeeper/config"

2023-09-16 Thread via GitHub
kezhuw commented on code in PR #1996: URL: https://github.com/apache/zookeeper/pull/1996#discussion_r1328041454 ## zookeeper-server/src/test/java/org/apache/zookeeper/test/ConfigWatcherPathTest.java: ## @@ -0,0 +1,235 @@ +/* + * Licensed to the Apache Software Foundation (ASF)

[GitHub] [zookeeper] kezhuw commented on pull request #1996: ZOOKEEPER-4601: Fix get config watcher path to "/zookeeper/config"

2023-09-16 Thread via GitHub
kezhuw commented on PR #1996: URL: https://github.com/apache/zookeeper/pull/1996#issuecomment-1722388012 Superceded by #2065. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific

[GitHub] [zookeeper] kezhuw closed pull request #1996: ZOOKEEPER-4601: Fix get config watcher path to "/zookeeper/config"

2023-09-16 Thread via GitHub
kezhuw closed pull request #1996: ZOOKEEPER-4601: Fix get config watcher path to "/zookeeper/config" URL: https://github.com/apache/zookeeper/pull/1996 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go

[GitHub] [zookeeper] Fabrice-TIERCELIN opened a new pull request, #2056: Add unit tests

2023-08-28 Thread via GitHub
Fabrice-TIERCELIN opened a new pull request, #2056: URL: https://github.com/apache/zookeeper/pull/2056 Hi, This is a PR to learn how to code tests using an AI. It's a draft but I plan to make it mergeable. -- This is an automated message from the Apache Git Service. To

[GitHub] [zookeeper] kezhuw closed pull request #1847: ZOOKEEPER-4508: Fix endless-loop in ClientCnxn.SendThread.run when all zk servers down

2023-09-01 Thread via GitHub
kezhuw closed pull request #1847: ZOOKEEPER-4508: Fix endless-loop in ClientCnxn.SendThread.run when all zk servers down URL: https://github.com/apache/zookeeper/pull/1847 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

[GitHub] [zookeeper] kezhuw commented on pull request #1847: ZOOKEEPER-4508: Fix endless-loop in ClientCnxn.SendThread.run when all zk servers down

2023-09-01 Thread via GitHub
kezhuw commented on PR #1847: URL: https://github.com/apache/zookeeper/pull/1847#issuecomment-1702367578 Superceded by #2058 which propose a client side session expiration timeout formally. -- This is an automated message from the Apache Git Service. To respond to the message, please log

[GitHub] [zookeeper] whyer6 commented on a diff in pull request #2045: ZOOKEEPER-4733: non-return function error and asan error in CPPUNIT T…

2023-08-29 Thread via GitHub
whyer6 commented on code in PR #2045: URL: https://github.com/apache/zookeeper/pull/2045#discussion_r1309434684 ## zookeeper-client/zookeeper-client-c/tests/TestReconfig.cc: ## @@ -499,7 +499,7 @@ class Zookeeper_reconfig : public CPPUNIT_NS::TestFixture found =

[GitHub] [zookeeper] Taher-Ghaleb commented on pull request #2055: Refactor assertFalse(equals()) with assertNotEquals

2023-08-29 Thread via GitHub
Taher-Ghaleb commented on PR #2055: URL: https://github.com/apache/zookeeper/pull/2055#issuecomment-1698350938 Hi, any updates, please? Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to

[GitHub] [zookeeper] tisonkun commented on pull request #2055: Refactor assertFalse(equals()) with assertNotEquals

2023-08-29 Thread via GitHub
tisonkun commented on PR #2055: URL: https://github.com/apache/zookeeper/pull/2055#issuecomment-1698356572 I'm retriggering the CI workflow. Will merge it once CI passed or I'll check these changes unrelated locally. A ticket is still appreciated. -- This is an automated message

[GitHub] [zookeeper] Taher-Ghaleb commented on pull request #2055: ZOOKEEPER-4738: Refactor assertFalse(equals()) with assertNotEquals

2023-08-29 Thread via GitHub
Taher-Ghaleb commented on PR #2055: URL: https://github.com/apache/zookeeper/pull/2055#issuecomment-1698422285 Thanks @tisonkun. Sure, I have created a Jira ticket and prefixed its id on the PR title. -- This is an automated message from the Apache Git Service. To respond to the

[GitHub] [zookeeper] tisonkun merged pull request #2055: ZOOKEEPER-4738: Refactor assertFalse(equals()) with assertNotEquals

2023-08-29 Thread via GitHub
tisonkun merged PR #2055: URL: https://github.com/apache/zookeeper/pull/2055 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [zookeeper] tisonkun commented on pull request #2055: ZOOKEEPER-4738: Refactor assertFalse(equals()) with assertNotEquals

2023-08-29 Thread via GitHub
tisonkun commented on PR #2055: URL: https://github.com/apache/zookeeper/pull/2055#issuecomment-1698430600 Thank you! Merging... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific

[GitHub] [zookeeper] vibhutisawant opened a new pull request, #2057: ZOOKEEPER-4739: Disable ClientSSLTest for s390x arch

2023-08-31 Thread via GitHub
vibhutisawant opened a new pull request, #2057: URL: https://github.com/apache/zookeeper/pull/2057 As netty-tc-native is not supported for s390x arch, there were TC failures observed in ClientSSLTest, hence skipping this TC for s390x arch only. -- This is an automated message

[GitHub] [zookeeper] vibhutisawant commented on a diff in pull request #2038: ZOOKEEPER-4726: Upgrade snappy-java version to v1.1.10.3

2023-08-31 Thread via GitHub
vibhutisawant commented on code in PR #2038: URL: https://github.com/apache/zookeeper/pull/2038#discussion_r1311793349 ## zookeeper-server/src/test/java/org/apache/zookeeper/test/ClientSSLTest.java: ## @@ -147,6 +148,8 @@ public void testClientServerSSLWithCnxnClassName()

[GitHub] [zookeeper] vibhutisawant commented on a diff in pull request #2038: ZOOKEEPER-4726: Upgrade snappy-java version to v1.1.10.3

2023-08-31 Thread via GitHub
vibhutisawant commented on code in PR #2038: URL: https://github.com/apache/zookeeper/pull/2038#discussion_r1311656633 ## zookeeper-server/src/test/java/org/apache/zookeeper/test/ClientSSLTest.java: ## @@ -147,6 +148,8 @@ public void testClientServerSSLWithCnxnClassName()

[GitHub] [zookeeper] eolivelli commented on a diff in pull request #2038: ZOOKEEPER-4726: Upgrade snappy-java version to v1.1.10.3

2023-08-31 Thread via GitHub
eolivelli commented on code in PR #2038: URL: https://github.com/apache/zookeeper/pull/2038#discussion_r1311657615 ## zookeeper-server/src/test/java/org/apache/zookeeper/test/ClientSSLTest.java: ## @@ -147,6 +148,8 @@ public void testClientServerSSLWithCnxnClassName() throws

[GitHub] [zookeeper] vibhutisawant commented on a diff in pull request #2038: ZOOKEEPER-4726: Upgrade snappy-java version to v1.1.10.3

2023-08-31 Thread via GitHub
vibhutisawant commented on code in PR #2038: URL: https://github.com/apache/zookeeper/pull/2038#discussion_r1311555048 ## Jenkinsfile-s390x: ## @@ -48,7 +48,7 @@ pipeline { stage('BuildAndTest') { steps { sh "git

[GitHub] [zookeeper] eolivelli commented on a diff in pull request #2038: ZOOKEEPER-4726: Upgrade snappy-java version to v1.1.10.3

2023-08-31 Thread via GitHub
eolivelli commented on code in PR #2038: URL: https://github.com/apache/zookeeper/pull/2038#discussion_r1311648006 ## zookeeper-server/src/test/java/org/apache/zookeeper/test/ClientSSLTest.java: ## @@ -147,6 +148,8 @@ public void testClientServerSSLWithCnxnClassName() throws

[GitHub] [zookeeper] vibhutisawant commented on a diff in pull request #2038: ZOOKEEPER-4726: Upgrade snappy-java version to v1.1.10.3

2023-08-31 Thread via GitHub
vibhutisawant commented on code in PR #2038: URL: https://github.com/apache/zookeeper/pull/2038#discussion_r1311656633 ## zookeeper-server/src/test/java/org/apache/zookeeper/test/ClientSSLTest.java: ## @@ -147,6 +148,8 @@ public void testClientServerSSLWithCnxnClassName()

[GitHub] [zookeeper] kezhuw commented on a diff in pull request #1996: ZOOKEEPER-4601: Fix get config watcher path to "/zookeeper/config"

2023-09-14 Thread via GitHub
kezhuw commented on code in PR #1996: URL: https://github.com/apache/zookeeper/pull/1996#discussion_r1325874176 ## zookeeper-server/src/test/java/org/apache/zookeeper/test/ChrootTest.java: ## @@ -63,25 +60,6 @@ public boolean matches() throws InterruptedException { } -

[GitHub] [zookeeper] kezhuw commented on a diff in pull request #1996: ZOOKEEPER-4601: Fix get config watcher path to "/zookeeper/config"

2023-09-15 Thread via GitHub
kezhuw commented on code in PR #1996: URL: https://github.com/apache/zookeeper/pull/1996#discussion_r1326831655 ## zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java: ## @@ -855,10 +855,22 @@ class SendThread extends ZooKeeperThread { private boolean

[GitHub] [zookeeper] tisonkun commented on a diff in pull request #2062: ZOOKEEPER-4742: Fix connection loss due to abnormal `getConfig` watcher path

2023-09-15 Thread via GitHub
tisonkun commented on code in PR #2062: URL: https://github.com/apache/zookeeper/pull/2062#discussion_r1327013852 ## zookeeper-server/src/test/java/org/apache/zookeeper/test/ChrootTest.java: ## @@ -65,7 +65,9 @@ public boolean matches() throws InterruptedException {

[GitHub] [zookeeper] tisonkun commented on pull request #2062: ZOOKEEPER-4742: Fix connection loss due to abnormal `getConfig` watcher path

2023-09-15 Thread via GitHub
tisonkun commented on PR #2062: URL: https://github.com/apache/zookeeper/pull/2062#issuecomment-1720932722 Here is a patch: ```diff diff --git a/zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java

[GitHub] [zookeeper] tisonkun commented on a diff in pull request #1996: ZOOKEEPER-4601: Fix get config watcher path to "/zookeeper/config"

2023-09-14 Thread via GitHub
tisonkun commented on code in PR #1996: URL: https://github.com/apache/zookeeper/pull/1996#discussion_r1326764484 ## zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java: ## @@ -855,10 +855,22 @@ class SendThread extends ZooKeeperThread { private boolean

[GitHub] [zookeeper] tisonkun commented on a diff in pull request #1996: ZOOKEEPER-4601: Fix get config watcher path to "/zookeeper/config"

2023-09-14 Thread via GitHub
tisonkun commented on code in PR #1996: URL: https://github.com/apache/zookeeper/pull/1996#discussion_r1326764080 ## zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java: ## @@ -855,10 +855,22 @@ class SendThread extends ZooKeeperThread { private boolean

[GitHub] [zookeeper] kezhuw opened a new pull request, #2062: ZOOKEEPER-4742: Fix connection loss due to abnormal `getConfig` watcher path

2023-09-15 Thread via GitHub
kezhuw opened a new pull request, #2062: URL: https://github.com/apache/zookeeper/pull/2062 Currently, `ClientCnxn` will strip path "/zookeeper/config" to "keeper/config" for chroot "/zoo". This causes exception and finally connection loss. This is a leftover of ZOOKEEPER-4565. --

[GitHub] [zookeeper] kezhuw commented on pull request #2062: ZOOKEEPER-4742: Fix connection loss due to abnormal `getConfig` watcher path

2023-09-15 Thread via GitHub
kezhuw commented on PR #2062: URL: https://github.com/apache/zookeeper/pull/2062#issuecomment-1720812292 Hi @tisonkun, I split this from #1996, I think this will make both pr more concentrated. And also, we once considered ZOOKEEPER-4601 as a [breaking change due to misinformation from my

[GitHub] [zookeeper] kezhuw commented on pull request #2062: ZOOKEEPER-4742: Fix connection loss due to abnormal `getConfig` watcher path

2023-09-15 Thread via GitHub
kezhuw commented on PR #2062: URL: https://github.com/apache/zookeeper/pull/2062#issuecomment-1721003134 @tisonkun Thank you for reviwing. I have assigned ZOOKEEPER-838 to myself and try to work out a solution for evaluation. -- This is an automated message from the Apache Git Service.

[GitHub] [zookeeper] kezhuw commented on a diff in pull request #2062: ZOOKEEPER-4742: Fix connection loss due to abnormal `getConfig` watcher path

2023-09-15 Thread via GitHub
kezhuw commented on code in PR #2062: URL: https://github.com/apache/zookeeper/pull/2062#discussion_r1327083090 ## zookeeper-server/src/test/java/org/apache/zookeeper/test/ChrootTest.java: ## @@ -65,7 +65,9 @@ public boolean matches() throws InterruptedException { @Test

[GitHub] [zookeeper] vibhutisawant commented on pull request #2038: ZOOKEEPER-4726: Upgrade snappy-java version to v1.1.10.3

2023-09-08 Thread via GitHub
vibhutisawant commented on PR #2038: URL: https://github.com/apache/zookeeper/pull/2038#issuecomment-1711255961 Hi @eolivelli , @ctubbsii Could you please take a look . Thank you. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

[GitHub] [zookeeper] vibhutisawant commented on pull request #2057: ZOOKEEPER-4739: Disable ClientSSLTest for s390x arch

2023-09-08 Thread via GitHub
vibhutisawant commented on PR #2057: URL: https://github.com/apache/zookeeper/pull/2057#issuecomment-1711256815 Hi @eolivelli , @ctubbsii Could you please review the changes . Thank you. -- This is an automated message from the Apache Git Service. To respond to the message, please log on

[GitHub] [zookeeper] smoldenhauer-ish opened a new pull request, #2061: ZOOKEEPER-4391: Unable to use newer JVM memory settings as Xmx overrides

2023-09-08 Thread via GitHub
smoldenhauer-ish opened a new pull request, #2061: URL: https://github.com/apache/zookeeper/pull/2061 allows a more flexible usage of the ZK_SERVER_HEAP/ZK_CLIENT_HEAP environment variable to specify heap related JVM settings. It also keeps the old setting of a megabyte number for -Xmx

Re: [PR] ZOOKEEPER-4710 Fix ZkUtil deleteInBatch() by releasing semaphore after set flag [zookeeper]

2023-10-16 Thread via GitHub
tisonkun commented on PR #2020: URL: https://github.com/apache/zookeeper/pull/2020#issuecomment-1764410312 We can of course do so. @Shawyeok if you can help with cherry-picking and prepare PRs, it will be great. I may not have too much time to drive this pick but can help in merging.

Re: [PR] ZOOKEEPER-4710 Fix ZkUtil deleteInBatch() by releasing semaphore after set flag [zookeeper]

2023-10-16 Thread via GitHub
Shawyeok commented on PR #2020: URL: https://github.com/apache/zookeeper/pull/2020#issuecomment-1764364102 @horizonzy @tisonkun @eolivelli @symat I encountered this issue while running the unit tests for branch-3.8 on a computer with an Apple chip. It seems this commit has not been

Re: [PR] ZOOKEEPER-4761: CL tool read saved clientid fail [zookeeper]

2023-10-16 Thread via GitHub
tisonkun commented on PR #2079: URL: https://github.com/apache/zookeeper/pull/2079#issuecomment-1764616564 Seems `CheckTest.testCluster` is quite unstable. @kezhuw do you have some inputs here? -- This is an automated message from the Apache Git Service. To respond to the message, please

Re: [PR] Addition of zookeeper_init2_ssl function [zookeeper]

2023-10-16 Thread via GitHub
anmolnar commented on PR #1991: URL: https://github.com/apache/zookeeper/pull/1991#issuecomment-1764315163 @jmalopoy Please create a Jira for this issue and explain the details. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

Re: [PR] ZOOKEEPER-4761: CL tool read saved clientid fail [zookeeper]

2023-10-16 Thread via GitHub
kezhuw commented on PR #2079: URL: https://github.com/apache/zookeeper/pull/2079#issuecomment-1764649128 I opened #2067. Also, I have some thoughts on `OpCode.check` posted in https://github.com/apache/zookeeper/pull/1988#issuecomment-1758870370. -- This is an automated message from the

Re: [PR] ZOOKEEPER-4415: Added TLSv1.3 support to server [zookeeper]

2023-10-11 Thread via GitHub
tsaarni commented on PR #1919: URL: https://github.com/apache/zookeeper/pull/1919#issuecomment-1758121420 > @tisonkun @tsaarni Would you like this to be backported to other branches? > branch-3.9 looks reasonable to me. @anmolnar It would be great, at least no objections from my

Re: [PR] ZOOKEEPER-4757: Support JSON format logging [zookeeper]

2023-10-11 Thread via GitHub
janhoy commented on PR #2076: URL: https://github.com/apache/zookeeper/pull/2076#issuecomment-1757969724 Ok, I think this is ready then for final review. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above

Re: [PR] ZOOKEEPER-2623: Fix database corruption caused by quorum check [zookeeper]

2023-10-11 Thread via GitHub
anmolnar commented on PR #1988: URL: https://github.com/apache/zookeeper/pull/1988#issuecomment-1758004601 Looks like an old and nasty bug. Congrats @kezhuw for fixing it. Shouldn't we backport it to `branch-3.9` too? Maybe `branch-3.8` as well? -- This is an automated message from

Re: [PR] ZOOKEEPER-4757: Support JSON format logging [zookeeper]

2023-10-11 Thread via GitHub
anmolnar commented on PR #2076: URL: https://github.com/apache/zookeeper/pull/2076#issuecomment-1757950908 > Questions: > > * Is there a central place where all env.vars are mentioned? No, there isn't. > * Should we mention in docs that system property

Re: [PR] ZOOKEEPER-2623: Fix database corruption caused by quorum check [zookeeper]

2023-10-16 Thread via GitHub
kezhuw commented on PR #1988: URL: https://github.com/apache/zookeeper/pull/1988#issuecomment-1765632143 This pr make CI unstable, I have opened #2067 to solve it. Also, I wonder whether UNIMPLEMENTED is more appropriate. I sent

Re: [PR] ZOOKEEPER-2623: [ADDENDUM] Fix flaky CheckTest::testCluster [zookeeper]

2023-10-16 Thread via GitHub
tisonkun merged PR #2067: URL: https://github.com/apache/zookeeper/pull/2067 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

Re: [PR] ZOOKEEPER-4710 Fix ZkUtil deleteInBatch() by releasing semaphore after set flag (#2020) [zookeeper]

2023-10-16 Thread via GitHub
tisonkun merged PR #2081: URL: https://github.com/apache/zookeeper/pull/2081 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

Re: [PR] ZOOKEEPER-4710 Fix ZkUtil deleteInBatch() by releasing semaphore after set flag (#2020) [zookeeper]

2023-10-16 Thread via GitHub
tisonkun commented on PR #2081: URL: https://github.com/apache/zookeeper/pull/2081#issuecomment-1765488152 Merging... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To

Re: [PR] ZOOKEEPER-4710 Fix ZkUtil deleteInBatch() by releasing semaphore after set flag (#2020) [zookeeper]

2023-10-16 Thread via GitHub
tisonkun merged PR #2080: URL: https://github.com/apache/zookeeper/pull/2080 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[PR] ZOOKEEPER-4710 Fix ZkUtil deleteInBatch() by releasing semaphore after set flag (#2020) [zookeeper]

2023-10-16 Thread via GitHub
Shawyeok opened a new pull request, #2080: URL: https://github.com/apache/zookeeper/pull/2080 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe,

[PR] ZOOKEEPER-4710 Fix ZkUtil deleteInBatch() by releasing semaphore after set flag (#2020) [zookeeper]

2023-10-16 Thread via GitHub
Shawyeok opened a new pull request, #2081: URL: https://github.com/apache/zookeeper/pull/2081 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe,

Re: [PR] ZOOKEEPER-4710 Fix ZkUtil deleteInBatch() by releasing semaphore after set flag [zookeeper]

2023-10-16 Thread via GitHub
Shawyeok commented on PR #2020: URL: https://github.com/apache/zookeeper/pull/2020#issuecomment-1765409266 > We can of course do so. @Shawyeok if you can help with cherry-picking and prepare PRs, it will be great. I may not have too much time to drive this pick but can help in merging and

Re: [PR] ZOOKEEPER-4728: force to re-resolve hostname into IP when binding. [zookeeper]

2023-10-17 Thread via GitHub
anmolnar commented on PR #2040: URL: https://github.com/apache/zookeeper/pull/2040#issuecomment-1766033717 @showuon Sorry. This is done now. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[PR] Update Netty from 4.1.94 to 4.1.100 [zookeeper]

2023-10-17 Thread via GitHub
apupier opened a new pull request, #2082: URL: https://github.com/apache/zookeeper/pull/2082 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe,

Re: [PR] ZOOKEEPER-4759: Handle Netty CVE-2023-44487 and CVE-2023-39325 [zookeeper]

2023-10-17 Thread via GitHub
apupier closed pull request #2078: ZOOKEEPER-4759: Handle Netty CVE-2023-44487 and CVE-2023-39325 URL: https://github.com/apache/zookeeper/pull/2078 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to

Re: [PR] ZOOKEEPER-4759: Handle Netty CVE-2023-44487 and CVE-2023-39325 [zookeeper]

2023-10-17 Thread via GitHub
apupier commented on PR #2078: URL: https://github.com/apache/zookeeper/pull/2078#issuecomment-1765816151 I guess it is because the vulnerability is still under investigation https://nvd.nist.gov/vuln/detail/CVE-2023-44487 I created a neutral Pull Request just mentioning the upgrade

Re: [PR] ZOOKEEPER-4728: force to re-resolve hostname into IP when binding. [zookeeper]

2023-10-17 Thread via GitHub
showuon commented on PR #2040: URL: https://github.com/apache/zookeeper/pull/2040#issuecomment-1766286368 @anmolnar , thanks for the help! Could you also help review this PR: https://github.com/apache/zookeeper/pull/2041 . They are basically trying to fix the similar issue. -- This is

Re: [PR] ZOOKEEPER-4761: CLI tool read saved clientid fail [zookeeper]

2023-10-17 Thread via GitHub
tisonkun merged PR #2079: URL: https://github.com/apache/zookeeper/pull/2079 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

Re: [PR] ZOOKEEPER-4761: CLI tool read saved clientid fail [zookeeper]

2023-10-17 Thread via GitHub
tisonkun commented on PR #2079: URL: https://github.com/apache/zookeeper/pull/2079#issuecomment-1766519457 Trivial fix. Merging... Thanks for your contribution @gycherish! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

Re: [PR] ZOOKEEPER-2789: Reassign `ZXID` for solving 32bit overflow problem [zookeeper]

2023-10-25 Thread via GitHub
alexfernandez commented on PR #262: URL: https://github.com/apache/zookeeper/pull/262#issuecomment-1779586780 Hi @asdf2014 , please do! It would be a great improvement for my company too. Do you need any help? -- This is an automated message from the Apache Git Service. To respond to the

[PR] ZOOKEEPER-4764: Tune the log info of refusing session request [zookeeper]

2023-10-26 Thread via GitHub
horizonzy opened a new pull request, #2083: URL: https://github.com/apache/zookeeper/pull/2083 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe,

[PR] ZOOKEEPER-4766: Avoid unnecessary snapshots during leader election [zookeeper]

2023-10-30 Thread via GitHub
rishabh-src opened a new pull request, #2085: URL: https://github.com/apache/zookeeper/pull/2085 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To

[PR] ZOOKEEPER-4768: Fix flaky test org.apache.zookeeper.metrics.prometheus.ExportJvmInfoTest#exportInfo [zookeeper]

2023-11-02 Thread via GitHub
Shawyeok opened a new pull request, #2087: URL: https://github.com/apache/zookeeper/pull/2087 If the `io.prometheus.client.hotspot.DefaultExports#initialize` method has been executed by other test cases before running the

[PR] Update pom.xml [zookeeper]

2023-11-02 Thread via GitHub
JJBRT opened a new pull request, #2088: URL: https://github.com/apache/zookeeper/pull/2088 Update to the latest version of the Burningwave Tools library -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to

Re: [PR] ZOOKEEPER-4768: Fix flaky test org.apache.zookeeper.metrics.prometheus.ExportJvmInfoTest#exportInfo [zookeeper]

2023-11-02 Thread via GitHub
eolivelli merged PR #2087: URL: https://github.com/apache/zookeeper/pull/2087 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[PR] Update plugin for SBOM generation to 2.7.10 [zookeeper]

2023-10-29 Thread via GitHub
VinodAnandan opened a new pull request, #2084: URL: https://github.com/apache/zookeeper/pull/2084 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To

Re: [PR] ZOOKEEPER-4708: recreateSocketAddresses before comparing addresses [zookeeper]

2023-10-19 Thread via GitHub
showuon commented on PR #2041: URL: https://github.com/apache/zookeeper/pull/2041#issuecomment-1770124305 The compatibility test failed on java 11 in 3.6.3, but passed on java 8 in 3.6.3. I think it should be fine. Thanks. -- This is an automated message from the Apache Git Service. To

[GitHub] [zookeeper] kezhuw opened a new pull request, #2067: ZOOKEEPER-2623: [ADDENDUM] Fix flaky CheckTest::testCluster

2023-09-19 Thread via GitHub
kezhuw opened a new pull request, #2067: URL: https://github.com/apache/zookeeper/pull/2067 All tests are refactored to fail before #1988 and resist more than 100 runs locally without failure after #1988. ## Context I saw several failed ci actions due to flaky

[GitHub] [zookeeper] zhaohaidao commented on pull request #2064: ZOOKEEPER-4743: Jump from 2 to 0 when zookeeper dataVersion incre

2023-09-21 Thread via GitHub
zhaohaidao commented on PR #2064: URL: https://github.com/apache/zookeeper/pull/2064#issuecomment-1729126723 @kezhuw @tisonkun Hi, the comments have been addressed. Can you continue to review if you have time. -- This is an automated message from the Apache Git Service. To respond to the

[GitHub] [zookeeper] kezhuw commented on pull request #2065: ZOOKEEPER-838: Move chroot from ClientCnxn to ZooKeeper

2023-09-23 Thread via GitHub
kezhuw commented on PR #2065: URL: https://github.com/apache/zookeeper/pull/2065#issuecomment-1732448319 > I'm going to send a PR against your PR. Please wait a bit for pushing commits. Great! I realized that this pr will be updated just after the moment I clicked the merge button

[GitHub] [zookeeper] tisonkun commented on a diff in pull request #2065: ZOOKEEPER-838: Move chroot from ClientCnxn to ZooKeeper

2023-09-23 Thread via GitHub
tisonkun commented on code in PR #2065: URL: https://github.com/apache/zookeeper/pull/2065#discussion_r1335038422 ## zookeeper-server/src/main/java/org/apache/zookeeper/ZKWatchManager.java: ## @@ -52,7 +54,7 @@ class ZKWatchManager implements ClientWatchManager {

[GitHub] [zookeeper] tisonkun commented on a diff in pull request #2065: ZOOKEEPER-838: Move chroot from ClientCnxn to ZooKeeper

2023-09-23 Thread via GitHub
tisonkun commented on code in PR #2065: URL: https://github.com/apache/zookeeper/pull/2065#discussion_r1335038509 ## zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java: ## @@ -357,7 +355,6 @@ public String toString() { * @param canBeReadOnly whether the

[GitHub] [zookeeper] tisonkun merged pull request #2065: ZOOKEEPER-838: Move chroot from ClientCnxn to ZooKeeper

2023-09-23 Thread via GitHub
tisonkun merged PR #2065: URL: https://github.com/apache/zookeeper/pull/2065 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail:

[GitHub] [zookeeper] tisonkun commented on a diff in pull request #2064: ZOOKEEPER-4743: Jump from 2 to 0 when zookeeper dataVersion incre

2023-09-22 Thread via GitHub
tisonkun commented on code in PR #2064: URL: https://github.com/apache/zookeeper/pull/2064#discussion_r1334915069 ## zookeeper-server/src/main/java/org/apache/zookeeper/server/DataTree.java: ## @@ -1962,4 +1962,18 @@ public static StatPersisted createStat(long zxid, long time,

[GitHub] [zookeeper] tisonkun commented on a diff in pull request #2064: ZOOKEEPER-4743: Jump from 2 to 0 when zookeeper dataVersion incre

2023-09-22 Thread via GitHub
tisonkun commented on code in PR #2064: URL: https://github.com/apache/zookeeper/pull/2064#discussion_r1334915069 ## zookeeper-server/src/main/java/org/apache/zookeeper/server/DataTree.java: ## @@ -1962,4 +1962,18 @@ public static StatPersisted createStat(long zxid, long time,

[GitHub] [zookeeper] kezhuw commented on pull request #2059: ZOOKEEPER-4706: Support 64-bit sequential nodes using zxid

2023-09-23 Thread via GitHub
kezhuw commented on PR #2059: URL: https://github.com/apache/zookeeper/pull/2059#issuecomment-1732318519 > IIRC zxid only use the least significant 32 bit as sequential id, so it's still overflow with Integer.MAX_VALUE bound. No, overflow of the lower 32-bits means re-election.

[GitHub] [zookeeper] kezhuw commented on a diff in pull request #2064: ZOOKEEPER-4743: Jump from 2 to 0 when zookeeper dataVersion incre

2023-09-18 Thread via GitHub
kezhuw commented on code in PR #2064: URL: https://github.com/apache/zookeeper/pull/2064#discussion_r1328506083 ## zookeeper-server/src/main/java/org/apache/zookeeper/server/PrepRequestProcessor.java: ## @@ -735,10 +735,18 @@ private String getParentPathAndValidate(String path)

[GitHub] [zookeeper] kezhuw closed pull request #2067: ZOOKEEPER-2623: [ADDENDUM] Fix flaky CheckTest::testCluster

2023-09-20 Thread via GitHub
kezhuw closed pull request #2067: ZOOKEEPER-2623: [ADDENDUM] Fix flaky CheckTest::testCluster URL: https://github.com/apache/zookeeper/pull/2067 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the

[GitHub] [zookeeper] kezhuw commented on pull request #2067: ZOOKEEPER-2623: [ADDENDUM] Fix flaky CheckTest::testCluster

2023-09-20 Thread via GitHub
kezhuw commented on PR #2067: URL: https://github.com/apache/zookeeper/pull/2067#issuecomment-1727402558 I ran ci twice and both failed but for different reasons(ZOOKEEPER-4746, ZOOKEEPER-4745). I think ci is not a blocker for us to go. @anmolnar @eolivelli @maoling @symat @tisonkun

[GitHub] [zookeeper] ctubbsii commented on a diff in pull request #1919: ZOOKEEPER-4415: Added TLSv1.3 support to server

2023-09-25 Thread via GitHub
ctubbsii commented on code in PR #1919: URL: https://github.com/apache/zookeeper/pull/1919#discussion_r1336181672 ## zookeeper-server/src/main/java/org/apache/zookeeper/common/X509Util.java: ## @@ -81,7 +87,32 @@ public abstract class X509Util implements Closeable,

[GitHub] [zookeeper] tsaarni commented on a diff in pull request #1919: ZOOKEEPER-4415: Added TLSv1.3 support to server

2023-09-25 Thread via GitHub
tsaarni commented on code in PR #1919: URL: https://github.com/apache/zookeeper/pull/1919#discussion_r1336257400 ## zookeeper-server/src/main/java/org/apache/zookeeper/common/X509Util.java: ## @@ -81,7 +87,32 @@ public abstract class X509Util implements Closeable,

[GitHub] [zookeeper] tsaarni commented on a diff in pull request #1919: ZOOKEEPER-4415: Added TLSv1.3 support to server

2023-09-25 Thread via GitHub
tsaarni commented on code in PR #1919: URL: https://github.com/apache/zookeeper/pull/1919#discussion_r1336257400 ## zookeeper-server/src/main/java/org/apache/zookeeper/common/X509Util.java: ## @@ -81,7 +87,32 @@ public abstract class X509Util implements Closeable,

[GitHub] [zookeeper] ctubbsii commented on a diff in pull request #1919: ZOOKEEPER-4415: Added TLSv1.3 support to server

2023-09-28 Thread via GitHub
ctubbsii commented on code in PR #1919: URL: https://github.com/apache/zookeeper/pull/1919#discussion_r1340759056 ## zookeeper-server/src/main/java/org/apache/zookeeper/common/X509Util.java: ## @@ -81,7 +87,32 @@ public abstract class X509Util implements Closeable,

[GitHub] [zookeeper] kezhuw commented on pull request #2069: ZOOKEEPER-1675: Make sync a quorum operation

2023-09-28 Thread via GitHub
kezhuw commented on PR #2069: URL: https://github.com/apache/zookeeper/pull/2069#issuecomment-174022 > trying to dynamically set a system property prior to calling an API method doesn't seem like a great option. `quorumSync` is a server side property, client are innocent to

[GitHub] [zookeeper] ctubbsii commented on a diff in pull request #2068: ZOOKEEPER-4747: Add synchronous sync to ease synchronous call chains

2023-09-28 Thread via GitHub
ctubbsii commented on code in PR #2068: URL: https://github.com/apache/zookeeper/pull/2068#discussion_r1340830026 ## zookeeper-server/src/main/java/org/apache/zookeeper/ZooKeeper.java: ## @@ -2708,6 +2708,31 @@ public void getEphemerals(AsyncCallback.EphemeralsCallback cb,

[GitHub] [zookeeper] kezhuw commented on pull request #2069: ZOOKEEPER-1675: Make sync a quorum operation

2023-09-28 Thread via GitHub
kezhuw commented on PR #2069: URL: https://github.com/apache/zookeeper/pull/2069#issuecomment-1740246426 > Have separate public APIs so the user can rely on the behavior they expect for the API they used Will this cause much confusion in world after 3.10.0 ? Does client really want

[GitHub] [zookeeper] ctubbsii commented on pull request #2069: ZOOKEEPER-1675: Make sync a quorum operation

2023-09-28 Thread via GitHub
ctubbsii commented on PR #2069: URL: https://github.com/apache/zookeeper/pull/2069#issuecomment-1740264152 > Will this cause much confusion in world after 3.10.0 ? Does client really want to choose to "dated data" ? No, you are probably right. I can't imagine anybody would want this.

[GitHub] [zookeeper] vibhutisawant commented on pull request #2038: ZOOKEEPER-4726: Upgrade snappy-java version to v1.1.10.3

2023-09-29 Thread via GitHub
vibhutisawant commented on PR #2038: URL: https://github.com/apache/zookeeper/pull/2038#issuecomment-1740387395 Hi @ctubbsii, could this PR be merged? Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [zookeeper] vibhutisawant commented on pull request #2057: ZOOKEEPER-4739: Disable ClientSSLTest for s390x arch

2023-09-29 Thread via GitHub
vibhutisawant commented on PR #2057: URL: https://github.com/apache/zookeeper/pull/2057#issuecomment-1740387527 Hi @ctubbsii, could this PR be merged? Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

  1   2   3   4   5   6   7   8   9   10   >