[
https://issues.apache.org/jira/browse/CURATOR-558?focusedWorklogId=381353&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-381353
]
ASF GitHub Bot logged work on CURATOR-558:
------------------------------------------
Author: ASF GitHub Bot
Created on: 04/Feb/20 03:32
Start Date: 04/Feb/20 03:32
Worklog Time Spent: 10m
Work Description: cammckenzie commented on pull request #344: CURATOR-558
- part 1 of ZK 3.6 updates
URL: https://github.com/apache/curator/pull/344#discussion_r374459055
##########
File path:
curator-recipes/src/test/java/org/apache/curator/framework/recipes/cache/TestTreeCache.java
##########
@@ -423,9 +423,9 @@ public void testKilledSession() throws Exception
client.create().withMode(CreateMode.EPHEMERAL).forPath("/test/me",
"data".getBytes());
assertEvent(TreeCacheEvent.Type.NODE_ADDED, "/test/me");
-
Compatibility.injectSessionExpiration(client.getZookeeperClient().getZooKeeper());
- assertEvent(TreeCacheEvent.Type.NODE_REMOVED, "/test/me",
"data".getBytes(), true);
+
client.getZookeeperClient().getZooKeeper().getTestable().injectSessionExpiration();
assertEvent(TreeCacheEvent.Type.INITIALIZED, null, null, true);
+ assertEvent(TreeCacheEvent.Type.NODE_REMOVED, "/test/me",
"data".getBytes(), true);
Review comment:
Probably not significant, just noticed that the ordering had changed.
Interesting that the session injection call has changed the ordering though,
given that under the covers it is using the same mechanism.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 381353)
Time Spent: 40m (was: 0.5h)
> ZooKeeper 3.6.0 has many API changes - bring Curator up to date
> ---------------------------------------------------------------
>
> Key: CURATOR-558
> URL: https://issues.apache.org/jira/browse/CURATOR-558
> Project: Apache Curator
> Issue Type: Improvement
> Components: Client, Documentation, Framework, Tests
> Affects Versions: 4.2.0
> Reporter: Jordan Zimmerman
> Priority: Major
> Fix For: 4.3.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> ZooKeeper 3.6.0 (soon to be released) has a number of internal changes that
> require significant changes to Curator. We should consider:
> * Major version bump (5.0? 4.4?)
> * Remove ZK 3.4 compatibility code - Curator 4.2.x can remain the supported
> version for 3.4 compatibility
> * Should we remove the few Guava classes that have leaked into our public
> APIs? {{ListenerContainer}} has been deprecated for a version or two now.
> * We can also remove the "Reaper" classes which are no longer necessary given
> Container nodes
> * Remove Exhibitor support
--
This message was sent by Atlassian Jira
(v8.3.4#803005)