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/04/14 03:08:14 UTC

[jira] Updated: (ZOOKEEPER-340) binaryinputarchive throws out runtimeexceptions for unreasonable length datastructures.

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

Mahadev konar updated ZOOKEEPER-340:
------------------------------------

    Attachment: ZOOKEEPER-340.patch

this patch makes the Binaryoutputarchive throw IOException. 

- i havent added any tests since tests for ZOOKEEPER-367 will verify this.

> binaryinputarchive throws out runtimeexceptions for unreasonable length datastructures.
> ---------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-340
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-340
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: jute, server
>    Affects Versions: 3.0.0, 3.0.1, 3.1.0, 3.1.1
>            Reporter: Mahadev konar
>            Assignee: Mahadev konar
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-340.patch
>
>
> binaryinputarchive throws out runtimeexceptions for unreasonable length datastructures. We should change that to be IOExceptions so that we can handle partial writes to logs,, machine powerdown better.

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