-
Notifications
You must be signed in to change notification settings - Fork 853
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
SQS DeleteMessageBatchResponse hasFailed method unexpected response #4713
Comments
@hsulich we are aware of the issue. You're correct, seems like it was an effect of the SQS protocol change. We are actively working with the SQS team, discussing possible solutions. |
Looks like |
Glad to hear that! I'm using |
Just tested locally, the fix didn't hit I don't have an estimate time for the fix, but the deploy is ongoing. We appreciate your patience with this. |
I am using |
@hsulich @frederikmartin1337 the fix is now available in all regions. Let us know if you still see the issue. |
Facing a very similar issue with SendMessageBatchResponse, it doesn't seem to be server side issue, I am testing locally and the new SDK fails my integ tests #4759 |
Describe the bug
After upgrading the aws sdk version from 2.21.16 to 2.21.23, the behavior of the SQS
DeleteMessageBatchResponse
hasFailed
method has changed. The version upgrade includes changes to the SQS sdk so it appears to be related.Previous behavior:
If there were no messages in the batch that were failed to be deleted,
hasFailed
returned false.Current behvaior:
For the same scenario
hasFailed
now returns true, even though no messages in the batch were failed to be deleted. Sample log from our application that shows theFailed
list is empty - this log is written whenhasFailed
returns true:The javadoc confuses me because it says the following:
However, it seems that before this sdk upgrade, we did not need to check if the list for the
Failed
property was non-empty.Expected Behavior
hasFailed
should return false if there are no messages in the batch that were failed to be deleted.Current Behavior
hasFailed
now returns true if there are no messages in the batch that were failed to be deleted.Reproduction Steps
Perform
DeleteMessageBatch
request and call thehasFailed
method for the resultingDeleteMessageBatchResponse
.Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
2.21.23
JDK version used
17
Operating System and version
debian11
The text was updated successfully, but these errors were encountered: