0chain / blobber

A storage provider (blobber) interface to the blockchain and consumers of storage.
Other
19 stars 23 forks source link

Fix alloc lock #1334

Closed Hitenjain14 closed 9 months ago

Hitenjain14 commented 9 months ago

Changes

Fixes

Tests

Tasks to complete before merging PR:

Associated PRs (Link as appropriate):

codecov-commenter commented 9 months ago

Codecov Report

Attention: 462 lines in your changes are missing coverage. Please review.

Comparison is base (0791451) 24.41% compared to head (dd66b1c) 23.72%. Report is 42 commits behind head on sprint-1.11.

Files Patch % Lines
...go/0chain.net/blobbercore/allocation/repository.go 3.00% 129 Missing :warning:
.../go/0chain.net/blobbercore/handler/client_quota.go 14.73% 81 Missing :warning:
...et/blobbercore/handler/object_operation_handler.go 14.08% 57 Missing and 4 partials :warning:
...de/go/0chain.net/blobbercore/allocation/workers.go 0.00% 32 Missing :warning:
...de/go/0chain.net/blobbercore/writemarker/entity.go 0.00% 31 Missing :warning:
...de/go/0chain.net/blobbercore/writemarker/worker.go 0.00% 27 Missing :warning:
.../0chain.net/blobbercore/handler/storage_handler.go 0.00% 22 Missing :warning:
...ain.net/blobbercore/allocation/allocationchange.go 0.00% 14 Missing :warning:
code/go/0chain.net/core/encryption/hash.go 0.00% 14 Missing :warning:
...o/0chain.net/blobbercore/handler/handler_common.go 7.14% 13 Missing :warning:
... and 13 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## sprint-1.11 #1334 +/- ## =============================================== - Coverage 24.41% 23.72% -0.69% =============================================== Files 85 88 +3 Lines 9692 10077 +385 =============================================== + Hits 2366 2391 +25 - Misses 7033 7389 +356 - Partials 293 297 +4 ``` | [Flag](https://app.codecov.io/gh/0chain/blobber/pull/1334/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=0chain) | Coverage Δ | | |---|---|---| | [Unit-Tests](https://app.codecov.io/gh/0chain/blobber/pull/1334/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=0chain) | `23.72% <12.99%> (-0.69%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=0chain#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.