curator.git
94 min agoMerge branch 'CURATOR-479-2' master
randgalt [Tue, 11 Dec 2018 19:21:20 +0000 (14:21 -0500)] 
Merge branch 'CURATOR-479-2'

19 hours agoMerge branch 'CURATOR-479-2' of https://git-wip-us.apache.org/repos/asf/curator into...
randgalt [Tue, 11 Dec 2018 01:00:41 +0000 (20:00 -0500)] 
Merge branch 'CURATOR-479-2' of https://git-wip-us.apache.org/repos/asf/curator into CURATOR-479-2

24 hours agoCURATOR-479
randgalt [Mon, 10 Dec 2018 20:40:46 +0000 (15:40 -0500)] 
CURATOR-479

CachedModeledFrameworkImpl.children() and CachedModeledFrameworkImpl.childrenAsZNodes() were not implemented correctly but neither was the previous commit for this. This is the correct fix. Previous commit was returning full tree, should be 1 level only

24 hours agoCURATOR-479 CURATOR-479-2
randgalt [Mon, 10 Dec 2018 20:40:46 +0000 (15:40 -0500)] 
CURATOR-479

CachedModeledFrameworkImpl.children() and CachedModeledFrameworkImpl.childrenAsZNodes() were not implemented correctly but neither was the previous commit for this. This is the correct fix. Previous commit was returning full tree, should be 1 level only

26 hours agoMake ZKPaths.makePath() methods to allocate less garbage
Roman Leventov [Mon, 10 Dec 2018 18:37:52 +0000 (19:37 +0100)] 
Make ZKPaths.makePath() methods to allocate less garbage

27 hours agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator
randgalt [Mon, 10 Dec 2018 17:28:01 +0000 (12:28 -0500)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator

27 hours agoMerge branch 'CURATOR-479'
randgalt [Mon, 10 Dec 2018 17:27:20 +0000 (12:27 -0500)] 
Merge branch 'CURATOR-479'

41 hours agoMerge branch 'CURATOR-477' of https://github.com/ramaraochavali/curator into CURATOR-477 CURATOR-477
Cam McKenzie [Mon, 10 Dec 2018 03:46:10 +0000 (14:46 +1100)] 
Merge branch 'CURATOR-477' of https://github.com/ramaraochavali/curator into CURATOR-477

44 hours agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator
Cam McKenzie [Sun, 9 Dec 2018 23:55:54 +0000 (10:55 +1100)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator

44 hours agoMerge branch 'CURATOR-487'
Cam McKenzie [Sun, 9 Dec 2018 23:55:44 +0000 (10:55 +1100)] 
Merge branch 'CURATOR-487'

44 hours ago[maven-release-plugin] rollback the release of apache-curator-4.0.2
randgalt [Sun, 9 Dec 2018 23:55:21 +0000 (18:55 -0500)] 
[maven-release-plugin] rollback the release of apache-curator-4.0.2

45 hours ago[maven-release-plugin] prepare for next development iteration
randgalt [Sun, 9 Dec 2018 23:54:51 +0000 (18:54 -0500)] 
[maven-release-plugin] prepare for next development iteration

45 hours ago[maven-release-plugin] prepare release apache-curator-4.0.2
randgalt [Sun, 9 Dec 2018 23:54:40 +0000 (18:54 -0500)] 
[maven-release-plugin] prepare release apache-curator-4.0.2

45 hours ago[maven-release-plugin] rollback the release of apache-curator-4.0.2-SNAPSHOT
randgalt [Sun, 9 Dec 2018 23:52:59 +0000 (18:52 -0500)] 
[maven-release-plugin] rollback the release of apache-curator-4.0.2-SNAPSHOT

45 hours ago[maven-release-plugin] prepare for next development iteration
randgalt [Sun, 9 Dec 2018 23:51:49 +0000 (18:51 -0500)] 
[maven-release-plugin] prepare for next development iteration

45 hours ago[maven-release-plugin] prepare release apache-curator-4.0.2-SNAPSHOT
randgalt [Sun, 9 Dec 2018 23:51:38 +0000 (18:51 -0500)] 
[maven-release-plugin] prepare release apache-curator-4.0.2-SNAPSHOT

45 hours agoCURATOR-461 removed some old settings
randgalt [Sun, 9 Dec 2018 23:50:03 +0000 (18:50 -0500)] 
CURATOR-461 removed some old settings

45 hours agoMerge branch 'CURATOR-468'
randgalt [Sun, 9 Dec 2018 22:59:34 +0000 (17:59 -0500)] 
Merge branch 'CURATOR-468'

46 hours agoMerge branch 'master' into CURATOR-490 CURATOR-490
randgalt [Sun, 9 Dec 2018 22:49:20 +0000 (17:49 -0500)] 
Merge branch 'master' into CURATOR-490

46 hours agoCURATOR-479 CURATOR-479
randgalt [Sun, 9 Dec 2018 22:46:12 +0000 (17:46 -0500)] 
CURATOR-479

Added new method to ZPath, isParentOf(). The, use it in CachedModeledFrameworkImpl.children() and CachedModeledFrameworkImpl.childrenAsZNodes() which were not implemented correctly.

46 hours agoCURATOR-487 - Rename unit test CURATOR-487
Cam McKenzie [Sun, 9 Dec 2018 22:43:34 +0000 (09:43 +1100)] 
CURATOR-487 - Rename unit test

46 hours agoCloses #288 I have a different implementation that is more generalized for future...
randgalt [Sun, 9 Dec 2018 22:40:44 +0000 (17:40 -0500)] 
Closes #288 I have a different implementation that is more generalized for future use. I'll close this and open a new PR

46 hours agoMerge branch 'CURATOR-479' of github.com:Hendrik-H/curator into CURATOR-479
randgalt [Sun, 9 Dec 2018 22:07:54 +0000 (17:07 -0500)] 
Merge branch 'CURATOR-479' of github.com:Hendrik-H/curator into CURATOR-479

46 hours agoMerge branch 'CURATOR-405'
randgalt [Sun, 9 Dec 2018 22:06:14 +0000 (17:06 -0500)] 
Merge branch 'CURATOR-405'

47 hours agoMerge branch 'GzipCompressionProvider-references' of https://github.com/leventov...
Cam McKenzie [Sun, 9 Dec 2018 21:23:30 +0000 (08:23 +1100)] 
Merge branch 'GzipCompressionProvider-references' of https://github.com/leventov/curator into CURATOR-487

2 days agoMerge branch 'CURATOR-493' into CURATOR-490
randgalt [Sun, 9 Dec 2018 17:34:30 +0000 (12:34 -0500)] 
Merge branch 'CURATOR-493' into CURATOR-490

2 days agoCURATOR-490 testReentrantSingleLock() should not be run for TestInterProcessSemaphore...
randgalt [Sun, 9 Dec 2018 17:28:32 +0000 (12:28 -0500)] 
CURATOR-490 testReentrantSingleLock() should not be run for TestInterProcessSemaphoreMutex as InterProcessSemaphoreMutex is not re-entrant

2 days agoMerge branch 'CURATOR-405' into CURATOR-490
randgalt [Sun, 9 Dec 2018 16:13:29 +0000 (11:13 -0500)] 
Merge branch 'CURATOR-405' into CURATOR-490

2 days agoCURATOR-405 CURATOR-405
randgalt [Sun, 9 Dec 2018 16:11:30 +0000 (11:11 -0500)] 
CURATOR-405

Once the session expiration is injected, reset startOfSuspendedEpoch so that we don't do this copious times while things are being reset.

2 days agoFix test case with testDeleteChildrenConcurrently
hebelala [Sun, 9 Dec 2018 08:21:27 +0000 (16:21 +0800)] 
Fix test case with testDeleteChildrenConcurrently

2 days agoMerge branch 'CURATOR-491' CURATOR-492
randgalt [Sun, 9 Dec 2018 07:27:54 +0000 (02:27 -0500)] 
Merge branch 'CURATOR-491'

2 days agoCURATOR-490
randgalt [Sun, 9 Dec 2018 04:15:44 +0000 (23:15 -0500)] 
CURATOR-490

Various changes to make tests run better: using Timing object in TestCleanState and few tests where it was missing; set the exclude groups in zk34, and set retry tests as status skip

2 days agoMerge branch 'CURATOR-491' into CURATOR-490
randgalt [Sun, 9 Dec 2018 04:06:31 +0000 (23:06 -0500)] 
Merge branch 'CURATOR-491' into CURATOR-490

2 days agoCURATOR-492 - Apache parent pom version 21
randgalt [Sun, 9 Dec 2018 00:27:45 +0000 (19:27 -0500)] 
CURATOR-492 - Apache parent pom version 21

2 days agoleft code commented out CURATOR-491
randgalt [Sun, 9 Dec 2018 00:24:24 +0000 (19:24 -0500)] 
left code commented out

2 days agoremoved debug prints
randgalt [Sun, 9 Dec 2018 00:22:42 +0000 (19:22 -0500)] 
removed debug prints

2 days agoCURATOR-491
randgalt [Sun, 9 Dec 2018 00:21:07 +0000 (19:21 -0500)] 
CURATOR-491

CURATOR-332 fixed part of this, but there's another background handler that has the same problem.

The background handler in {{refresh()}} correctly checks if the instance has been closed before processing as well as clearing watchers that might have been set in the interim. This same treatment needs to be added to the background handler in {{getDataAndStat()}}.

3 days agofixed CachedModeledFrameworkImpl children queries, https://issues.apache.org/jira...
Hendrik Haddorp [Sat, 8 Dec 2018 20:42:11 +0000 (21:42 +0100)] 
fixed CachedModeledFrameworkImpl children queries, https://issues.apache.org/jira/browse/CURATOR-479

3 days agofixed the version handling, https://issues.apache.org/jira/browse/CURATOR-480
Hendrik Haddorp [Sat, 8 Dec 2018 16:11:02 +0000 (17:11 +0100)] 
fixed the version handling, https://issues.apache.org/jira/browse/CURATOR-480

5 days agoAdd a comment explaining CURATOR-468
randgalt [Thu, 6 Dec 2018 17:43:16 +0000 (12:43 -0500)] 
Add a comment explaining

5 days agoCURATOR-468
randgalt [Thu, 6 Dec 2018 17:40:43 +0000 (12:40 -0500)] 
CURATOR-468

Adds a test to what #279 had along with a slightly more complete fix. The finally clause of doWork() releases the mutex. In an interrupted situation this would always fail causing the failed delete manager to handle the work resulting in slightly slower deletions and spurious log messaged. This fixes this by clearing the thread interrupted state prior to releasing the mutex and then resetting afterwards if needed.

5 days agoCloses #279 I have a test for this along with the fix. I'm going to close this in...
randgalt [Thu, 6 Dec 2018 17:40:07 +0000 (12:40 -0500)] 
Closes #279 I have a test for this along with the fix. I'm going to close this in favor of what I have.

6 days agoexpanded async-create-protected test to verify protectedId
josh gruenberg [Wed, 5 Dec 2018 15:27:30 +0000 (08:27 -0700)] 
expanded async-create-protected test to verify protectedId

6 days agoMerge pull request #1 from Randgalt/CURATOR-489-set-protectedId
josh gruenberg [Wed, 5 Dec 2018 15:08:37 +0000 (08:08 -0700)] 
Merge pull request #1 from Randgalt/CURATOR-489-set-protectedId

Added test for async create protected

6 days agoAdded test for async create protected
randgalt [Wed, 5 Dec 2018 01:22:51 +0000 (20:22 -0500)] 
Added test for async create protected

6 days agoCURATOR-489: CreateBuilderImpl assigns protectedId if doProtected is true
josh gruenberg [Tue, 4 Dec 2018 21:17:15 +0000 (14:17 -0700)] 
CURATOR-489: CreateBuilderImpl assigns protectedId if doProtected is true

8 days agoCURATOR-472 - Fixed unit test CURATOR-472
Cam McKenzie [Sun, 2 Dec 2018 23:35:46 +0000 (10:35 +1100)] 
CURATOR-472 - Fixed unit test

-Added setup of zookeeper.extednedTypesEnabled system property.

9 days agoadded a comment on change
randgalt [Sun, 2 Dec 2018 15:03:31 +0000 (10:03 -0500)] 
added a comment on change

10 days agoCURATOR-472
randgalt [Sat, 1 Dec 2018 15:55:55 +0000 (10:55 -0500)] 
CURATOR-472

Fixed 2 problems: 1) internalClose can be called from a ZooKeeper background thread (as part of a Watcher callback). Calling ZooKeeper.close with a waitForShutdownTimeoutMs in this case will cause a deadlock as no other events can be processed until the current thread exits. 2) All TTL tests must set the system property "zookeeper.extendedTypesEnabled"

11 days agoAdd tests
Roman Leventov [Fri, 30 Nov 2018 19:22:51 +0000 (20:22 +0100)] 
Add tests

11 days agoMake GzipCompressionProvider to recycle Deflaters and Inflaters in pools
Roman Leventov [Fri, 30 Nov 2018 17:49:10 +0000 (18:49 +0100)] 
Make GzipCompressionProvider to recycle Deflaters and Inflaters in pools

3 weeks agoMove sequential suffix extraction logic into ZKPaths helper method
nickhill [Thu, 15 Nov 2018 18:19:51 +0000 (10:19 -0800)] 
Move sequential suffix extraction logic into ZKPaths helper method

4 weeks agofix bug in reworked createPath determination logic
nickhill [Wed, 7 Nov 2018 16:52:40 +0000 (08:52 -0800)] 
fix bug in reworked createPath determination logic

4 weeks agochange to use if statements; remove redundant isSequential method
nickhill [Wed, 7 Nov 2018 01:32:23 +0000 (17:32 -0800)] 
change to use if statements; remove redundant isSequential method

and define SEQUENTIAL_SUFFIX_DIGITS int constant

5 weeks agoadd targeted unit test for bug/fix
nickhill [Mon, 5 Nov 2018 17:57:29 +0000 (09:57 -0800)] 
add targeted unit test for bug/fix

5 weeks agofix path used when re-creating sequential PersistentNode with protection
nickhill [Fri, 2 Nov 2018 23:51:15 +0000 (16:51 -0700)] 
fix path used when re-creating sequential PersistentNode with protection

would previously result in creation of a second non-sequential znode

2 months agouse maybeWatch
Rama [Tue, 25 Sep 2018 11:48:05 +0000 (17:18 +0530)] 
use maybeWatch

2 months agoadded for exists watcher also
Rama [Tue, 25 Sep 2018 07:38:47 +0000 (13:08 +0530)] 
added for exists watcher also

2 months agoreorder imports
Rama [Mon, 24 Sep 2018 07:49:40 +0000 (13:19 +0530)] 
reorder imports

2 months agoaddress review comments
Rama [Mon, 24 Sep 2018 07:47:15 +0000 (13:17 +0530)] 
address review comments

2 months agofix test case
Rama [Mon, 24 Sep 2018 04:26:48 +0000 (09:56 +0530)] 
fix test case

2 months agoaddress review feedback
Rama [Sun, 23 Sep 2018 07:58:23 +0000 (13:28 +0530)] 
address review feedback

2 months agoMerge branch 'master' of github.com:matobet/curator into CURATOR-475
randgalt [Sun, 23 Sep 2018 03:44:03 +0000 (22:44 -0500)] 
Merge branch 'master' of github.com:matobet/curator into CURATOR-475

3 months agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator
randgalt [Sat, 1 Sep 2018 14:40:43 +0000 (09:40 -0500)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator

3 months agoCloses #273 - not needed
randgalt [Sat, 1 Sep 2018 14:40:31 +0000 (09:40 -0500)] 
Closes #273 - not needed

3 months agoadded support for zkwatches
Rama [Mon, 20 Aug 2018 06:46:12 +0000 (12:16 +0530)] 
added support for zkwatches

4 months agoCURATOR-476 PathChildrenCache should check resultCode=-101 for getData(...) done... CURATOR-476
rsouhrain [Fri, 10 Aug 2018 13:10:18 +0000 (14:10 +0100)] 
CURATOR-476 PathChildrenCache should check resultCode=-101 for getData(...) done on non-existent child and remove it from it's initialSet

4 months agoSupport client timeouts < 1000ms
Martin Betak [Wed, 8 Aug 2018 11:51:28 +0000 (13:51 +0200)] 
Support client timeouts < 1000ms

Before, regardless of the value set in `connectionTimeoutMs` the
CuratorZookeeperClient#internalBlockUntilConnectedOrTimedOut method did
the initial wait with value of 1 second, which made settings lower than
this value ineffective. This proved problematic in several use cases
where such minimum for timeout is prohibitively large.

5 months agoAdded SO links
randgalt [Thu, 5 Jul 2018 18:25:05 +0000 (13:25 -0500)] 
Added SO links

5 months agoMerge branch 'master' into CURATOR-408
randgalt [Thu, 28 Jun 2018 06:03:22 +0000 (01:03 -0500)] 
Merge branch 'master' into CURATOR-408

5 months agoJava 8 CURATOR-471
randgalt [Wed, 27 Jun 2018 14:58:31 +0000 (09:58 -0500)] 
Java 8

5 months agoCURATOR-471
randgalt [Sun, 24 Jun 2018 16:36:55 +0000 (11:36 -0500)] 
CURATOR-471

Move to ZooKeeper 3.5.4-beta and Java 8

5 months agoAdded a test and moved to Java 8 - needed by ZK 3.5.4
randgalt [Sun, 24 Jun 2018 16:32:46 +0000 (11:32 -0500)] 
Added a test and moved to Java 8 - needed by ZK 3.5.4

5 months agoMerge branch 'fix/CURATOR-408-close-with-timeout' of github.com:eolivelli/curator...
randgalt [Sun, 24 Jun 2018 16:20:07 +0000 (11:20 -0500)] 
Merge branch 'fix/CURATOR-408-close-with-timeout' of github.com:eolivelli/curator into CURATOR-408

5 months agorename method for clarity
randgalt [Sun, 24 Jun 2018 16:19:48 +0000 (11:19 -0500)] 
rename method for clarity

5 months agolast rename
Enrico Olivelli [Sun, 24 Jun 2018 16:18:31 +0000 (18:18 +0200)] 
last rename

5 months agoanother rename
Enrico Olivelli [Sun, 24 Jun 2018 16:17:09 +0000 (18:17 +0200)] 
another rename

5 months agoMerge branch 'fix/CURATOR-408-close-with-timeout' of github.com:eolivelli/curator...
randgalt [Sun, 24 Jun 2018 16:16:07 +0000 (11:16 -0500)] 
Merge branch 'fix/CURATOR-408-close-with-timeout' of github.com:eolivelli/curator into CURATOR-408

5 months agorename to waitForShutdownTimeoutMs
Enrico Olivelli [Sun, 24 Jun 2018 16:15:29 +0000 (18:15 +0200)] 
rename to waitForShutdownTimeoutMs

5 months agorename property
Enrico Olivelli [Sun, 24 Jun 2018 16:14:23 +0000 (18:14 +0200)] 
rename property

5 months agoMerge branch 'fix/CURATOR-408-close-with-timeout' of github.com:eolivelli/curator...
randgalt [Sun, 24 Jun 2018 16:12:06 +0000 (11:12 -0500)] 
Merge branch 'fix/CURATOR-408-close-with-timeout' of github.com:eolivelli/curator into CURATOR-408

5 months agoadd defaultWaitForShutdownTimeoutMs
Enrico Olivelli [Sun, 24 Jun 2018 16:05:11 +0000 (18:05 +0200)] 
add defaultWaitForShutdownTimeoutMs

5 months agoCloses #265 - closing in favor of an alternate PR
randgalt [Sun, 24 Jun 2018 15:55:54 +0000 (10:55 -0500)] 
Closes #265 - closing in favor of an alternate PR

5 months agolicense header
randgalt [Sun, 24 Jun 2018 15:25:34 +0000 (10:25 -0500)] 
license header

5 months agoCloses #267
randgalt [Sun, 24 Jun 2018 14:35:46 +0000 (09:35 -0500)] 
Closes #267

CURATOR-448

changed wording a bit

5 months agoMerge branch 'CURATOR-448' of github.com:cjmctague/curator into CURATOR-448
randgalt [Sun, 24 Jun 2018 14:34:03 +0000 (09:34 -0500)] 
Merge branch 'CURATOR-448' of github.com:cjmctague/curator into CURATOR-448

5 months agorenamed arg CURATOR-408
randgalt [Sun, 24 Jun 2018 14:16:03 +0000 (09:16 -0500)] 
renamed arg

5 months agoMerge branch 'fix/CURATOR-408-close-with-timeout' of github.com:eolivelli/curator...
randgalt [Sun, 24 Jun 2018 14:13:19 +0000 (09:13 -0500)] 
Merge branch 'fix/CURATOR-408-close-with-timeout' of github.com:eolivelli/curator into CURATOR-408

5 months agoCloses #261 - fixed in a separate PR
randgalt [Sun, 24 Jun 2018 14:10:37 +0000 (09:10 -0500)] 
Closes #261  - fixed in a separate PR

5 months agoFix for CURATOR-452 CURATOR-452
randgalt [Sun, 24 Jun 2018 14:08:02 +0000 (09:08 -0500)] 
Fix for CURATOR-452

race in ServiceCacheImpl's start() method caused by an optimization whereby it clears the dataBytes of its internal PathChildrenCache - was causing an intermittent NPE

5 months agoMerge branch 'feature/CURATOR-450' of github.com:dongjinleekr/curator into CURATOR-450
randgalt [Sun, 24 Jun 2018 13:02:45 +0000 (08:02 -0500)] 
Merge branch 'feature/CURATOR-450' of github.com:dongjinleekr/curator into CURATOR-450

6 months agoCURATOR-408 Handle graceful close of ZookKeeper client waiting for all resources...
Enrico Olivelli [Mon, 11 Jun 2018 19:28:30 +0000 (21:28 +0200)] 
CURATOR-408 Handle graceful close of ZookKeeper client waiting for all resources to be released

6 months agoCURATOR-448 - Include curator framework state in error messages
Christopher McTague [Mon, 11 Jun 2018 16:41:58 +0000 (12:41 -0400)] 
CURATOR-448 - Include curator framework state in error messages

6 months agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator
randgalt [Mon, 21 May 2018 14:06:21 +0000 (09:06 -0500)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator

6 months agoCloses #264 means "if and only if". This is not a typo
randgalt [Mon, 21 May 2018 14:06:06 +0000 (09:06 -0500)] 
Closes #264  means "if and only if". This is not a typo

6 months agoCloses #264 means 'if and only if'. This is not a typo
randgalt [Mon, 21 May 2018 14:05:49 +0000 (09:05 -0500)] 
Closes #264  means 'if and only if'. This is not a typo

7 months agoMerge branch 'CURATOR-462' of https://github.com/krajcsovszkig-ms/curator into CURATO... CURATOR-462
Cam McKenzie [Sun, 29 Apr 2018 23:49:58 +0000 (09:49 +1000)] 
Merge branch 'CURATOR-462' of https://github.com/krajcsovszkig-ms/curator into CURATOR-462

8 months agoFix CURATOR-462 -- return lease created in org.apache.curator.framework.recipes.locks...
krajcsovszkig-ms [Tue, 10 Apr 2018 12:08:45 +0000 (14:08 +0200)] 
Fix CURATOR-462 -- return lease created in org.apache.curator.framework.recipes.locks.InterProcessSemaphoreV2.internalAcquire1Lease(Builder<Lease>, long, boolean, long) when the wait for it to become active is interrupted; test for the fix

8 months agoCURATOR-460 Make startOfSuspendedEpoch volatile CURATOR-460
javando [Fri, 6 Apr 2018 03:39:21 +0000 (00:39 -0300)] 
CURATOR-460 Make startOfSuspendedEpoch volatile

8 months agoCURATOR-460 Abstraction of getUseSessionTimeoutMs and readability improvements
javando [Fri, 6 Apr 2018 02:56:32 +0000 (23:56 -0300)] 
CURATOR-460 Abstraction of  getUseSessionTimeoutMs and readability improvements