Repository navigation
Use "describe_table" not "create_table" to check for existence of DynamoDB table - #7734
Merged
Merged
Conversation
added 2 commits
August 30, 2022 15:50
Codecov Report
@@ Coverage Diff @@
## master #7734 +/- ##
=======================================
Coverage 89.76% 89.76%
=======================================
Files 138 138
Lines 17004 17004
Branches 2513 2513
=======================================
Hits 15263 15263
Misses 1490 1490
Partials 251 251
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
auvipy
reviewed
Aug 31, 2022
auvipy
left a comment
Member
There was a problem hiding this comment.
I am not sure about the cod coverage, can we improve it or the codcov is generating wrong coverage?
Contributor
Author
|
@auvipy apologies my commit with refactored tests didn't get pushed yesterday for some reason. I've just pushed it now. |
auvipy
approved these changes
Aug 31, 2022
auvipy
added a commit
that referenced
this pull request
Nov 24, 2026
…sses race to create the result table (#11106) When the result table does not exist yet, every pool process tries to create it on its first write. The losers' create_table raises ResourceInUseException, which _get_or_create_table let through, so the result write failed and the task was stored as FAILURE although it ran. Treat the error as 'another process is creating it': wait for the table to become ACTIVE and describe it, as the backend did before #7734. Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #6622 by testing for existence of table using
describe_tablerather thancreate_table