Project

General

Profile

Story #8097

Metacat (storage) and d1-synchronize both have the code to compute the checksum

Added by Jing Tao almost 7 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
d1_synchronization
Target version:
Start date:
2017-05-20
Due date:
% Done:

0%

Story Points:

Description

Both Metacat (storage) and d1-synchronize have the code to compute the checksum. It is redundant. I think we need to keep the mechanism on Metacat since it really computes the checksum of the output stream writing the file.

History

#1 Updated by Rob Nahf almost 7 years ago

In general, the dataone infrastructure was designed to avoid burdening the CN with calculating checksums, and instead use a callback to the MN to recalculate the checksum on the object (MNRead.getChecksum(identifier, algorithm). With the new implementation in Metacat of always verifying the checksum, we make have inadvertently gone against this design if the checksum verification is done in a CN/MN common method.

The synchronization validateChecksum method is there to get the member node to recalculate the checksum on the Member Node when needed

#2 Updated by Dave Vieglais over 6 years ago

  • Sprint set to Infrastructure backlog

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)