Story #1793: Content checksums need to be verified after transfer
Verify checksums of content transferred during synchronization
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.
#1 Updated by Ben Leinfelder over 9 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.