Project

General

Profile

« Previous | Next » 

Revision 7252

Added by Chris Jones over 12 years ago

Oops, previous commit suffered from a happy trigger finger. During deleteReplicationMetadata(), don't delete the replica on the replica Member Node. Call CN.delete() for that functionality. This call just updates sytem metadata (according to the API description).

View differences:

src/edu/ucsb/nceas/metacat/dataone/CNodeService.java
287 287
			}
288 288
			  
289 289
			// delete the replica from the given node
290
			// CSJ: use CN.delete() to truly delete a replica, semantically
291
			// deleteReplicaMetadata() only modifies the sytem metadata entry.
290 292
			//D1Client.getMN(nodeId).delete(session, pid);
291 293
			  
292 294
			// reflect that change in the system metadata

Also available in: Unified diff