Task #2126
Modify Metacat's MNodeService.replicate() to check for the replica existence
Status:
Closed
Priority:
Normal
Assignee:
Category:
Metacat
Target version:
Start date:
2011-12-09
Due date:
% Done:
100%
Milestone:
CCI-0.6.4
Product Version:
*
Story Points:
Sprint:
Description
If a replica of an object exists on a Metacat node becuase of some out of band replication (for instance, Metacat's internal replication service), a call to MN.replicate should first check for the local existence of the identifier, and if it exists, check the checksum of the object compared to the checksum in the given systemmetadata. If they match, the target node can skip the call to sourceNode.getReplica(), and can call CN.setReplicationStatus() to inform the CN that replication is complete.
History
#1 Updated by Chris Jones almost 13 years ago
- Status changed from New to Closed
The replicate() method now checks for a local copy prior to making the getReplica() call.