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-4736: Improve automated task - ApplyRetention #2644

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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 ApplyRetentionProcessorImpl.processApplyRetention so that it gets the CaseRetentionEntity 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

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