zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2797) Invalid TTL from misbehaving client nukes zookeeper
Date Wed, 31 May 2017 04:49:04 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030625#comment-16030625
] 

ASF GitHub Bot commented on ZOOKEEPER-2797:
-------------------------------------------

Github user packysauce commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/267#discussion_r119270375
  
    --- 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 --
    
    Ah! the first version of this went through the zk client-ish interface, so probably not
needed anymore


> 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)

Mime
View raw message