-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
SQS - updating queues before saving a snapshot #13485
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
base: main
Are you sure you want to change the base?
Conversation
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 1h 33m 7s ⏱️ Results for commit 347c56d. ♻️ This comment has been updated with latest results. |
LocalStack Community integration with Pro 2 files 2 suites 1h 5m 53s ⏱️ Results for commit 347c56d. |
baermat
left a comment
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.
Change looks good to me! Would be nice if we either have a persistence test, or at least a manual confirmation that this does what we are expecting and is not causing any unexpected problems.
Motivation
Whenever we save an SQS state, we should avoid snapshotting expired messages.
We have seen reports from users claiming that the saved states contain messages that should have been cleared.
Closes PNX-548
Changes
do_update_all_queues. This should trigger the deletion of expired messages. Since I am not very familiar with the service internals, I am not 100% sure we can use any other internal API to do the same.