Revision 9371
Added by Jing Tao about 9 years ago
src/edu/ucsb/nceas/metacat/dataone/CNodeService.java | ||
---|---|---|
1002 | 1002 |
failure.getMessage()); |
1003 | 1003 |
} |
1004 | 1004 |
|
1005 |
// update the replica nodes about the completed replica when complete |
|
1006 |
if (status.equals(ReplicationStatus.COMPLETED)) { |
|
1005 |
// update the replica nodes about the completed replica when complete, failed or invalid |
|
1006 |
if (status.equals(ReplicationStatus.COMPLETED) || status.equals(ReplicationStatus.FAILED) || |
|
1007 |
status.equals(ReplicationStatus.INVALIDATED)) { |
|
1007 | 1008 |
notifyReplicaNodes(systemMetadata); |
1008 | 1009 |
} |
1009 | 1010 |
|
Also available in: Unified diff
In the setReplicationStatus method, it only notified the replicas when the status is completed. Now we added the status - failed and invalid.