[2/3] curator git commit: Merge branch 'CURATOR-190'

2015-04-27 Thread cammckenzie
Merge branch 'CURATOR-190' Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/da8b2d42 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/da8b2d42 Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/da8b2d42 Bra

[3/3] curator git commit: CURATOR-210 - Fixes to unit tests to restart() the TestingServer instance instead of close()ing it and then recreating it to simulate connection loss.

2015-04-27 Thread cammckenzie
CURATOR-210 - Fixes to unit tests to restart() the TestingServer instance instead of close()ing it and then recreating it to simulate connection loss. Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/c47ae740 Tree: http://g

[1/2] curator git commit: Merge branch 'CURATOR-190'

2015-04-27 Thread cammckenzie
Repository: curator Updated Branches: refs/heads/CURATOR-210 [created] c47ae7402 Merge branch 'CURATOR-190' Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/da8b2d42 Tree: http://git-wip-us.apache.org/repos/asf/curator/

[1/3] curator git commit: CURATOR-190 - Fixed up unit tests that were failing due to server restart. Removed unnecessary use of PersistentEphemeralNode from testConnectionStateListener()

2015-04-27 Thread cammckenzie
Repository: curator Updated Branches: refs/heads/master 11d1dd4e5 -> c47ae7402 CURATOR-190 - Fixed up unit tests that were failing due to server restart. Removed unnecessary use of PersistentEphemeralNode from testConnectionStateListener() Project: http://git-wip-us.apache.org/repos/asf/curat

[2/2] curator git commit: CURATOR-210 - Fixes to unit tests to restart() the TestingServer instance instead of close()ing it and then recreating it to simulate connection loss.

2015-04-27 Thread cammckenzie
CURATOR-210 - Fixes to unit tests to restart() the TestingServer instance instead of close()ing it and then recreating it to simulate connection loss. Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/c47ae740 Tree: http://g

curator git commit: CURATOR-190 - Fixed up unit tests that were failing due to server restart. Removed unnecessary use of PersistentEphemeralNode from testConnectionStateListener()

2015-04-27 Thread cammckenzie
Repository: curator Updated Branches: refs/heads/CURATOR-190 9fe802ec2 -> 017e199a3 CURATOR-190 - Fixed up unit tests that were failing due to server restart. Removed unnecessary use of PersistentEphemeralNode from testConnectionStateListener() Project: http://git-wip-us.apache.org/repos/asf/

curator git commit: closes #72 superceded by PR #73

2015-04-27 Thread randgalt
Repository: curator Updated Branches: refs/heads/master 06af6ff1c -> 11d1dd4e5 closes #72 superceded by PR #73 Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/11d1dd4e Tree: http://git-wip-us.apache.org/repos/asf/curat

[09/12] curator git commit: Use sync instead of locks. It's simpler and clearer

2015-04-27 Thread randgalt
Use sync instead of locks. It's simpler and clearer Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/1a16f82b Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/1a16f82b Diff: http://git-wip-us.apache.org/repos/asf/c

[07/12] curator git commit: removed some unneeded APIs

2015-04-27 Thread randgalt
removed some unneeded APIs Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/16650843 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/16650843 Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/16650843 Bra

[10/12] curator git commit: vast simplication. Holder isn't needed. This is better

2015-04-27 Thread randgalt
vast simplication. Holder isn't needed. This is better Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/03879d1e Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/03879d1e Diff: http://git-wip-us.apache.org/repos/as

[04/12] curator git commit: CLEAN_THRESHOLD_MS can't be static due to testing

2015-04-27 Thread randgalt
CLEAN_THRESHOLD_MS can't be static due to testing Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/fa0c9da0 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/fa0c9da0 Diff: http://git-wip-us.apache.org/repos/asf/cur

[06/12] curator git commit: moved holder into separate class so that it's easier to reason about and lock

2015-04-27 Thread randgalt
moved holder into separate class so that it's easier to reason about and lock Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/d6a51f4a Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/d6a51f4a Diff: http://git-wip

[02/12] curator git commit: set watched instances to true to check that as well

2015-04-27 Thread randgalt
set watched instances to true to check that as well Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/0178c830 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/0178c830 Diff: http://git-wip-us.apache.org/repos/asf/c

[05/12] curator git commit: sync on holder for safety during multi-step operations

2015-04-27 Thread randgalt
sync on holder for safety during multi-step operations Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/c62b1137 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/c62b1137 Diff: http://git-wip-us.apache.org/repos/as

[01/12] curator git commit: when unregistering a service remove it from the internal map first and then delete (guaranteed) the node

2015-04-27 Thread randgalt
Repository: curator Updated Branches: refs/heads/master 6e16d0d5c -> 06af6ff1c when unregistering a service remove it from the internal map first and then delete (guaranteed) the node Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/

[08/12] curator git commit: cleanup/refactoring

2015-04-27 Thread randgalt
cleanup/refactoring Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/f8b67dc4 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/f8b67dc4 Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/f8b67dc4 Branch: re

[12/12] curator git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator

2015-04-27 Thread randgalt
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/curator Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/06af6ff1 Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/06af6ff1 Diff: http://git-wip-us.a

[11/12] curator git commit: some reformatting

2015-04-27 Thread randgalt
some reformatting Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/8b250ccd Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/8b250ccd Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/8b250ccd Branch: refs

[03/12] curator git commit: Concurrent registrations/unregistrations and connection issues can cause inconsistent state. Change to a model whereby 'unregistering' an instance doesn't remove it from ma

2015-04-27 Thread randgalt
Concurrent registrations/unregistrations and connection issues can cause inconsistent state. Change to a model whereby 'unregistering' an instance doesn't remove it from management but changes the state. Instance will still be managed for a period of time and clean after a reasonable period Pr

curator git commit: some reformatting

2015-04-27 Thread randgalt
Repository: curator Updated Branches: refs/heads/CURATOR-164 03879d1e6 -> 8b250ccd6 some reformatting Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/8b250ccd Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/8

curator git commit: vast simplication. Holder isn't needed. This is better

2015-04-27 Thread randgalt
Repository: curator Updated Branches: refs/heads/CURATOR-164 1a16f82ba -> 03879d1e6 vast simplication. Holder isn't needed. This is better Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/03879d1e Tree: http://git-wip-u

curator git commit: Use sync instead of locks. It's simpler and clearer

2015-04-27 Thread randgalt
Repository: curator Updated Branches: refs/heads/CURATOR-164 f8b67dc42 -> 1a16f82ba Use sync instead of locks. It's simpler and clearer Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/1a16f82b Tree: http://git-wip-us.a