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

Check if failedDeleteCount is positive before logging #3686

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

oeyh
Copy link
Collaborator

@oeyh oeyh commented Nov 20, 2023

Description

Saw these log messages in customer pipeline logs:

ERROR org.opensearch.dataprepper.plugins.source.s3.SqsWorker - Failed to delete 0 messages from SQS with errors: [].

This doesn't actually indicate any error. This change checks if failedDeleteCount is positive before logging

Issues Resolved

N/A

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@oeyh oeyh merged commit 6dc1d12 into opensearch-project:main Nov 27, 2023
40 of 43 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 27, 2023
oeyh added a commit that referenced this pull request Nov 27, 2023
Signed-off-by: Hai Yan <[email protected]>
(cherry picked from commit 6dc1d12)

Co-authored-by: Hai Yan <[email protected]>
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.

3 participants