Skip to content

Conversation

@landreev
Copy link
Contributor

@landreev landreev commented Nov 12, 2025

What this PR does / why we need it:

Globus uploads have been handled the same way as ingests - a dedicated lock is placed on the dataset for the duration preventing any further transfers or edits. This does not appear to be necessary when the asynchronous, database queue-based task monitoring mode is enabled. Since the whole point of Globus support, at HDV at least, is for handling larger/TB-sized data these transfers can take a long time (days potentially) and keeping the dataset locked further complicates an already cumbersome workflow.

Which issue(s) this PR closes:

There's no corresponding issue as of now, this started as a production patch.

  • Closes #

Special notes for your reviewer:

I still have no idea how to go about creating meaningful tests for any Globus-related functionality. Any feedback is welcome.

Suggestions on how to test this:

This can be tested on one of the instances where Globus storage is configured: demo and dataverse-internal.
In a collection with a Globus storage volume assigned, starting a long-ish running Globus upload (will need to be something in at least 10s of MBs; and this is definitely a PR that will be easier to test from home, since transfers are obscenely fast between NESE and Harvard local networks). With this build, it should be possible to start another Globus transfer; the "add files" and all the other buttons except for "Publish Dataset" should stay enabled for the duration.
A finer test will be to stack multiple simultaneous transfers, and confirm that a) the above is still true b) that the Publish button will stay disable for as long as at least one transfer is still active, but becomes enabled again once the last one finishes. Similarly, the message about publishing being disabled should disappear at the end.
I suggest not to actually try and publish the dataset; simply because then you will be able to delete the draft, and have the files stored at NESE permanently erased in the process. Even though it's a tape volume dedicated to testing that demo and internal are configured to use, it's still prudent not to leave junk on it unnecessarily.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?:

Additional documentation:

@github-actions

This comment has been minimized.

@scolapasta scolapasta moved this from Ready for Triage to Ready for Review ⏩ in IQSS Dataverse Project Nov 12, 2025
@stevenwinship stevenwinship self-assigned this Nov 12, 2025
@stevenwinship stevenwinship moved this from Ready for Review ⏩ to In Review 🔎 in IQSS Dataverse Project Nov 12, 2025
@coveralls
Copy link

coveralls commented Nov 12, 2025

Coverage Status

coverage: 23.8% (-0.003%) from 23.803%
when pulling 0256a0f on prodpatch-6.8-globus-no-locking
into a042fc5 on develop.

@github-actions

This comment has been minimized.

</c:if>
<!--c:if test="#{(showSubmitForReviewLink or showReturnToAuthorLink) and showPublishLink and DatasetPage.lockedFromPublishing}" -->
<!-- f:passThroughAttribute name="class" value="btn btn-default btn-access btn-publish dropdown-toggle disabled"/ -->
<!-- /c:if -->
Copy link
Contributor

@stevenwinship stevenwinship Nov 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason for adding this commented out code?
I'll approve it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed, thanks.

@github-project-automation github-project-automation bot moved this from In Review 🔎 to Ready for QA ⏩ in IQSS Dataverse Project Nov 12, 2025
@stevenwinship stevenwinship removed their assignment Nov 12, 2025
@landreev landreev added the Size: 10 A percentage of a sprint. 7 hours. label Nov 18, 2025
@landreev
Copy link
Contributor Author

Added "how to test" info and size 10.

@github-actions

This comment has been minimized.

1 similar comment
@github-actions
Copy link

📦 Pushed preview images as

ghcr.io/gdcc/dataverse:prodpatch-6.8-globus-no-locking
ghcr.io/gdcc/configbaker:prodpatch-6.8-globus-no-locking

🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name.

@cmbz cmbz added FY26 Sprint 10 FY26 Sprint 10 (2025-11-05 - 2025-11-19) FY26 Sprint 11 FY26 Sprint 11 (2025-11-20 - 2025-12-03) labels Nov 20, 2025
@cmbz cmbz added the FY26 Sprint 12 FY26 Sprint 12 (2025-12-03 - 2025-12-17) label Dec 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY26 Sprint 10 FY26 Sprint 10 (2025-11-05 - 2025-11-19) FY26 Sprint 11 FY26 Sprint 11 (2025-11-20 - 2025-12-03) FY26 Sprint 12 FY26 Sprint 12 (2025-12-03 - 2025-12-17) Size: 10 A percentage of a sprint. 7 hours.

Projects

Status: Reviewed but Frozen ❄️

Development

Successfully merging this pull request may close these issues.

5 participants