Extra statements and blank nodes sometimes added to Fedora Collection objects causing slowdowns #2885
Labels
Metadata
Issues related to metadata configuration, application, and representation
Priority - Medium
Issues that should be prioritized ahead of low but not immediately critical - bulk of work cycles
Descriptive summary
We're seeing some Fedora Collection objects get thousands of extra statements and blank nodes created, which causes extreme slowdowns any time the Collection object is loaded, such as in the console or another job, or in the web view ( #2884 ).
While this seems to be happening when the
Bulkrax::CreateRelationshipsJob
runs after an ingest or update, I'm not sure if it's specifically a Bulkrax issue or related to how we added support for controlled vocabs to Collection objects.These are visible in the Fedora web UI:
The URI(s) for Institution (LC URIs) and also Creator (from opaquenamespace.org) get fetched, and those returned statements get saved to the Collection object itself. So we'll see labels/titles, comments, related authority statements, etc.
Example statements on
osu-scarc
Collection objectHow to Fix
These can be deleted in the Fedora web UI by going to the Collection object, finding the 'Update Properties' on the right-hand side, scrolling down past the prefixes, and replacing the block:
with these (if there's too many statements, may have to do this in smaller groups):
These delete the unwanted statements without deleting the correct statements in Fedora. The prefixes are already defined in Fedora and in the text box. It can take a long time to submit and process, but the web view should reload with fewer listed statements eventually.
Expected behavior
Collection objects in Fedora only have the metadata they're supposed to and load quickly.
Related work
Link to related tickets or prior related work here.
Accessibility Concerns
Add any information here to indicate any known or suspected accessibility issues for this ticket
The text was updated successfully, but these errors were encountered: