Closed bmario closed 2 years ago
Merging #44 (2c18082) into master (8ab0f62) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #44 +/- ##
=======================================
Coverage 97.10% 97.10%
=======================================
Files 13 13
Lines 932 932
=======================================
Hits 905 905
Misses 27 27
Impacted Files | Coverage Δ | |
---|---|---|
aiocouch/couchdb.py | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 8ab0f62...2c18082. Read the comment docs.
In a race condition, the
_exists()
might returnFalse
, but until the time thePUT
is done, the database might be created from another context. Hence, just drop the existence check and unconditionally try to create the database.Fixes #42