From e87fc3f94306459ffcdac997e16c19911f3b7f17 Mon Sep 17 00:00:00 2001 From: Ryan Scherle Date: Fri, 8 Nov 2024 20:33:24 +0000 Subject: [PATCH 1/2] Add link to storage doc --- documentation/submission_flow.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/submission_flow.md b/documentation/submission_flow.md index d0fb17ea61..67eefe51e0 100644 --- a/documentation/submission_flow.md +++ b/documentation/submission_flow.md @@ -14,7 +14,7 @@ Basic Dryad Submission Flow * Accept license 4. Submission * Update metadata with DataCite for the submitted item - * Submits to the storage system in a background process + * Submits to the storage system in a background process -- See [storage details](server_maintenance/storage.md) * Package sent contains manifest (for URLs) or zip file with metadata files and data files * Mrt-datacite.xml, mrt-dataone-manifest.txt, mrt-embargo.txt, mrt-oaidc.xml, stash-wrapper.xml 5. Notifying of completion From 2ef8daec8a6c11980dfa050a65b5c4cbf6d13476 Mon Sep 17 00:00:00 2001 From: Ryan Scherle Date: Fri, 8 Nov 2024 20:44:59 +0000 Subject: [PATCH 2/2] add note about finishing a partial submission --- documentation/server_maintenance/storage.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/documentation/server_maintenance/storage.md b/documentation/server_maintenance/storage.md index 548b9b02a8..ce219cdd6c 100644 --- a/documentation/server_maintenance/storage.md +++ b/documentation/server_maintenance/storage.md @@ -58,6 +58,13 @@ resource_ids.each do |res_id| end ``` +Alternatively, you may sometimes complete a submission by getting a copy of the RepoQueueState object and forcing it to complete. +``` +r=StashEngine::RepoQueueState.find() +r.possibly_set_as_completed +``` + + Async download check ----------------------------