-
Notifications
You must be signed in to change notification settings - Fork 90
fix: idempotency timeout bug #1285
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
Conversation
.../software/amazon/lambda/powertools/idempotency/persistence/DynamoDBPersistenceStoreTest.java
Show resolved
Hide resolved
.../software/amazon/lambda/powertools/idempotency/persistence/DynamoDBPersistenceStoreTest.java
Show resolved
Hide resolved
...java/software/amazon/lambda/powertools/idempotency/persistence/DynamoDBPersistenceStore.java
Show resolved
Hide resolved
...java/software/amazon/lambda/powertools/idempotency/persistence/DynamoDBPersistenceStore.java
Show resolved
Hide resolved
...ency/src/main/java/software/amazon/lambda/powertools/idempotency/persistence/DataRecord.java
Show resolved
Hide resolved
I've gone through all uses of the |
Codecov ReportPatch coverage:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## main #1285 +/- ##
============================================
+ Coverage 78.94% 79.19% +0.24%
- Complexity 629 639 +10
============================================
Files 72 73 +1
Lines 2332 2360 +28
Branches 253 258 +5
============================================
+ Hits 1841 1869 +28
+ Misses 412 410 -2
- Partials 79 81 +2
☔ View full report in Codecov by Sentry. |
...ency/src/main/java/software/amazon/lambda/powertools/idempotency/persistence/DataRecord.java
Outdated
Show resolved
Hide resolved
...java/software/amazon/lambda/powertools/idempotency/persistence/DynamoDBPersistenceStore.java
Outdated
Show resolved
Hide resolved
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.
few things to look at
…wertools/idempotency/persistence/DataRecord.java Co-authored-by: Jérôme Van Der Linden <[email protected]>
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.
good for me!
Retested using powertools-examples-idempotency as well as the fixed tests in here. This is good to go. |
Issue #, if available:
#1281
Description of changes:
Fixes a bug in idempotency where the processing of a idempotent record can become stalled after an earlier Lambda timeout.
Checklist
Breaking change checklist
RFC issue #:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.