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/put on busy shards #2965

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix/put on busy shards #2965

wants to merge 2 commits into from

Conversation

carpawell
Copy link
Member

No description provided.

@carpawell carpawell self-assigned this Oct 7, 2024
Copy link

codecov bot commented Oct 7, 2024

Codecov Report

Attention: Patch coverage is 38.46154% with 32 lines in your changes missing coverage. Please review.

Project coverage is 23.47%. Comparing base (c4bdae1) to head (12246c2).

Files with missing lines Patch % Lines
pkg/local_object_storage/engine/put.go 34.69% 31 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2965      +/-   ##
==========================================
- Coverage   23.47%   23.47%   -0.01%     
==========================================
  Files         780      780              
  Lines       46655    46688      +33     
==========================================
+ Hits        10953    10958       +5     
- Misses      34833    34859      +26     
- Partials      869      871       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

If every shard's pool is overloaded with routines, choose the best one and try
to PUT an object to it 30 seconds. Closes #2871.

Signed-off-by: Pavel Karpy <[email protected]>
@carpawell carpawell marked this pull request as ready for review October 16, 2024 15:40
@carpawell
Copy link
Member Author

Well, it works. There is not much we can do about testing currently. It is hard to test in general because it is time-dependent. But it is quite straightforward code, and the tests are okay.

@carpawell
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant