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

Fix isThrottlingException function to check error name #3798

Conversation

hailiangzhang
Copy link

@hailiangzhang hailiangzhang commented Sep 18, 2024

Summary: This PR addresses an issue in SfEventSqsToDbRecords that causes certain portion of granule records not from getting updated in the Cumulus database and CloudMetrics during high-throughput ingestion.
This PR has been tested in the GES DISC Cumulus UAT. Previously, > 20% of granule records were missed from the Cumulus database and CloudMetrics. After implementing the changes from this PR, no granule records were lost.

NOTE: I don't see any existing unit tests associated with the isThrottlingException function that is being modified in this PR. Please let me know if I missed something. Thanks!

Addresses Github issue 3796: Granule records missing from CloudMetrics

Changes

  • isThrottlingException is modified to catch the error correctly.

PR Checklist

  • Update CHANGELOG
  • Unit tests
  • Ad-hoc testing - Deploy changes and test manually
  • Integration tests

@cumulus-bot cumulus-bot changed the base branch from master to ecarton/hailian-fix-sfEventSqsToDbRecords September 18, 2024 19:43
@cumulus-bot cumulus-bot merged commit 29ad619 into nasa:ecarton/hailian-fix-sfEventSqsToDbRecords Sep 18, 2024
2 checks passed
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.

4 participants