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
Priority: Critical
Fix For: 3.1.0
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.