Update SDK Go to prevent socket starvation #654

Open
alexvanin wants to merge 2 commits from alexvanin/frostfs-s3-gw:fix/socket-starvation into support/v0.32
Owner

See more details in TrueCloudLab/frostfs-sdk-go#339

See more details in https://git.frostfs.info/TrueCloudLab/frostfs-sdk-go/pulls/339
alexvanin added 2 commits 2025-03-05 15:47:13 +00:00
Circuit breaker prevents from port starving when some
storage nodes are up but unsynced. See more details in:

TrueCloudLab/frostfs-sdk-go#339
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
Release v0.32.12
Some checks failed
/ Vulncheck (pull_request) Has been cancelled
/ Lint (pull_request) Has been cancelled
/ Tests (pull_request) Has been cancelled
/ OCI image (pull_request) Has been cancelled
/ DCO (pull_request) Has been cancelled
/ Builds (pull_request) Has been cancelled
6a0bb6c484
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
alexvanin force-pushed fix/socket-starvation from 6a0bb6c484 to 89d3a258a4 2025-03-05 15:48:21 +00:00 Compare
alexvanin added this to the v0.32.12 milestone 2025-03-05 15:56:50 +00:00
alexvanin force-pushed fix/socket-starvation from 89d3a258a4 to 0de8b73dc3 2025-03-05 15:57:35 +00:00 Compare
alexvanin changed title from WIP: Update SDK Go to prevent socket starvation to Update SDK Go to prevent socket starvation 2025-03-05 16:02:15 +00:00
requested reviews from storage-services-developers, storage-services-committers 2025-03-05 16:02:15 +00:00
dkirillov reviewed 2025-03-06 06:22:00 +00:00
CHANGELOG.md Outdated
@ -465,3 +470,3 @@
[0.32.11]: https://git.frostfs.info/TrueCloudLab/frostfs-s3-gw/compare/v0.32.10...v0.32.11
[Unreleased]: https://git.frostfs.info/TrueCloudLab/frostfs-s3-gw/compare/v0.32.11...master
[0.32.11]: https://git.frostfs.info/TrueCloudLab/frostfs-s3-gw/compare/v0.32.11...v0.32.12
Member

[0.32.11] -> [0.32.12]

`[0.32.11]` -> `[0.32.12]`
Author
Owner

Fixed.

Fixed.
dkirillov reviewed 2025-03-06 06:24:09 +00:00
@ -129,0 +130,4 @@
cfgRebalanceInterval = "rebalance_interval"
cfgPoolErrorThreshold = "pool_error_threshold"
cfgPoolCbThreshold = "pool_cb_threshold"
cfgPoolCbBreakDuration = "pool_cb_break_duration"
Member

Maybe just pool_cb_timeout?

Maybe just `pool_cb_timeout`?
Author
Owner

I think it's better to have the same name with SDK parameter to avoid possible confusions.

As for me "timeout" is more about the process that didn't finish in time (out of time, timeout). This is not what happening in circuit breaker. So I decided to use something different.

I think it's better to have the same name with SDK parameter to avoid possible confusions. As for me "timeout" is more about the process that didn't finish in time (out of time, timeout). This is not what happening in circuit breaker. So I decided to use something different.
Member

As I understand, pool prefix is used for object pool settings, maybe it's better to use tree?

As I understand, `pool` prefix is used for object pool settings, maybe it's better to use `tree`?
alexvanin was assigned by dkirillov 2025-03-06 06:24:20 +00:00
alexvanin force-pushed fix/socket-starvation from 0de8b73dc3 to 3ed18140f3 2025-03-06 07:48:17 +00:00 Compare
All checks were successful
/ DCO (pull_request) Successful in 43s
/ Vulncheck (pull_request) Successful in 1m39s
/ Builds (pull_request) Successful in 1m55s
/ OCI image (pull_request) Successful in 2m15s
/ Lint (pull_request) Successful in 3m22s
/ Tests (pull_request) Successful in 1m31s
This pull request doesn't have enough approvals yet. 0 of 2 approvals granted.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u fix/socket-starvation:alexvanin-fix/socket-starvation
git checkout alexvanin-fix/socket-starvation
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-services-developers
TrueCloudLab/storage-services-committers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-s3-gw#654
No description provided.