[
https://issues.apache.org/jira/browse/ZOOKEEPER-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mahadev konar updated ZOOKEEPER-250:
------------------------------------
Status: Patch Available (was: Open)
> 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.1, 3.0.0
> Reporter: Mahadev konar
> Assignee: Mahadev konar
> Fix For: 3.1.0
>
> Attachments: 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.