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

Patrick Hunt updated ZOOKEEPER-250:
-----------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

+1, looks good, tests pass

Committed revision 725816.


> isvalidsnapshot should handle the case of 0 snapshot files better.
> ------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-250
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-250
>             Project: Zookeeper
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 3.0.1
>            Reporter: Mahadev konar
>            Assignee: Mahadev konar
>             Fix For: 3.1.0
>
>         Attachments: ZOOKEEPER-250.patch, ZOOKEEPER-250.patch
>
>
> the isvalidsnapshot will fail with negative seek if 0 snapshot files exist. 
> We should just return false in case the size of the snapshot is less than 5 
> bytes.

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

Reply via email to