https://redmine.dataone.org/https://redmine.dataone.org/favicon.ico2010-09-22T16:44:36ZDataONE TasksInfrastructure - Story #882: Need mechanism to delete content from CN that belongs to an MNhttps://redmine.dataone.org/issues/882?journal_id=64582010-09-22T16:44:36ZDave Vieglaisdave.vieglais@gmail.com
<ul></ul><p>Note that is applies <strong>only</strong> to test and development activity, not for operations.</p>
Infrastructure - Story #882: Need mechanism to delete content from CN that belongs to an MNhttps://redmine.dataone.org/issues/882?journal_id=66142010-10-06T20:44:50ZRobert Waltz
<ul><li><strong>Parent task</strong> set to <i>#832</i></li></ul> Infrastructure - Story #882: Need mechanism to delete content from CN that belongs to an MNhttps://redmine.dataone.org/issues/882?journal_id=66932010-10-06T23:23:44ZRobert Waltz
<ul><li><strong>Milestone</strong> set to <i>CCI-0.6</i></li></ul> Infrastructure - Story #882: Need mechanism to delete content from CN that belongs to an MNhttps://redmine.dataone.org/issues/882?journal_id=68372010-10-07T12:34:01ZDave Vieglaisdave.vieglais@gmail.com
<ul><li><strong>Start date</strong> set to <i>2010-10-07</i></li><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Task</i></li></ul> Infrastructure - Story #882: Need mechanism to delete content from CN that belongs to an MNhttps://redmine.dataone.org/issues/882?journal_id=88782011-05-23T18:08:54ZRobert Waltz
<ul><li><strong>Milestone</strong> deleted (<del><i>CCI-0.6</i></del>)</li></ul> Infrastructure - Story #882: Need mechanism to delete content from CN that belongs to an MNhttps://redmine.dataone.org/issues/882?journal_id=105402011-12-15T03:03:06ZDave Vieglaisdave.vieglais@gmail.com
<ul><li><strong>Assignee</strong> changed from <i>Robert Waltz</i> to <i>Ben Leinfelder</i></li><li><strong>Milestone</strong> set to <i>None</i></li></ul><p>Requires some design work to layout the workflow for deleting an object from the CN and ensuring that all replicas are also removed.</p>
<p>The delete() method is inadequate for this - the content needs to be purged rather than tagged as archived or obsoleted.</p>
Infrastructure - Story #882: Need mechanism to delete content from CN that belongs to an MNhttps://redmine.dataone.org/issues/882?journal_id=105412011-12-15T18:10:32ZBen Leinfelderleinfelder@nceas.ucsb.edu
<ul></ul><p>There is an MN.delete() method with a note that we should determine what the semantics of this operation are. <br>
For Metacat, "delete" does not remove any content and only prevents it from:<br>
a) being updated by another revision, <br>
b) having the same identifier reused, and<br>
c) showing the object in search results.<br>
If you know the identifier (cited in a paper, say) you can always retrieve it. In DataONE we would set SystemMetadata.archived=true for these items and the change in SystemMetadata should be replicated up to the CN and propagated to all replicas on other MNs.</p>
<p>Reasons for a more forceful "delete" mechanism:<br>
a) Inappropriate content (illegal, copyrighted, too large)<br>
b) Mistake/testing<br>
Since we NEVER want to reuse identifiers, we should maintain a SystemMetadata record for all deleted objects. I would vote to change the SystemMetadata.archived flag to be an optional "status" indicator with initial possible values of "archived" and "deleted" where, if omitted, it would indicate a normal/active object. The MN should propagate this SystemMetadata change to the CN which would spread the word to the other MNs. I think the MNs could remove all trace of that object and rely on the CN to keep a record of the identifier being used (so that it was not reused in the DataONE system). MNs holding a replica could also completely remove the object. This points to a need for MNs to have two methods:<br>
MN.archive()<br>
MN.delete()</p>
Infrastructure - Story #882: Need mechanism to delete content from CN that belongs to an MNhttps://redmine.dataone.org/issues/882?journal_id=118512012-04-23T22:07:48ZChris Jonescjones@nceas.ucsb.edu
<ul><li><strong>Target version</strong> set to <i>Sprint-2012.17-Block.3.1</i></li></ul><p>During our standup discussion on 04/23/2012, we decided to enable administrative delete() functionality by:</p>
<p>1) Renaming the current delete() method to archive(), and<br>
2) Creating a new delete() method accessible only to administrative subjects</p>
<p>We had planned on changing the 'archived' flag in SystemMetadata to 'status' as Ben suggested, but a schema change is too late in the release cycle, and so we are keeping it the same.</p>
<p>The implementation of delete() needs to:</p>
<p>1) Remove the object from the CN (database and/or filesystem)<br>
2) Mark the system metadata as 'archived' so it is not indexed<br>
3) Iterate through the replica list and call MN.delete() for each replica<br>
4) For each replica deletion, call MN.systemMetadataChanged() to update MN sysmeta</p>
<p>MN.delete() should likewise purge the object from the database/filesystem but keep the system metadata up-to-date with the CN copy. </p>
Infrastructure - Story #882: Need mechanism to delete content from CN that belongs to an MNhttps://redmine.dataone.org/issues/882?journal_id=119762012-05-07T17:18:39ZRobert Waltz
<ul><li><strong>Parent task</strong> deleted (<del><i>#832</i></del>)</li><li><strong>Tracker</strong> changed from <i>Task</i> to <i>Story</i></li></ul> Infrastructure - Story #882: Need mechanism to delete content from CN that belongs to an MNhttps://redmine.dataone.org/issues/882?journal_id=119772012-05-07T17:20:09ZRobert Waltz
<ul><li><strong>Target version</strong> set to <i>Sprint-2012.19-Block.3.2</i></li><li><strong>Milestone</strong> changed from <i>None</i> to <i>CCI-1.0.0</i></li></ul> Infrastructure - Story #882: Need mechanism to delete content from CN that belongs to an MNhttps://redmine.dataone.org/issues/882?journal_id=122672012-05-30T12:34:04ZDave Vieglaisdave.vieglais@gmail.com
<ul><li><strong>Target version</strong> changed from <i>Sprint-2012.19-Block.3.2</i> to <i>Sprint-2012.21-Block.3.3</i></li><li><strong>Position</strong> set to <i>1</i></li></ul> Infrastructure - Story #882: Need mechanism to delete content from CN that belongs to an MNhttps://redmine.dataone.org/issues/882?journal_id=123212012-06-01T22:42:51ZJing Taotao@nceas.ucsb.edu
<ul><li><strong>Position</strong> set to <i>3</i></li><li><strong>Position</strong> deleted (<del><i>5</i></del>)</li></ul> Infrastructure - Story #882: Need mechanism to delete content from CN that belongs to an MNhttps://redmine.dataone.org/issues/882?journal_id=126462012-06-20T13:58:13ZDave Vieglaisdave.vieglais@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul>