Revision 7086
Added by Chris Jones almost 13 years ago
src/edu/ucsb/nceas/metacat/dataone/CNodeService.java | ||
---|---|---|
545 | 545 |
nodeSubject.getValue() + " and " + subject.getValue()); |
546 | 546 |
if ( nodeSubject.equals(subject) ) { // subject of session == target node subject |
547 | 547 |
|
548 |
// lastly limit to COMPLETED status updates from MNs only |
|
549 |
if ( status == ReplicationStatus.COMPLETED ) { |
|
548 |
// lastly limit to COMPLETED and FAILED status updates from MNs only |
|
549 |
if ( status == ReplicationStatus.COMPLETED || |
|
550 |
status == ReplicationStatus.FAILED) { |
|
550 | 551 |
allowed = true; |
551 | 552 |
break; |
552 | 553 |
|
Also available in: Unified diff
Also allow MNs to set the FAILED status in setReplicationStatus(). this was an oversight on my part, trying to keep MNs that truly did succeed from overriding the COMPLETED status with FAILED.