[ https://issues.apache.org/jira/browse/ZOOKEEPER-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mahadev konar updated ZOOKEEPER-385: ------------------------------------ Attachment: ZOOKEEPER-385.patch this patch fixes the issue wit hthe test, It corrupts the last snapshot and checks to see if it can be deseiralized without an IOException and if not it corrupts the (last -1) snapshot and then desrializes it to confirm that the crcs do not match. > crctest failed on hudson patch test > ----------------------------------- > > Key: ZOOKEEPER-385 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-385 > Project: Zookeeper > Issue Type: Bug > Components: server, tests > Affects Versions: 3.2.0 > Reporter: Patrick Hunt > Priority: Critical > Fix For: 3.2.0 > > Attachments: ZOOKEEPER-385.patch > > > http://hudson.zones.apache.org/hudson/job/Zookeeper-Patch-vesta.apache.org/53/testReport/org.apache.zookeeper.server/CRCTest/testChecksums/ > crctest failed with > Error Message > Unreasonable length = 518291091 > Stacktrace > java.io.IOException: Unreasonable length = 518291091 > at > org.apache.jute.BinaryInputArchive.readBuffer(BinaryInputArchive.java:101) > at org.apache.zookeeper.server.DataNode.deserialize(DataNode.java:116) > at > org.apache.jute.BinaryInputArchive.readRecord(BinaryInputArchive.java:109) > at org.apache.zookeeper.server.DataTree.deserialize(DataTree.java:954) > at > org.apache.zookeeper.server.util.SerializeUtils.deserializeSnapshot(SerializeUtils.java:91) > at > org.apache.zookeeper.server.persistence.FileSnap.deserialize(FileSnap.java:125) > at org.apache.zookeeper.server.CRCTest.testChecksums(CRCTest.java:146) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.