Project

General

Profile

Story #8864

Sychronization does not register authoritative replica entry correctly

Added by Chris Jones almost 4 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
d1_synchronization
Target version:
-
Start date:
2020-06-17
Due date:
% Done:

0%

Story Points:
Sprint:

Description

When objects are synchronized to the CN, the d1_synchronization component will fetch the system metadata
for each object and will add a <replica> entry for the origin node (like urn:node:ESS_DIVE,
as well as entries for other copies (for instance for science metadata copied to the CN,
a <replica>urn:node:CN</replica> will be added.

In some instances, the origin replica instance is not added to the replica list.

This causes downstream problems for the d1_replication component because it relies on the origin node
replica entry to be present in order to set up a replication request to a target node. I'm seeing errors like:

/var/log/dataone/replicate/cn-replication.log.90:[ERROR] 2020-06-04 05:18:30,179 [pool-15-thread-1]  (MNCommunication:requestReplication:34) Could not determine replication source node for replication request for pid: ess-dive-eb6cbb22c605506-20200122T170607966.  Replication request failed.

Looking back in the logs, this is the case for the following objects:

ess-dive-3947e68e9825233-20180621T213650539
ess-dive-3b8d9f4513e02f9-20180621T214221437
ess-dive-467a6c3dda4dc88-20180621T211148554
ess-dive-51f345daca126f7-20180328T160350610716
ess-dive-53b37ae5d8c0f51-20200219T211634419654
ess-dive-6b688fab5524c46-20200121T210154766
ess-dive-7a31346c154f02b-20200127T155012488
ess-dive-a1fb05cbd903309-20200130T190835651
ess-dive-b420b097851c716-20180523T161714606
ess-dive-ba81a8a8e0bef31-20180727T200828345
ess-dive-bfaf3d6d6fd038c-20180716T154005175903
ess-dive-c2ef5f3af108c9c-20180621T220020545
ess-dive-eb6cbb22c605506-20200122T170607966
ess-dive-f3238db16593de5-20180621T215956950

We need to fix this issue in d1_synchronization so replication runs correctly and monthly
replica auditing (done by ESS_DIVE) doesn't flag these issues.

History

#1 Updated by Jing Tao over 3 years ago

A replica with the node id - "ess-dive" has been added into the system metadata of those pids.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)