curator.git
2 weeks agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator master
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

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

5 weeks 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

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

2 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

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

2 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

2 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

2 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

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

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

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

2 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

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

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

2 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

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

2 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

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

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

CURATOR-448

changed wording a bit

2 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

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

2 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

2 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

2 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

2 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

3 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

3 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

4 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

4 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

4 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

4 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

5 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

5 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

5 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

5 months agoCURATOR-460 Removing unnecessary empty lines
javando [Thu, 5 Apr 2018 02:17:39 +0000 (23:17 -0300)] 
CURATOR-460 Removing unnecessary empty lines

5 months agoCURATOR-460 Move test from TestLeaderLatch to TestConnectionStateManager
javando [Thu, 5 Apr 2018 02:10:12 +0000 (23:10 -0300)] 
CURATOR-460 Move test from TestLeaderLatch to TestConnectionStateManager

5 months agoCURATOR-460 Synchronize access to startOfSuspendedEpoch
javando [Thu, 5 Apr 2018 02:09:10 +0000 (23:09 -0300)] 
CURATOR-460 Synchronize access to startOfSuspendedEpoch

5 months agoCURATOR-460 Adjust to obey sessionExpirationPercent value
javando [Tue, 3 Apr 2018 02:27:13 +0000 (23:27 -0300)] 
CURATOR-460 Adjust to obey sessionExpirationPercent value

6 months ago[CURATOR-450] Fix dead link in 'Getting Started' documentation + update protocol...
Lee Dongjin [Fri, 2 Mar 2018 14:06:21 +0000 (23:06 +0900)] 
[CURATOR-450] Fix dead link in 'Getting Started' documentation + update protocol: http -> https

6 months agoConnectionStateListener should be added before starting the client CURATOR-455
randgalt [Thu, 22 Feb 2018 04:56:36 +0000 (23:56 -0500)] 
ConnectionStateListener should be added before starting the client

6 months agooops - didn't mean to leave this in
randgalt [Tue, 20 Feb 2018 22:07:52 +0000 (17:07 -0500)] 
oops - didn't mean to leave this in

6 months agoWhen the connection is lost client.getZookeeperClient().getZooKeeper() needs to be...
randgalt [Tue, 20 Feb 2018 18:36:22 +0000 (13:36 -0500)] 
When the connection is lost client.getZookeeperClient().getZooKeeper() needs to be called periodically so that the ensemble provider may update the connection string, etc.

7 months agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator
randgalt [Tue, 13 Feb 2018 18:08:57 +0000 (13:08 -0500)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator

7 months agoMerge branch 'CURATOR-447'
Scott Blum [Tue, 13 Feb 2018 00:55:13 +0000 (19:55 -0500)] 
Merge branch 'CURATOR-447'

7 months agotiny formatting change: remove superfluous parentheses CURATOR-447
nickhill [Mon, 12 Feb 2018 23:16:31 +0000 (15:16 -0800)] 
tiny formatting change: remove superfluous parentheses

7 months agoMinor cleanup and formatting
Scott Blum [Mon, 12 Feb 2018 20:34:40 +0000 (15:34 -0500)] 
Minor cleanup and formatting

7 months ago[maven-release-plugin] prepare for next development iteration
randgalt [Wed, 7 Feb 2018 23:53:43 +0000 (18:53 -0500)] 
[maven-release-plugin] prepare for next development iteration

7 months ago[maven-release-plugin] prepare release apache-curator-4.0.1 apache-curator-4.0.1
randgalt [Wed, 7 Feb 2018 23:53:32 +0000 (18:53 -0500)] 
[maven-release-plugin] prepare release apache-curator-4.0.1

7 months agoCloses #251 CURATOR-449
randgalt [Sun, 4 Feb 2018 14:43:28 +0000 (09:43 -0500)] 
Closes #251

Fix Gradle examples

8 months agorevert TreeNode extends AtomicReference<ChildData> change
nickhill [Tue, 9 Jan 2018 15:18:20 +0000 (15:18 +0000)] 
revert TreeNode extends AtomicReference<ChildData> change

(add back AtomicReferenceFieldUpdater for this)

8 months agoremove superfluous braces, unused private method
nickhill [Tue, 2 Jan 2018 16:36:20 +0000 (16:36 +0000)] 
remove superfluous braces, unused private method

and add TreeNode serial version id

8 months agoremove nodeState field, improve thread safety of cache updates
nickhill [Sun, 26 Mar 2017 20:19:40 +0000 (13:19 -0700)] 
remove nodeState field, improve thread safety of cache updates

also simplify by having TreeNode extend AtomicReference<ChildData>

8 months agoCloses #239
randgalt [Tue, 2 Jan 2018 16:21:33 +0000 (11:21 -0500)] 
Closes #239

Duplicate of CURATOR-446 - https://github.com/apache/curator/pull/248

8 months agoCloses #248
randgalt [Tue, 2 Jan 2018 16:20:14 +0000 (11:20 -0500)] 
Closes #248

Duplicate of CURATOR-446 - https://github.com/apache/curator/pull/248

8 months agoMerge branch 'CURATOR-443'
randgalt [Tue, 2 Jan 2018 16:03:42 +0000 (11:03 -0500)] 
Merge branch 'CURATOR-443'

8 months agoCloses #247
randgalt [Tue, 2 Jan 2018 15:27:00 +0000 (10:27 -0500)] 
Closes #247

I don't know why you think lockCount is not involved in "multithreading" but I assure you that it is.

8 months agoMerge branch 'CURATOR-388'
randgalt [Fri, 22 Dec 2017 05:21:55 +0000 (00:21 -0500)] 
Merge branch 'CURATOR-388'

9 months agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator
randgalt [Wed, 20 Dec 2017 23:50:30 +0000 (18:50 -0500)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator

9 months agoAdd a simple TreeCacheExample
Scott Blum [Wed, 20 Dec 2017 23:36:07 +0000 (18:36 -0500)] 
Add a simple TreeCacheExample

9 months agoBetter logging CURATOR-388
randgalt [Wed, 20 Dec 2017 21:43:13 +0000 (16:43 -0500)] 
Better logging

9 months agoPathChildrenCache stops working if container node is auto-removed and later recreated...
randgalt [Wed, 20 Dec 2017 20:39:37 +0000 (15:39 -0500)] 
PathChildrenCache stops working if container node is auto-removed and later recreated - test and a fix

9 months agoshould be testCompile CURATOR-446
randgalt [Tue, 19 Dec 2017 02:17:03 +0000 (21:17 -0500)] 
should be testCompile

9 months agoUpdate docs to document how to use the curator-test module with ZooKeeper 3.4.x
randgalt [Tue, 19 Dec 2017 02:11:27 +0000 (21:11 -0500)] 
Update docs to document how to use the curator-test module with ZooKeeper 3.4.x

9 months agoonly countdown on success CURATOR-443
randgalt [Tue, 5 Dec 2017 21:00:02 +0000 (13:00 -0800)] 
only countdown on success

9 months agoqueue multiple operations for a more complete test
randgalt [Tue, 5 Dec 2017 20:57:41 +0000 (12:57 -0800)] 
queue multiple operations for a more complete test

9 months agoadded comment
randgalt [Tue, 5 Dec 2017 20:47:35 +0000 (12:47 -0800)] 
added comment

9 months agoadded comment
randgalt [Tue, 5 Dec 2017 20:45:56 +0000 (12:45 -0800)] 
added comment

9 months agoI believe the operation needs to be removed/added back to the delay queue to get...
randgalt [Wed, 22 Nov 2017 02:34:45 +0000 (18:34 -0800)] 
I believe the operation needs to be removed/added back to the delay queue to get restorting to occur. I'm concerned however, about altering operation ordering

9 months agoTo avoid massive spinning, background operations are paused for 1 second when there...
randgalt [Wed, 22 Nov 2017 02:11:01 +0000 (18:11 -0800)] 
To avoid massive spinning, background operations are paused for 1 second when there is no connection. However, this can hurt performance terribly if background operations are queued, for example, prior to initial connection. This changes the behavior so that the sleeps are cleared when the connection is re-established. A separate queue of "forced sleep" operations are kept while the connection is down. This queue then gets its sleep cleared when the connection is re-established.

11 months agoRemove calls to deprecated MoreExecutors.sameThreadExecutor
Kenneth McFarland [Sat, 21 Oct 2017 04:05:12 +0000 (21:05 -0700)] 
Remove calls to deprecated MoreExecutors.sameThreadExecutor

11 months agogetSortedChildren() should ignore NoNode exceptions and just treat it as if there... CURATOR-436
randgalt [Thu, 12 Oct 2017 10:51:39 +0000 (12:51 +0200)] 
getSortedChildren() should ignore NoNode exceptions and just treat it as if there are no children. This works around issues with container nodes, parents not yet created, etc.

11 months agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator
randgalt [Sun, 24 Sep 2017 20:56:05 +0000 (15:56 -0500)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator

11 months agominor formatting
randgalt [Sun, 24 Sep 2017 20:55:40 +0000 (15:55 -0500)] 
minor formatting

11 months agoMerge branch 'CURATOR-430' of github.com:hebelala/curator into CURATOR-430
randgalt [Sun, 24 Sep 2017 20:52:45 +0000 (15:52 -0500)] 
Merge branch 'CURATOR-430' of github.com:hebelala/curator into CURATOR-430

12 months agoCURATOR-431 - Clean up stat population CURATOR-431
Cam McKenzie [Tue, 12 Sep 2017 23:48:18 +0000 (09:48 +1000)] 
CURATOR-431 - Clean up stat population

-Modified the population of the stat object to use DataTree#copyStat()

12 months agoCURATOR-431 - Fixed stat population during create
Cam McKenzie [Mon, 11 Sep 2017 22:58:47 +0000 (08:58 +1000)] 
CURATOR-431 - Fixed stat population during create

-The stat object was not being populated if the create failed due to the node already existing.

13 months agorefactor the comment
hebelala [Wed, 16 Aug 2017 05:29:54 +0000 (13:29 +0800)] 
refactor the comment

13 months agoadd testcase testDeleteChildrenConcurrently
hebelala [Tue, 15 Aug 2017 17:40:22 +0000 (01:40 +0800)] 
add testcase testDeleteChildrenConcurrently

13 months ago Fix, maybe cannot deleteChildren completely when multi-client delete concurrently
hebelala [Fri, 11 Aug 2017 10:39:21 +0000 (18:39 +0800)] 
 Fix, maybe cannot deleteChildren completely when multi-client delete concurrently

13 months ago[maven-release-plugin] prepare for next development iteration
randgalt [Wed, 26 Jul 2017 14:07:14 +0000 (09:07 -0500)] 
[maven-release-plugin] prepare for next development iteration

13 months ago[maven-release-plugin] prepare release apache-curator-4.0.0 apache-curator-4.0.0
randgalt [Wed, 26 Jul 2017 14:07:03 +0000 (09:07 -0500)] 
[maven-release-plugin] prepare release apache-curator-4.0.0

13 months agoback to 4.0.0-SNAPSHOT for the release
randgalt [Wed, 26 Jul 2017 14:04:07 +0000 (09:04 -0500)] 
back to 4.0.0-SNAPSHOT for the release

13 months agoRemoved Classic connection handling as it's old, hard to maintain, forces us to run... CURATOR-427
randgalt [Mon, 24 Jul 2017 04:56:20 +0000 (23:56 -0500)] 
Removed Classic connection handling as it's old, hard to maintain, forces us to run tests twice and isn't even what users expect.

13 months ago[maven-release-plugin] prepare for next development iteration
randgalt [Sun, 23 Jul 2017 19:15:57 +0000 (14:15 -0500)] 
[maven-release-plugin] prepare for next development iteration

13 months ago[maven-release-plugin] prepare release apache-curator-4.0.0
randgalt [Sun, 23 Jul 2017 19:15:46 +0000 (14:15 -0500)] 
[maven-release-plugin] prepare release apache-curator-4.0.0

13 months agodoh back to 4.0.0-SNAPSHOT
randgalt [Sun, 23 Jul 2017 19:14:01 +0000 (14:14 -0500)] 
doh back to 4.0.0-SNAPSHOT

13 months agoback to 4.0.0-SNAPSHOT
randgalt [Sun, 23 Jul 2017 19:13:05 +0000 (14:13 -0500)] 
back to 4.0.0-SNAPSHOT

13 months agoMerge branch 'CURATOR-426'
randgalt [Sun, 23 Jul 2017 19:11:10 +0000 (14:11 -0500)] 
Merge branch 'CURATOR-426'

13 months agoressurected old KillSession.java for backward compatibilty
randgalt [Sun, 23 Jul 2017 19:10:57 +0000 (14:10 -0500)] 
ressurected old KillSession.java for backward compatibilty

13 months ago[maven-release-plugin] prepare for next development iteration
randgalt [Sun, 23 Jul 2017 12:11:47 +0000 (07:11 -0500)] 
[maven-release-plugin] prepare for next development iteration

13 months ago[maven-release-plugin] prepare release apache-curator-4.0.0
randgalt [Sun, 23 Jul 2017 12:11:36 +0000 (07:11 -0500)] 
[maven-release-plugin] prepare release apache-curator-4.0.0

13 months agoHave to use hard version for curator-test to work around maven release plugin bug CURATOR-426
randgalt [Sun, 23 Jul 2017 12:06:57 +0000 (07:06 -0500)] 
Have to use hard version for curator-test to work around maven release plugin bug

13 months agosome doc changes
randgalt [Sat, 22 Jul 2017 19:12:51 +0000 (14:12 -0500)] 
some doc changes

13 months agosome doc changes:
randgalt [Sat, 22 Jul 2017 18:26:41 +0000 (13:26 -0500)] 
some doc changes:
:

13 months agodoh - filterIsSetLatch has to be reset for each iteration (in setup). I can't be...
randgalt [Sat, 22 Jul 2017 16:19:37 +0000 (11:19 -0500)] 
doh - filterIsSetLatch has to be reset for each iteration (in setup). I can't be a final field

13 months agoIt seems that, for classic connection, the first events are SUSPENDED/LOST, How did...
randgalt [Sat, 22 Jul 2017 15:47:55 +0000 (10:47 -0500)] 
It seems that, for classic connection, the first events are SUSPENDED/LOST, How did this ever work?

13 months agowhen retrying, output the offending exception
randgalt [Sat, 22 Jul 2017 15:47:36 +0000 (10:47 -0500)] 
when retrying, output the offending exception

13 months agoMaven's incremental compiler was messing up some of the classes that are copied from...
randgalt [Sat, 22 Jul 2017 06:10:15 +0000 (01:10 -0500)] 
Maven's incremental compiler was messing up some of the classes that are copied from curator-test. So, turn it off for this module

13 months agotestSessionSurvives is a bit flakey. Add a connection state listener to make it less...
randgalt [Sat, 22 Jul 2017 03:23:35 +0000 (22:23 -0500)] 
testSessionSurvives is a bit flakey. Add a connection state listener to make it less timing dependent