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

DMP-4737: Improve automated task - ApplyRetentionCaseAssociatedObjects #2645

Merged
merged 4 commits into from
Feb 28, 2025

Conversation

Ben-Edwards-cgi
Copy link
Contributor

Links

Jira

Change description

To prevent any potential race conditions when obtaining a batch of data and updating the object when it gets to it, modify the method ApplyRetentionCaseAssociatedObjectsProcessorImpl processApplyRetentionToCaseAssociatedObjects so that it gets the CourtCaseEntity objects id's and then only at the point where it needs to update the object does it get the actual object.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[X] No

@Ben-Edwards-cgi Ben-Edwards-cgi requested review from a team as code owners February 26, 2025 11:26
@Ben-Edwards-cgi Ben-Edwards-cgi requested review from davet1985, jackmaloney, hemantasharma1129, niallk, madjava and manohar-hmcts and removed request for a team February 26, 2025 11:26
@cakeben cakeben merged commit 475e6e8 into master Feb 28, 2025
10 checks passed
@cakeben cakeben deleted the DMP-4737 branch February 28, 2025 15:29
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.

5 participants