fix(sqs): wake FIFO long polls after deleting messages (#9104)

Deleting an in-flight FIFO message now wakes parked long-poll receivers, so the next message in its group is delivered at once instead of on the next polling retry. The shared delete path covers DeleteMessage and DeleteMessageBatch.

Closes #9087
This commit is contained in:
Aniket Shukla authored and GitHub committed 2026-11-20 19:55:15 -04:00
1 parent ff997036a6
commit 9f04981041
2 files changed
+66

No files matched your search

@@ -1703,6 +1703,9 @@ public class SqsService implements Resettable, ResourceProvider {
LOG.debugv("No message for receipt handle {0}", receiptHandle);
return;
}
if (queue.isFifo()) {
notifyReceivers(storageKey);
}
LOG.debugv("Deleted message with receipt handle {0}", receiptHandle);
if (LOG.isTraceEnabled()) {
Message m = removal.message();