-
Notifications
You must be signed in to change notification settings - Fork 27
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
CORE-19295: Clean Up Checkpoints Only #5439
Conversation
Jenkins build for PR 5439 build 4 Build Successful: |
Fix "FlowTimeoutTaskProcessor" implementation so that only states representing flow checkpoints are marked for deletion. Other types of states should not be automatically deleted as that might cause issues, especially when the persistent storage is shared to store multiple state types.
0f6e7eb
to
51f0392
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (only crypto).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is safer in the existing code, but will prevent cleanup where the processor ends up not getting a say (e.g. timeout of processing an event that has not yet generated a state).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Fix "FlowTimeoutTaskProcessor" implementation so that only states
representing flow checkpoints are marked for deletion. Other types of
states should not be automatically deleted as that might cause issues,
especially when the persistent storage is shared to store multiple
state types.