Task #1794
Story #1793: Content checksums need to be verified after transfer
Verify checksums of content transferred during synchronization
Status:
Closed
Priority:
Normal
Assignee:
Robert Waltz
Category:
Metacat
Target version:
Start date:
2011-09-15
Due date:
% Done:
100%
Milestone:
CCI-0.6.4
Product Version:
*
Story Points:
Sprint:
Description
Content (science metadata or resource maps) retrieved from a member node during synchronization needs to be verified for byte transfer accuracy before committing the data store. The checksum of the retrieved object should be computed and compared with the checksum reported in the system metadata for the object.
History
#1 Updated by Ben Leinfelder about 13 years ago
- Status changed from New to Closed
During the MN.replicate() call, the target MN will compute the checksum on the object it retrieves from the source MN and throw an exception if they do not match.
Note: this is only performed on inputStreams that support marking otherwise we irreparably use up the stream when computing the checksum.