Project

General

Profile

Task #7466

Some objects not accessible on the CN via REST API

Added by Bryce Mecum about 9 years ago. Updated about 9 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Metacat
Target version:
-
Start date:
2015-11-04
Due date:
% Done:

30%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

While doing other work, I noticed that a good number (not sure how many) of objects listed on the CN's Solr index are not accessible via the REST API get() and resolve() methods. Instead of returning the object, they return a NotFound error.

To reproduce,

  1. Visit https://cn.dataone.org/cn/v1/query/solr/?fl=identifier,title,authoritativeMN,datasource&q=formatType:METADATA+AND+-obsoletedBy:*&rows=100&start=0
  2. Pick a PID from the query result, e.g.
  • knb-lter-cap.148.9
  • CLOEBDMETADATA.10242013.1
  1. Attempt to resolve() or get() the object via the REST API like: https://cn.dataone.org/cn/v1/object/CLOEBDMETADATA.10242013.1
  2. Receive a NotFound error instead of the object.

Notes:

In IRC, Skye noticed that the objects can be retrieved via their respective MN so it appears this issue may be a Metacat replication issue.

History

#1 Updated by Skye Roseboom about 9 years ago

Looks like a partial metacat replication between the CN:

does not work: https://cn-ucsb-1.dataone.org/cn/v1/object/knb-lter-cap.148.9
works: https://cn-orc-1.dataone.org/cn/v1/object/knb-lter-cap.148.9
works: https://cn-unm-1.dataone.org/cn/v1/object/knb-lter-cap.148.9

same with CLOEBDMETADATA.10242013.1
does not work: https://cn-ucsb-1.dataone.org/cn/v1/object/CLOEBDMETADATA.10242013.1
works: https://cn-orc-1.dataone.org/cn/v1/object/CLOEBDMETADATA.10242013.1
works: https://cn-unm-1.dataone.org/cn/v1/object/CLOEBDMETADATA.10242013.1

Can we trigger metacat replication audit between the CN so these objects and others are added to cn where missing?

#2 Updated by Skye Roseboom about 9 years ago

  • Category set to Metacat

#3 Updated by Skye Roseboom about 9 years ago

  • Assignee set to Chris Jones

Hey Chris - this looks like an issue that can be repaired by invoking the metacat replication repair service (Im not sure what the process is called). Can you trigger the metacat replication audit in production?

#4 Updated by Chris Jones about 9 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

I've forced Metacat replication manually by:

I've also reset the timed replication from 172800000 (48 hrs) to 7200000 (2 hrs). We've discussed this in the past, and decided that the CNs should force replication on a much shorter time frame than the default in order to compensate for any network glitches that cause replication events to be missed. I'll be sure this is in the CN install/upgrade documentation.

Once replication has finished pulling from the other CNs, I'll check back to see if these NotFound errors are resolved.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)