curator.git
5 days agoCURATOR-644. CURATOR-645. Fix livelock in LeaderLatch (#430) master
tison [Tue, 27 Sep 2022 03:01:28 +0000 (11:01 +0800)] 
CURATOR-644. CURATOR-645. Fix livelock in LeaderLatch (#430)

Signed-off-by: tison <wander4096@gmail.com>
Co-authored-by: Matthias Pohl <matthias.pohl@aiven.io>
4 weeks agoCURATOR-587. Use ZooKeeperServerEmbedded to start TestingServer (#434)
tison [Wed, 31 Aug 2022 06:32:08 +0000 (14:32 +0800)] 
CURATOR-587. Use ZooKeeperServerEmbedded to start TestingServer (#434)

4 weeks agoIntroduce AssertJ for assertions
tison [Tue, 30 Aug 2022 06:01:34 +0000 (14:01 +0800)] 
Introduce AssertJ for assertions

AssertJ's assertions generate fruitful messages when there're failures.

Signed-off-by: tison <wander4096@gmail.com>
4 weeks agoCURATOR-538: address from InetSocketAddress could be null as it means unresolved...
Sergey Nuyanzin [Tue, 30 Aug 2022 05:42:19 +0000 (07:42 +0200)] 
CURATOR-538: address from InetSocketAddress could be null as it means unresolved address (#433)

2 months agoCURATOR-648: Fixed CuratorFramework#blockUntilConnected documentation (#432)
João Alves [Mon, 25 Jul 2022 15:50:16 +0000 (18:50 +0300)] 
CURATOR-648: Fixed CuratorFramework#blockUntilConnected documentation (#432)

2 months agoCURATOR-524. Fix all URLs as https (#431)
tison [Sun, 17 Jul 2022 08:05:32 +0000 (16:05 +0800)] 
CURATOR-524. Fix all URLs as https (#431)

Signed-off-by: tison <wander4096@gmail.com>
2 months agoCURATOR-638: Use getHostString() to build connection string in EnsembleTracker (...
Kezhu Wang [Sun, 17 Jul 2022 07:49:40 +0000 (15:49 +0800)] 
CURATOR-638: Use getHostString() to build connection string in EnsembleTracker (#425)

In Kubernetes, IP addresses are not resistant to pod restart.
`InetSocketAddress.getAddress().getHostAddress()` could target to non
ZooKeeper pods and causes curator fail to reach ZooKeeper ensemble.

Further more, this is compatible with `QuorumVerifier.toString` and
`QuorumServer.toString`.

2 months agoCURATOR-596. tidy test suite settings
tison [Thu, 14 Jul 2022 05:37:14 +0000 (13:37 +0800)] 
CURATOR-596. tidy test suite settings

Signed-off-by: tison <wander4096@gmail.com>
2 months agoCURATOR-596. Support ZooKeeper 3.7.1 (#426)
Kezhu Wang [Thu, 14 Jul 2022 05:34:59 +0000 (13:34 +0800)] 
CURATOR-596. Support ZooKeeper 3.7.1 (#426)

Co-authored-by: tison <wander4096@gmail.com>
2 months agoCURATOR-458. Fix Schema constructor validation (#257)
Roman Leventov [Thu, 14 Jul 2022 03:01:05 +0000 (07:01 +0400)] 
CURATOR-458. Fix Schema constructor validation (#257)

2 months agoCURATOR-642 Upgrade Guava from 27.0.1 to 31.1 (#420)
exceptionfactory [Wed, 13 Jul 2022 01:38:16 +0000 (20:38 -0500)] 
CURATOR-642 Upgrade Guava from 27.0.1 to 31.1 (#420)

2 months agoRemove testIsolatedThreadGroup
tison [Tue, 12 Jul 2022 12:39:56 +0000 (20:39 +0800)] 
Remove testIsolatedThreadGroup

These tests are for deprecated TreeCache and PathChildrenCache.

The functionality of isolated thread group can be easily verified from the code change in commit 83de54888d39173acd7ddad0435f955e4ba736b1, while the tests are flaky due to ThreadGroup::destory is flawed.

The ThreadGroup::destory method is terminally deprecated in JDK16. See also:

* https://bugs.openjdk.org/browse/JDK-8219197
* https://bugs.openjdk.org/browse/JDK-8220516

And thus we remove the tests for keep CI stable.

FWIW the downstream use cases previously meet the issue in CURATOR-640 are currently happy to use 5.3.0 with the patch and no further failure report.

Signed-off-by: tison <wander4096@gmail.com>
2 months agoCURATOR-562. Follow up to cleanup ConnectionState#checkTimeouts references (#429)
tison [Tue, 12 Jul 2022 10:18:22 +0000 (18:18 +0800)] 
CURATOR-562. Follow up to cleanup ConnectionState#checkTimeouts references (#429)

Signed-off-by: tison <wander4096@gmail.com>
2 months agoCURATOR-646: Fix RAT failure reports and add a CI task to prevent regression (#428)
tison [Tue, 5 Jul 2022 11:30:51 +0000 (19:30 +0800)] 
CURATOR-646: Fix RAT failure reports and add a CI task to prevent regression (#428)

Signed-off-by: tison <wander4096@gmail.com>
2 months agoSet currentStableVersion to 5.3.0
tison [Mon, 4 Jul 2022 01:59:30 +0000 (09:59 +0800)] 
Set currentStableVersion to 5.3.0

Signed-off-by: tison <wander4096@gmail.com>
3 months ago[maven-release-plugin] prepare for next development iteration
tison [Thu, 30 Jun 2022 16:55:33 +0000 (00:55 +0800)] 
[maven-release-plugin] prepare for next development iteration

3 months ago[maven-release-plugin] prepare release apache-curator-5.3.0 apache-curator-5.3.0
tison [Thu, 30 Jun 2022 16:55:23 +0000 (00:55 +0800)] 
[maven-release-plugin] prepare release apache-curator-5.3.0

3 months agoCURATOR-643: Replace literal boolean with named constant
tison [Sun, 26 Jun 2022 12:45:47 +0000 (20:45 +0800)] 
CURATOR-643: Replace literal boolean with named constant

Signed-off-by: tison <wander4096@gmail.com>
3 months agoCURATOR-643: Rescue public ctor of PersistentTtlNode
tison [Sun, 26 Jun 2022 12:43:20 +0000 (20:43 +0800)] 
CURATOR-643: Rescue public ctor of PersistentTtlNode

Signed-off-by: tison <wander4096@gmail.com>
3 months agoCURATOR-643: Add option to disable parent creation for PersistentTtlNode (#422)
Paul Boutes [Sun, 26 Jun 2022 12:34:41 +0000 (14:34 +0200)] 
CURATOR-643: Add option to disable parent creation for PersistentTtlNode (#422)

The PR enables the `PersistentTtlNode` to configure `useParentCreation` boolean flag, which is by default set as `true`.

3 months agoCURATOR-640: Run PathChildrenCache's & TreeCache's default thread isolated (#419)
tison [Wed, 15 Jun 2022 11:43:13 +0000 (19:43 +0800)] 
CURATOR-640: Run PathChildrenCache's & TreeCache's default thread isolated  (#419)

* CURATOR-640: Run PathChildrenCache default thread isolated

Signed-off-by: tison <wander4096@gmail.com>
4 months agoCURATOR-623: Add ConnectionStateListener for ChildrenCache (used by Queues) (#401)
Jordan Zimmerman [Sun, 22 May 2022 01:58:58 +0000 (20:58 -0500)] 
CURATOR-623: Add ConnectionStateListener for ChildrenCache (used by Queues) (#401)

ChildrenCache (used by Queues) didn't have a ConnectionStateListener. Thus, if a long network partition occurred the ZK instance would be recreated losing any set watcher and the ChildrenCache would fail to continue watching changes. Adding a ConnectionStateListener fixes this.

4 months agoCURATOR-514: Utilize ThreadLocalRandom In QueueSharder (#307)
belugabehr [Fri, 20 May 2022 03:53:07 +0000 (23:53 -0400)] 
CURATOR-514: Utilize ThreadLocalRandom In QueueSharder (#307)

4 months agoFix typo in ServiceProviderBuilder.java (#331)
Jingguo Yao [Thu, 5 May 2022 16:17:12 +0000 (00:17 +0800)] 
Fix typo in ServiceProviderBuilder.java (#331)

5 months agoFix typo in LeaderSelector.java (#325)
sdk2 [Sat, 30 Apr 2022 04:47:50 +0000 (12:47 +0800)] 
Fix typo in LeaderSelector.java (#325)

5 months agoCURATOR-537: Fix effective path can be used as a fencing token of LeaderLatch (#414)
tison [Fri, 29 Apr 2022 01:25:55 +0000 (09:25 +0800)] 
CURATOR-537: Fix effective path can be used as a fencing token of LeaderLatch (#414)

This is a follow up to #324.

ourPath can be modified after it's retrived in checkLeadership and before isLeader saves it by ourPath.get() again - if the connection reset and node be recreated.

To avoid handling multiple concurrent cases, this patch simply saves the last node is leader as the localOurPath so that it's always the last valid fencing token - it can be verified as invalid later, but never false valid.

Signed-off-by: tison <wander4096@gmail.com>
6 months agoCURATOR-630 Upgrade jetty to 9.4.latest (#413)
Horváth Dóra [Wed, 30 Mar 2022 13:15:35 +0000 (15:15 +0200)] 
CURATOR-630 Upgrade jetty to 9.4.latest (#413)

6 months agoSet currentStableVersion to 5.2.1
Enrico Olivelli [Thu, 17 Mar 2022 11:05:27 +0000 (12:05 +0100)] 
Set currentStableVersion to 5.2.1

6 months ago[maven-release-plugin] prepare for next development iteration
Enrico Olivelli [Mon, 14 Mar 2022 08:05:56 +0000 (09:05 +0100)] 
[maven-release-plugin] prepare for next development iteration

6 months ago[maven-release-plugin] prepare release apache-curator-5.2.1 apache-curator-5.2.1
Enrico Olivelli [Mon, 14 Mar 2022 08:05:46 +0000 (09:05 +0100)] 
[maven-release-plugin] prepare release apache-curator-5.2.1

7 months agoCURATOR-625 Bump directory maven plugin version to 1.0 (#402)
Nicolò Boschi [Mon, 28 Feb 2022 13:40:54 +0000 (14:40 +0100)] 
CURATOR-625 Bump directory maven plugin version to 1.0 (#402)

7 months agoCURATOR-633: Run TestConnectionStateManager tests in exact groups (#411)
tison [Sun, 27 Feb 2022 07:49:44 +0000 (15:49 +0800)] 
CURATOR-633: Run TestConnectionStateManager tests in exact groups (#411)

Signed-off-by: tison <wander4096@gmail.com>
7 months agoCURATOR-624: Fix Github Actions by adding 'distribution' for JDK setup step (#407)
Martin Grigorov [Fri, 25 Feb 2022 19:07:47 +0000 (21:07 +0200)] 
CURATOR-624: Fix Github Actions by adding 'distribution' for JDK setup step (#407)

7 months agoCURATOR-632: Update Maven plugins (#408)
Martin Grigorov [Fri, 25 Feb 2022 16:32:46 +0000 (18:32 +0200)] 
CURATOR-632: Update Maven plugins (#408)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
9 months agoCURATOR-624 Migrate CI from Travis to GitHub actions (#403)
Nicolò Boschi [Wed, 15 Dec 2021 13:21:25 +0000 (14:21 +0100)] 
CURATOR-624 Migrate CI from Travis to GitHub actions (#403)

10 months agoCURATOR-561 Reset connection after repeat expiry 399/head 400/head
Scott Kirkpatrick [Wed, 3 Nov 2021 16:53:48 +0000 (12:53 -0400)] 
CURATOR-561 Reset connection after repeat expiry

If there is a problem posting the Expired KeeperState
during a session expiration, then the ZooKeeper event
thread will die without ever posting the Expired event.
This would then cause curator to keep trying to expire
the connection but it does nothing because the connection
is dead and no events will ever be posted.

This can be prevented by forcibly resetting the connection
if it's detected that the previous expiry had no effect

11 months agoReplace OutstandingOps with JDK bundled Phaser (#365)
tison [Sat, 16 Oct 2021 11:34:46 +0000 (19:34 +0800)] 
Replace OutstandingOps with JDK bundled Phaser (#365)

11 months agoCURATOR-606: ModeledFrameworkImpl.update(T model, int version): Use version in all...
Matthew E. Dawson [Mon, 4 Oct 2021 20:32:07 +0000 (16:32 -0400)] 
CURATOR-606: ModeledFrameworkImpl.update(T model, int version): Use version in all cases. (#393)

11 months agoCURATOR-607: InterProcessReadWriteLock should expose exposing getLockPath (#394)
faucct [Sun, 3 Oct 2021 19:11:49 +0000 (22:11 +0300)] 
CURATOR-607: InterProcessReadWriteLock should expose exposing getLockPath (#394)

Co-authored-by: Nikita Sokolov <faucct@yandex-team.ru>
13 months agoThis commit reverts changes that altered the ZPath parse method based on incorrect...
Ryan Ruel [Wed, 18 Aug 2021 14:57:42 +0000 (10:57 -0400)] 
This commit reverts changes that altered the ZPath parse method based on  incorrect assumptions about what a "resolved" ZPath actually is.

I've added a few notes to the JavaDoc and unit tests to hopefully clear up confusion in this area in the future.

13 months agoModified ZPathImpl's "isParameter()" method to properly check for parameters strings...
Ryan Ruel [Wed, 4 Aug 2021 19:20:18 +0000 (15:20 -0400)] 
Modified ZPathImpl's "isParameter()" method to properly check for parameters strings (values inside of a pair parameter delimiters).  This corrects issues with checking for path resolution status in certain cases.

Modified ZPathImpl's "resolved()" method to allow for substituted parameters to have leading path separators ("/"). This is useful in the case where a parameter is used for the first node element in the path, eliminating the need for the user to worry about the leading "/".

Added an additional unit test case for the leading "/" changes, and fixed bugs in the basic test cases that were accepting the wrong resolved state of tested ZPaths.

All unit tests for curator pass.

13 months agoCURATOR-610: Refactor CountCuratorWatcher in TestWatcherIdentity.java …
wx930910 [Mon, 9 Aug 2021 12:07:51 +0000 (14:07 +0200)] 
CURATOR-610: Refactor CountCuratorWatcher in TestWatcherIdentity.java …

Fixes [CURATOR-610](https://issues.apache.org/jira/browse/CURATOR-610)

### Description
Refactor test class [CountCuratorWatcher](https://github.com/apache/curator/blob/4a11aaef8b190dc220d35b7a91df294bfa06250e/curator-framework/src/test/java/org/apache/curator/framework/imps/TestWatcherIdentity.java#L42) by using mocking object created by Mockito.

<hr>

##### Key changed/added classes in this PR
- Create mocking object to replace test subclass `CountCuratorWatcher`, decouple test from production code.
- Make test logic more clear by using method stub instead of method overriding.
- Extract AtomicInteger variable out of the test subclass. Use the extracted variable in assertation statement to check `process(WatchedEvent)` method invocation status.

<hr>

Author: wx930910 <wx19930910@gmail.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>

Closes #397 from wx930910/CURATOR-610

14 months agoUpdate currentStableVersion to 5.2.0
Cam McKenzie [Mon, 26 Jul 2021 07:13:02 +0000 (17:13 +1000)] 
Update currentStableVersion to 5.2.0

14 months ago[maven-release-plugin] prepare for next development iteration
Cam McKenzie [Mon, 19 Jul 2021 06:10:48 +0000 (16:10 +1000)] 
[maven-release-plugin] prepare for next development iteration

14 months ago[maven-release-plugin] prepare release apache-curator-5.2.0 apache-curator-5.2.0
Cam McKenzie [Mon, 19 Jul 2021 06:10:37 +0000 (16:10 +1000)] 
[maven-release-plugin] prepare release apache-curator-5.2.0

14 months agoCURATOR-599: Configurable ZookeeperFactory by ZKClientConfig
liran2000 [Thu, 15 Jul 2021 10:28:50 +0000 (12:28 +0200)] 
CURATOR-599: Configurable ZookeeperFactory by ZKClientConfig

Option to use ZooKeeper client config.

This seems mandatory for using zookeeper.request.timeout for preventing
the potential race condition of hanging indefinitely, as described at
the ticket.

Author: liran2000 <liran2000@gmail.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Zili Chen, Cameron McKenzie

Closes #391 from liran2000/CURATOR-599

14 months agoUse Awaitility to instead of Thread sleep method. (#389)
Qiang Zhao [Mon, 12 Jul 2021 10:50:55 +0000 (18:50 +0800)] 
Use Awaitility to instead of Thread sleep method. (#389)

14 months agoCURATOR-588 Upgrade ZooKeeper to 3.6.3 (#386)
Enrico Olivelli [Tue, 6 Jul 2021 09:06:58 +0000 (11:06 +0200)] 
CURATOR-588  Upgrade ZooKeeper to 3.6.3 (#386)

Co-authored-by: Enrico Olivelli <eolivelli@apache.org>
14 months agoCURATOR-602 fix typo in the variable (#390)
Colin Kuo [Mon, 5 Jul 2021 09:35:47 +0000 (02:35 -0700)] 
CURATOR-602 fix typo in the variable (#390)

Co-authored-by: Colin Kuo <colin.kuo@ruckuswireless.com>
16 months agoCURATOR-594: TestingZooKeeperMain isn't setting tickTime, if configured (#383)
Francesco Nigro [Wed, 26 May 2021 18:28:08 +0000 (20:28 +0200)] 
CURATOR-594: TestingZooKeeperMain isn't setting tickTime, if configured (#383)

18 months agoCURATOR-591: Update the PersistentNode documentation
Paul Boutes [Sun, 28 Mar 2021 14:44:22 +0000 (16:44 +0200)] 
CURATOR-591: Update the PersistentNode documentation

As a follow up of https://github.com/apache/curator/pull/380, we should update the `PersistentNode` doc.

Author: Paul Boutes <paul.boutes@gmail.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Zili Chen, Cameron McKenzie

Closes #381 from pboutes/CURATOR-591

18 months agoCURATOR-526: drop log level for message to debug
Ammar Khaku [Sun, 28 Mar 2021 14:41:42 +0000 (16:41 +0200)] 
CURATOR-526: drop log level for message to debug

ZooKeeper is backwards compatible and accepts older config
string formats, albeit without dynamic configuration
support. Since the older format is acceptable, we should not
log at error when we see the older format and should
instead simply log at debug.

Author: Ammar Khaku <ammar.khaku@gmail.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Russell Bolles

Closes #382 from akhaku/dropLogLevel

18 months agoCURATOR-590: Add option to disable parent creation for PersistentNode
Paul Boutes [Tue, 9 Mar 2021 07:11:49 +0000 (08:11 +0100)] 
CURATOR-590: Add option to disable parent creation for PersistentNode

Adds a `useParentCreation` boolean flag to control the parent creation.

If this flag is set to `false`, the `PersistentNode` won't create the underlying znodes with the `createParentContainersIfNeeded()`, meaning that the parent znodes will have to exist beforehand in order for the `PersistentNode` to succeed its creation.

The `useParentCreation` flag is set to `true` by default.

https://issues.apache.org/jira/browse/CURATOR-590

Author: Paul Boutes <paul.boutes@elastic.co>
Author: Paul Boutes <paul.boutes@gmail.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Cameron McKenzie <mckenzie.cam@gmail.com>, Zili Chen <wander4096@gmail.com>, Jordan Zimmerman <jordan@jordanzimmerman.com>

Closes #380 from pboutes/CURATOR-590

19 months agoCURATOR-584: Added fault tolerant idempotent Create, SetData and Delete operations
Josh Slocum [Tue, 15 Dec 2020 00:26:12 +0000 (18:26 -0600)] 
CURATOR-584: Added fault tolerant idempotent Create, SetData and Delete operations

20 months agoCURATOR-585: fix DiscoveryExample did not check for exceptions
wangjie [Mon, 18 Jan 2021 11:01:42 +0000 (12:01 +0100)] 
CURATOR-585: fix DiscoveryExample did not check for exceptions

Author: wangjie <wangchenmo1025@gmail.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>

Closes #375 from iwangjie/CURATOR-585

20 months agoadd workaround
Enrico Olivelli [Mon, 18 Jan 2021 10:59:15 +0000 (11:59 +0100)] 
add workaround

20 months agoUpgrade to Python 3
Enrico Olivelli [Mon, 18 Jan 2021 10:52:10 +0000 (11:52 +0100)] 
Upgrade to Python 3

20 months agoCURATOR-576 Import merge script from ZooKeeper project (#369)
Enrico Olivelli [Mon, 18 Jan 2021 10:46:44 +0000 (11:46 +0100)] 
CURATOR-576 Import merge script from ZooKeeper project (#369)

22 months agoMake Enrico Olivelli PMC chair
randgalt [Thu, 19 Nov 2020 00:47:33 +0000 (19:47 -0500)] 
Make Enrico Olivelli PMC chair

23 months agoCURATOR-582: Migrate to jUnit 5.6 (#372)
Tamás Pénzes [Tue, 20 Oct 2020 13:18:25 +0000 (15:18 +0200)] 
CURATOR-582: Migrate to jUnit 5.6 (#372)

2 years agoCURATOR-583: Fix ArrayIndexOutOfBoundsException when passing empty list parameter...
hjyun [Sat, 19 Sep 2020 07:50:42 +0000 (16:50 +0900)] 
CURATOR-583: Fix ArrayIndexOutOfBoundsException when passing empty list parameter to reconfigure API

This closes #374 .

2 years agoCURATOR-581. fix OSGi export pattern
tison [Mon, 24 Aug 2020 01:38:20 +0000 (09:38 +0800)] 
CURATOR-581. fix OSGi export pattern

2 years agoCURATOR-581. fix OSGi export pattern 373/head
tison [Fri, 21 Aug 2020 09:42:06 +0000 (17:42 +0800)] 
CURATOR-581. fix OSGi export pattern

2 years agoAdd tison as Committer and PMC
Enrico Olivelli [Fri, 14 Aug 2020 18:14:10 +0000 (20:14 +0200)] 
Add tison as Committer and PMC

2 years agoAdd tison as Committer and PMC 371/head
tison [Fri, 14 Aug 2020 17:17:08 +0000 (01:17 +0800)] 
Add tison as Committer and PMC

2 years agoCURATOR-577 - Add a dedicated downloads page to the website
Enrico Olivelli [Mon, 13 Jul 2020 07:08:57 +0000 (09:08 +0200)] 
CURATOR-577 - Add a dedicated downloads page to the website
fix downloads page, use Apache Mirros

2 years agoCURATOR-577 - Add a dedicated downloads page to the website 370/head
randgalt [Thu, 9 Jul 2020 22:11:47 +0000 (17:11 -0500)] 
CURATOR-577 - Add a dedicated downloads page to the website

Add a dedicated downloads page to the website. Note: this page depends
on the new property "currentStableVersion"

2 years ago[maven-release-plugin] prepare for next development iteration
Enrico Olivelli [Tue, 30 Jun 2020 13:03:19 +0000 (15:03 +0200)] 
[maven-release-plugin] prepare for next development iteration

2 years ago[maven-release-plugin] prepare release apache.curator-5.1.0 apache.curator-5.1.0
Enrico Olivelli [Tue, 30 Jun 2020 13:03:09 +0000 (15:03 +0200)] 
[maven-release-plugin] prepare release apache.curator-5.1.0

2 years agoUpdate README.md
Jordan Zimmerman [Thu, 25 Jun 2020 15:27:22 +0000 (10:27 -0500)] 
Update README.md

Added Twitter follow badge

2 years agoCURATOR-575: TestingServer shutdown can cause an NPE
randgalt [Thu, 25 Jun 2020 06:46:08 +0000 (08:46 +0200)] 
CURATOR-575: TestingServer shutdown can cause an NPE

TestingServer shutdown can cause an NPE due to FileTxnSnapLog being closed in a different thread

Author: randgalt <randgalt@apache.org>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Cameron McKenzie <mckenzie.cam@gmail.com>

Closes #368 from Randgalt/CURATOR-575-fix-testing-server-npe

2 years agoCURATOR-574 DiscoveryService fatal error on deserializing an empty byte[] as JSON
Enrico Olivelli [Tue, 23 Jun 2020 11:28:23 +0000 (13:28 +0200)] 
CURATOR-574 DiscoveryService fatal error on deserializing an empty byte[] as JSON

2 years agoCURATOR-574 DiscoveryService fatal error on deserializing an empty byte[] as JSON 367/head
Enrico Olivelli [Mon, 15 Jun 2020 14:31:23 +0000 (16:31 +0200)] 
CURATOR-574 DiscoveryService fatal error on deserializing an empty byte[] as JSON

2 years agoMerge branch 'master' of https://github.com/apache/curator
Cam McKenzie [Mon, 15 Jun 2020 22:11:43 +0000 (08:11 +1000)] 
Merge branch 'master' of https://github.com/apache/curator

2 years agoAdd Enrico Olivelli as Committer and PMC
Enrico Olivelli [Fri, 12 Jun 2020 15:47:19 +0000 (17:47 +0200)] 
Add Enrico Olivelli as Committer and PMC

2 years agoMerge branch 'master' of https://github.com/apache/curator
Cam McKenzie [Wed, 3 Jun 2020 01:00:29 +0000 (11:00 +1000)] 
Merge branch 'master' of https://github.com/apache/curator

2 years agoFixed typo
Jordan Zimmerman [Wed, 20 May 2020 16:31:01 +0000 (11:31 -0500)] 
Fixed typo

2 years agoMore/better links in the Read Me
Jordan Zimmerman [Wed, 20 May 2020 16:30:30 +0000 (11:30 -0500)] 
More/better links in the Read Me

2 years agoFixed the website badge
Jordan Zimmerman [Wed, 20 May 2020 16:26:11 +0000 (11:26 -0500)] 
Fixed the website badge

2 years ago[maven-release-plugin] prepare for next development iteration
Cameron McKenzie [Mon, 18 May 2020 02:43:58 +0000 (12:43 +1000)] 
[maven-release-plugin] prepare for next development iteration

2 years ago[maven-release-plugin] prepare release apache-curator-5.0.0 apache-curator-5.0.0
Cameron McKenzie [Mon, 18 May 2020 02:43:48 +0000 (12:43 +1000)] 
[maven-release-plugin] prepare release apache-curator-5.0.0

2 years agoAdded some more icons
Jordan Zimmerman [Sat, 16 May 2020 04:49:08 +0000 (23:49 -0500)] 
Added some more icons

2 years agoAdded missing headers from CURATOR-569
randgalt [Fri, 15 May 2020 20:03:52 +0000 (15:03 -0500)] 
Added missing headers from CURATOR-569

2 years agoCURATOR-569
chevaris [Sun, 10 May 2020 16:41:05 +0000 (18:41 +0200)] 
CURATOR-569

- New methods to handle protected ZNode names

2 years agoCURATOR-558 was supposed to shade all of Guava - forgot to remove the exclusions...
randgalt [Sun, 10 May 2020 16:15:38 +0000 (11:15 -0500)] 
CURATOR-558 was supposed to shade all of Guava - forgot to remove the exclusions for the old guava classes that were still exposed. This was causing the installed JARs to be incorrect (missing the 3 shaded Guava classes) in the client JAR

2 years agotestDisconnectReconnectEventDoesNotFireValueWatcher() added as part of CURATOR-344...
randgalt [Sat, 9 May 2020 22:56:42 +0000 (17:56 -0500)] 
testDisconnectReconnectEventDoesNotFireValueWatcher() added as part of CURATOR-344 was flakey and would fail on the final assertion of numChangeEvents.get(). I don't believe you can be assured of the exact number so I made it more lenient and hopefully less flakey

2 years agomake testParentContainerMissing() more resilient by waiting for initial connection
randgalt [Sat, 9 May 2020 15:40:03 +0000 (10:40 -0500)] 
make testParentContainerMissing() more resilient by waiting for initial connection

2 years agotestDeleteChildrenConcurrently() was badly written and error prone. I fixed it so...
randgalt [Sat, 9 May 2020 14:46:05 +0000 (09:46 -0500)] 
testDeleteChildrenConcurrently() was badly written and error prone. I fixed it so it should run every time now

2 years agoCURATOR-544 - Fix issue with 'error code' 0 being passed to the KeeperExeception...
randgalt [Fri, 8 May 2020 13:00:41 +0000 (08:00 -0500)] 
CURATOR-544 - Fix issue with 'error code' 0 being passed to the KeeperExeception create method. This was breaking a lot of code

2 years agoJIRA:CURATOR-568
chevaris [Thu, 7 May 2020 07:22:30 +0000 (09:22 +0200)] 
JIRA:CURATOR-568

- Javadoc typo

2 years agoJIRA:CURATOR-568
chevaris [Wed, 6 May 2020 07:54:55 +0000 (09:54 +0200)] 
JIRA:CURATOR-568

- Adding ensembleTracker(boolean) and withEnsembleTracker() methods to
CuratorFrameworkFactory.builder() that allows enabling/disabling
ensemble tracking

2 years agoDocument breaking changes
tison [Thu, 7 May 2020 15:58:18 +0000 (23:58 +0800)] 
Document breaking changes

2 years agoAddress comments
tison [Thu, 7 May 2020 15:54:59 +0000 (23:54 +0800)] 
Address comments

2 years agoCURATOR-544: SessionFailedRetryPolicy
tison [Mon, 4 May 2020 04:51:29 +0000 (12:51 +0800)] 
CURATOR-544: SessionFailedRetryPolicy

2 years agoMerge branch 'master' of https://gitbox.apache.org/repos/asf/curator
randgalt [Wed, 22 Apr 2020 02:21:34 +0000 (21:21 -0500)] 
Merge branch 'master' of https://gitbox.apache.org/repos/asf/curator

2 years agoCURATOR-559 - background thread retries are spoiling the test. Try to work around... CURATOR-559-fix-nested-retry-loops-reopen 361/head
randgalt [Mon, 20 Apr 2020 22:14:41 +0000 (17:14 -0500)] 
CURATOR-559 - background thread retries are spoiling the test. Try to work around this

2 years agoCURATOR-559 - more attempts to keep tests from failing. Make sure count is zeroed...
randgalt [Sun, 19 Apr 2020 19:54:04 +0000 (14:54 -0500)] 
CURATOR-559 - more attempts to keep tests from failing. Make sure count is zeroed after server is stopped.

2 years ago[CURATOR-464] update classifier and document accordingly
bigmarvin [Mon, 20 Apr 2020 08:00:48 +0000 (16:00 +0800)] 
[CURATOR-464] update classifier and document accordingly

2 years agoMerge branch 'CURATOR-567-remove-test-clean-state-where-flaky'
randgalt [Sun, 19 Apr 2020 23:28:19 +0000 (18:28 -0500)] 
Merge branch 'CURATOR-567-remove-test-clean-state-where-flaky'

2 years agoCURATOR-567 - At this point, TestCleanState is so flakey we should just turn it off...
randgalt [Sun, 19 Apr 2020 23:26:13 +0000 (18:26 -0500)] 
CURATOR-567 - At this point, TestCleanState is so flakey we should just turn it off for now. It's not serving much purpose anyway.