You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by zcjhwl <gi...@git.apache.org> on 2018/08/17 02:26:08 UTC

[GitHub] curator pull request #276: recipes-locks-LockInternals.internalLockLoop

GitHub user zcjhwl opened a pull request:

    https://github.com/apache/curator/pull/276

    recipes-locks-LockInternals.internalLockLoop

    Why not use unsafe to suspend and release threads?
    You use wait and notifyAll instead

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/curator 0v

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/curator/pull/276.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #276
    
----
commit b82e19358859a192aba7773f9bb7acbf7e265008
Author: Jordan Zimmerman <jo...@...>
Date:   2012-11-27T19:41:57Z

    Merge pull request #213 from Randgalt/master
    
    1.2.5

commit aa63b20e627d41223b8a509a145c1716a0fd49c3
Author: builds <bu...@...>
Date:   2012-11-27T19:45:07Z

    Gradle Release Plugin - pre tag commit:  'curator-1.2.5'.

commit 15b8bbd3249078f8f22e6f181fe4e8378b673659
Author: builds <bu...@...>
Date:   2012-11-27T19:46:59Z

    Gradle Release Plugin - new version commit:  'curator-1.2.6-SNAPSHOT'.

commit 171118a943a9c5ae2f82ad48925ee1ddd8db9527
Author: Jordan Zimmerman <jo...@...>
Date:   2012-11-27T22:51:23Z

    setup for 1.2.6

commit 95e3e6d99ba2f3af34b5ee6a285dd6cf480b86a5
Author: Jordan Zimmerman <jo...@...>
Date:   2012-11-30T18:05:32Z

    Issue 214: Added rebuildNode method

commit 358ad5fd4973ca575e82b9a09b785b9a12f08b2a
Author: Jordan Zimmerman <jo...@...>
Date:   2012-11-30T23:52:13Z

    Added a NodeCache to compliment the PatchChildrenCache. This caches a single node

commit 809ef80c9b49579487a149641c59970a0e84d6c9
Author: Jordan Zimmerman <jo...@...>
Date:   2012-11-30T23:52:47Z

    Merge pull request #215 from Randgalt/master
    
    NodeCache

commit 6bf6eb91664b79ad8f7eb005e86e67f30801c0fe
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-01T00:02:43Z

    updated

commit b02459f48fa5e1e7d1acacb41a30232c78ef83eb
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-01T23:03:01Z

    some doc for constructors

commit 321d3a4a11d19f10c067ce2c12f18c0cc56e5cf8
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-14T18:55:54Z

    creating in background wasn't handling createParentsIfNeeded

commit 4b7b365a73c0eb5ab20ee7dce834d0bb6cd16262
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-14T18:56:32Z

    updated

commit ff4ec29f5958cc9162f0302c02f4ec50c0e796cd
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-14T21:44:26Z

    temp checkin

commit 57cdbcd38a8d94f717bcdd07d00959f2152e46d3
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-14T21:45:10Z

    Better implementation of createParents for background mode. This is spends less time blocking ZK's background thread

commit d4c0be0f2e4f2890c6cc9de5d475b8ae3a6da845
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-14T21:46:28Z

    Exposed method to queue background operations

commit 112b5d9238c0642da31c6fcf6ba1a6602cbc6bd8
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-16T00:33:54Z

    Issue 216
    Rewrote LeaderLatch to better handle connection/server instability. At the same time, made most of the calls async which will
    help concurrency and performance.

commit 32ffdf3a8171cf53de3026487fa2d6ce0d6301cf
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-16T00:36:11Z

    updated

commit 65422e2df25a3e3f5bddf88fb5e6e18ae6052e06
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-16T22:48:18Z

    Merge pull request #218 from Randgalt/master
    
    Updates

commit bb586801e9b6061aade0dd98764c4c0dfec235ac
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-18T19:30:18Z

    Issue 217: DistributedAtomicLong (et al) should use ensurePath internally to be consistent with
    other recipes.

commit 5febd7a7a5f9e61cf0527666907f7d1f6d27fc0d
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-19T19:49:00Z

    Issue 221: client.getACL().forPath("/") throws a NullPointerException, because the Zookeeper
    API expects a Stat, but GetACLBuilderImpl initializes responseStat to null.

commit 1bad96439f63da0df1e4357705fcd2cde8d4b296
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-19T19:52:32Z

    Issue 222: Counter and log messages reversed in RetryLoop.takeException().

commit cb0f1ae0e0020f92183025cd04cbf0e4c2b316d5
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-19T20:24:45Z

    Issue 220: When creating a ServiceCacheImpl, a PathChildrenCache is created. The cache loads all existing services,
    but because preloading does not create events, ServiceCacheImpl never notices this. ServiceCacheImpl.getInstances()
    will return an empty list.

commit 5502ccd1e6e9e404d020c8505e9b937a2b75d2a5
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-19T20:31:00Z

    Merge pull request #223 from Randgalt/master
    
    Updates

commit 9753f0ac232134cc68413b8581f9ce7c37b2755c
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-19T21:11:55Z

    added a comment

commit 46493f9fcc88a8feff24617325d96c816694fb48
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-20T00:11:50Z

    Merge branch 'persistent'

commit fd1a5ade9cec050304d4913e218341d621b84673
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-20T01:02:31Z

    Fixed issues with protected mode and persisten ephemeral

commit 296437ee0e2526a0beca5b776ec019416c7fe4cf
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-20T01:03:43Z

    Removed for now and pushed to a branch.

commit 3ba4daef852936aa86cf6e66b830ff8b0cc5a4d4
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-20T18:28:45Z

    Much better way of ensuring that initial instances don't overwrite new instances accomplished without locking:

commit e662dc6c246c6c9bb6c9f6b7e63fc362cdf93923
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-20T18:30:22Z

    more optimization

commit 7aa259d0629c4e80cd2b23770a5c75f568e82659
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-20T18:30:43Z

    fixed doc

commit e1c3b39d1a811bc1a129c8dc8205d48d1b8f8a9c
Author: Jordan Zimmerman <jo...@...>
Date:   2012-12-21T18:29:37Z

    Removed getProtectedPrefix()

----


---