Skip to content
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

bug: [PAGOPA-1737] lock acquisition exception #230

Merged
merged 1 commit into from
May 9, 2024

Conversation

alessio-acitelli
Copy link
Collaborator

List of Changes

  • changed LockModeType to PESSIMISTIC_WRITE

Motivation and Context

  • A lock with LockModeType.PESSIMISTIC_WRITE can be used when querying data and there is a high likelihood of deadlock or update failure among concurrent updating transactions.

How Has This Been Tested?

Manual test and Junit test

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Copy link

sonarqubecloud bot commented May 9, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@alessio-acitelli alessio-acitelli marked this pull request as ready for review May 9, 2024 10:58
@alessio-acitelli alessio-acitelli requested a review from a team as a code owner May 9, 2024 10:58
Copy link
Contributor

@cap-ang cap-ang left a comment

Choose a reason for hiding this comment

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

👍

@cap-ang cap-ang merged commit 3804357 into main May 9, 2024
12 of 13 checks passed
@cap-ang cap-ang deleted the PAGOPA-1737-lockacquisitionexception branch May 9, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants