Project

General

Profile

Actions

Feature #6417

closed

Call MN.archive() when SM.archive=true in MN.systemMetadataChanged()

Added by ben leinfelder almost 11 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

We decided the CN should not call MN.archive() when it harvests SM from nodes and tries to inform other replicas about the change. It will only alert them that sysMeta has been updated. So we can either update the flag on the MN replica, or we can call MN.archive() ourself in response.
If we don't call MN.archive() the object will continue to show up in Metacat API's pathquery.

Actions #1

Updated by ben leinfelder almost 11 years ago

  • Description updated (diff)
  • Assignee set to ben leinfelder

I added a comment in the code for where this could be done, but the actual method call is commented out.

Actions #2

Updated by Matt Jones almost 11 years ago

In general this sounds good, but won't calling MN.archive() result in other side effects (like other changes to system metadata like the datsysmetamodified, and logging it as an ARCHIVE event locally)? When we are simply recording a change to an object that some other node initiated, we should try to do so without these side effects, as the change originated elsewhere and we are simply tracking it as a replica.

Actions #3

Updated by Jing Tao about 9 years ago

  • Assignee changed from ben leinfelder to Jing Tao
Actions #4

Updated by Jing Tao about 9 years ago

  • Status changed from New to In Progress
Actions #5

Updated by Jing Tao about 9 years ago

  • Status changed from In Progress to Closed

This issue was fixed and tested.

Actions

Also available in: Atom PDF