Skip to content

Prevent needless optimistic lock exception for role assignment removal #11407

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

jo-pol
Copy link
Contributor

@jo-pol jo-pol commented Apr 8, 2025

What this PR does / why we need it:

It prevents optimistic lock exception for removal of role-assignments. There is no conflict possible with other changes to a dataset.

Which issue(s) this PR closes:

  • Closes #

Special notes for your reviewer:

Suggestions on how to test this:

Tabular ingest must be switched on

curl -X PUT -d 2000000000 http://localhost:8080/api/admin/settings/:TabularIngestSizeLimit

Run a script with an API call that uploads a zip with many csv files and subsequently loops (before the ingest lock is released) over API calls that add and delete of a role-assignment on the same dataset.

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:

See also #11406 and the DANS issue https://drivenbydata.atlassian.net/browse/DD-1818

@pdurbin pdurbin moved this to Ready for Triage in IQSS Dataverse Project Apr 8, 2025
@pdurbin pdurbin added Feature: Permissions Size: 3 A percentage of a sprint. 2.1 hours. labels Apr 8, 2025
@ofahimIQSS ofahimIQSS moved this from Ready for Triage to Ready for Review ⏩ in IQSS Dataverse Project Apr 8, 2025
@cmbz cmbz added FY25 Sprint 20 FY25 Sprint 20 (2025-03-26 - 2025-04-09) FY25 Sprint 21 FY25 Sprint 21 (2025-04-09 - 2025-04-23) labels Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Permissions FY25 Sprint 20 FY25 Sprint 20 (2025-03-26 - 2025-04-09) FY25 Sprint 21 FY25 Sprint 21 (2025-04-09 - 2025-04-23) Size: 3 A percentage of a sprint. 2.1 hours.
Projects
Status: Ready for Review ⏩
Development

Successfully merging this pull request may close these issues.

3 participants