[
https://issues.apache.org/jira/browse/ZOOKEEPER-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030624#comment-16030624
]
ASF GitHub Bot commented on ZOOKEEPER-2797:
-------------------------------------------
Github user afine commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/267#discussion_r119269582
--- Diff: src/java/test/org/apache/zookeeper/server/CreateTTLTest.java ---
@@ -69,6 +75,23 @@ public void testCreate()
}
@Test
+ public void testBadTTLs()
+ throws IOException, KeeperException, InterruptedException {
+ Stat stat = new Stat();
--- End diff --
nit: is this needed?
> Invalid TTL from misbehaving client nukes zookeeper
> ---------------------------------------------------
>
> Key: ZOOKEEPER-2797
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2797
> Project: ZooKeeper
> Issue Type: Bug
> Components: security, server
> Affects Versions: 3.6.0
> Reporter: Patrick White
>
> I was adding container and TTL support to kazoo, and managed to screw
> something up which set the TTL to a negative value. This invalid TTL blew up
> the commit processor, and got written to the log, preventing the zookeepers
> from starting back up.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)