Project

General

Profile

Bug #1525

System metadata replication errors

Added by Ben Leinfelder almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ben Leinfelder
Category:
-
Target version:
Start date:
2011-05-04
Due date:
% Done:

100%

Estimated time:
(Total: 2.00 h)
Milestone:
Product Version:
*
Story Points:
Sprint:

Subtasks

Task #1526: Handle "update" replication requests that do not necessarily update the docid (access control changes)ClosedBen Leinfelder

History

#1 Updated by Ben Leinfelder almost 13 years ago

While debugging ObjectFormat errors during replication I noticed primary key constraint violations being thrown when sysmeta was replicated. This seems to be occurring when there is a replication "update" action triggered on the document and the sysmetadata code that handles this replication request on the target Metacat just treats it as an "insert". Also observed during debugging is that this "update" replication request is arising from a setaccess call on the auto-generated sysmeta (which happens just after the initial insert of the sysmeta).

#2 Updated by Ben Leinfelder almost 13 years ago

  • Status changed from New to Closed
  • Assignee set to Ben Leinfelder

Replication "update" requests do not raise unique key violations for sysmeta files now.
There are still messages about "doc id cannot be 1" because it's not a true "update" in that the rev does not get incremented on a setAccess call but this is known behavior for all documents in Metacat.

Note: permissions on sysMeta are the same as those on the corresponding sciMeta document and both these rulesets are replicated successfully (this had been a question during the standup call today).

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)