This is an automated email from the ASF dual-hosted git repository.

randgalt pushed a change to branch CURATOR-525-fix-lost-state-race
in repository https://gitbox.apache.org/repos/asf/curator.git.


    omit 9ff0190  CURATOR-525
     add 7f9e9cc  CURATOR-549 (#335)
     new ba83de1  CURATOR-525
     new d907766  CURATOR-525 - instead of resetting the connection, change the 
state to RECONNECTED. I'm concerned about LOST/reset loops. This is still a bad 
hack and needs to be addressed in the future.

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (9ff0190)
            \
             N -- N -- N   refs/heads/CURATOR-525-fix-lost-state-race (d907766)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/java/cache/CuratorCacheExample.java   |  92 +++++
 .../src/site/confluence/index.confluence           |   2 +-
 .../framework/state/ConnectionStateManager.java    |   2 +-
 .../framework/recipes/cache/CuratorCache.java      | 136 ++++++++
 .../recipes/cache/CuratorCacheAccessor.java        |  75 +++++
 .../recipes/cache/CuratorCacheBuilder.java         |  54 +++
 .../recipes/cache/CuratorCacheBuilderImpl.java     |  65 ++++
 .../framework/recipes/cache/CuratorCacheImpl.java  | 301 +++++++++++++++++
 .../recipes/cache/CuratorCacheListener.java        |  78 +++++
 .../recipes/cache/CuratorCacheListenerBuilder.java | 129 +++++++
 .../cache/CuratorCacheListenerBuilderImpl.java     | 161 +++++++++
 .../recipes/cache/CuratorCacheStorage.java         |  88 +++++
 .../curator/framework/recipes/cache/NodeCache.java |   3 +
 ...peration.java => NodeCacheListenerWrapper.java} |  35 +-
 .../{EventOperation.java => OutstandingOps.java}   |  38 ++-
 .../framework/recipes/cache/PathChildrenCache.java |   4 +-
 .../cache/PathChildrenCacheListenerWrapper.java    |  78 +++++
 .../recipes/cache/StandardCuratorCacheStorage.java |  74 ++++
 .../curator/framework/recipes/cache/TreeCache.java |   3 +
 .../recipes/cache/TreeCacheListenerWrapper.java    |  81 +++++
 .../framework/recipes/watch/PersistentWatcher.java | 174 ++++++++++
 .../src/site/confluence/curator-cache.confluence   |  36 ++
 .../src/site/confluence/index.confluence           |  10 +-
 .../site/confluence/persistent-watcher.confluence  |  35 ++
 .../framework/recipes/cache/TestCuratorCache.java  | 176 ++++++++++
 .../recipes/cache/TestCuratorCacheConsistency.java | 373 +++++++++++++++++++++
 .../recipes/cache/TestCuratorCacheEdges.java       | 148 ++++++++
 .../cache/TestCuratorCacheEventOrdering.java       |  52 +++
 .../recipes/cache/TestCuratorCacheWrappers.java    | 172 ++++++++++
 .../recipes/cache/TestWrappedNodeCache.java        | 171 ++++++++++
 .../recipes/watch/TestPersistentWatcher.java       | 106 ++++++
 31 files changed, 2914 insertions(+), 38 deletions(-)
 create mode 100644 
curator-examples/src/main/java/cache/CuratorCacheExample.java
 create mode 100644 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCache.java
 create mode 100644 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCacheAccessor.java
 create mode 100644 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCacheBuilder.java
 create mode 100644 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCacheBuilderImpl.java
 create mode 100644 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCacheImpl.java
 create mode 100644 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCacheListener.java
 create mode 100644 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCacheListenerBuilder.java
 create mode 100644 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCacheListenerBuilderImpl.java
 create mode 100644 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/CuratorCacheStorage.java
 copy 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/{EventOperation.java
 => NodeCacheListenerWrapper.java} (61%)
 copy 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/{EventOperation.java
 => OutstandingOps.java} (53%)
 create mode 100644 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/PathChildrenCacheListenerWrapper.java
 create mode 100644 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/StandardCuratorCacheStorage.java
 create mode 100644 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/TreeCacheListenerWrapper.java
 create mode 100644 
curator-recipes/src/main/java/org/apache/curator/framework/recipes/watch/PersistentWatcher.java
 create mode 100644 curator-recipes/src/site/confluence/curator-cache.confluence
 create mode 100644 
curator-recipes/src/site/confluence/persistent-watcher.confluence
 create mode 100644 
curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestCuratorCache.java
 create mode 100644 
curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestCuratorCacheConsistency.java
 create mode 100644 
curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestCuratorCacheEdges.java
 create mode 100644 
curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestCuratorCacheEventOrdering.java
 create mode 100644 
curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestCuratorCacheWrappers.java
 create mode 100644 
curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestWrappedNodeCache.java
 create mode 100644 
curator-recipes/src/test/java/org/apache/curator/framework/recipes/watch/TestPersistentWatcher.java

Reply via email to