You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2009/07/24 23:28:15 UTC

[jira] Updated: (ZOOKEEPER-487) setdata on root (/) crashes the servers.

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated ZOOKEEPER-487:
------------------------------------

    Status: Patch Available  (was: Open)

> setdata on root (/) crashes the servers.
> ----------------------------------------
>
>                 Key: ZOOKEEPER-487
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-487
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.2.0, 3.1.1
>            Reporter: Mahadev konar
>            Assignee: Mahadev konar
>            Priority: Blocker
>             Fix For: 3.2.1, 3.3.0
>
>         Attachments: ZOOKEEPER-487.patch
>
>
> setdata on root "/" crashes the servers with the followimg exception. Unfortunately we never had a setdata test on root. The following is the exception. This happens with 3.1.1 as well. We might want to consider releasing 3.1.2 just for this jira.
> {code}
> java.lang.IllegalArgumentException: Invalid path /
>         at org.apache.zookeeper.common.PathTrie.findMaxPrefix(PathTrie.java:255)
>         at org.apache.zookeeper.server.DataTree.setData(DataTree.java:543)
>         at org.apache.zookeeper.server.DataTree.processTxn(DataTree.java:701)
>         at org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:94)
>         at org.apache.zookeeper.server.SyncRequestProcessor.flush(SyncRequestProcessor.java:127)
>         at org.apache.zookeeper.server.SyncRequestProcessor.run(SyncRequestProcessor.java:75)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.