-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test presence of a metadata SID in publish_update #77
Comments
Interesting. SIDs are less well-tested territory.
How does it fail? |
That is the question... @dmullen17 will try to reproduce this failure using a It may fail by not aggregating the EML with the rest of the package. |
It disassociates the metadata from the resource map + data objects. The way Sharis and I tried it was calling Let me see if I can come up with an MRE on test to rule out slow indexing |
@amoeba @jagoldstein Second version after publish_update (not working as of this comment - no resource map, data pids, or children present): https://test.arcticdata.io/#view/urn:uuid:8c96da2e-b2c5-42f7-a4ae-a85eefd0b2bb Hopefully this will resolve by tomorrow and we can chalk it up to an indexing issue. Here's the MRE:
|
Harumph, I didn't update this Issue when I did some research a while back. We do have a bug related to SIDs somewhere in here. I'll look for and link in relevant tickets/notes. |
Found some SID-related bugs: https://redmine.dataone.org/issues/8520: Causes metadata objects with SIDs to not get indexed sometimes. A dev can fix this after-the-fact but it does require an intervention. It looks like SIDs are pretty touchy right now. |
Yes, the SIDs have been pretty touchy and we are reluctant to suggest or apply them as is. We have a publishing work-around for SIDs right now, but using it does not instill a lot of confidence in me, thus we are only using SIDs sparingly (when contributors really push us for one or if it seem like it's the only good solution). That is why I have applied my new label "blocker" here. |
I'll bring this up on this weeks dev call to see where we need to go to get
SIDs working.
|
thanks @amoeba |
We talked about this today on our weekly dev call, which some DataONE staff joined for another reason. Dave at DataONE will take a look at this and other SID issues and we'll work from there. |
When a package has an SID attached to a metadata object
publish_update
might fail.This seems to happen whether the user specifies the SID or the version (pid) as the
metadata_pid
argument. It's possible this isn't actually an issue and was due to slow indexing. But it's worth creating a dummy SID to test this, and determining the correct workflow for updating a package with an SID if there is no bug.The text was updated successfully, but these errors were encountered: