WIP: [SUPPORT] Make rpc client stream initialization get cancelled by dial timeout #128

Draft
aarifullin wants to merge 1 commit from aarifullin/frostfs-api-go:fix/client_rpc into support/v2.17
Member
  • c.conn may be already invalidated but the rpc client can't detect this. NewStream may hang trying to open a stream with invalidated connection. Using timer with dialTimeout for NewStream fixes this problem.
* `c.conn` may be already invalidated but the rpc client can't detect this. `NewStream` may hang trying to open a stream with invalidated connection. Using timer with `dialTimeout` for `NewStream` fixes this problem.
aarifullin added the
bug
label 2024-12-13 12:39:45 +00:00
aarifullin added 1 commit 2024-12-13 12:39:46 +00:00
[#301] rpc: Make client stream initialization get cancelled by dial timeout
All checks were successful
Tests and linters / Lint (pull_request) Successful in 2m13s
DCO action / DCO (pull_request) Successful in 4m40s
Tests and linters / Tests (pull_request) Successful in 4m59s
Tests and linters / Tests with -race (pull_request) Successful in 5m21s
8ea650ac76
* `c.conn` may be already invalidated but the rpc client can't detect this.
  `NewStream` may hang trying to open a stream with invalidated connection.
   Using timer with `dialTimeout` for `NewStream` fixes this problem.

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
aarifullin requested review from storage-core-committers 2024-12-13 12:39:46 +00:00
aarifullin requested review from storage-core-developers 2024-12-13 12:39:46 +00:00
aarifullin requested review from storage-services-committers 2024-12-13 12:39:46 +00:00
aarifullin requested review from storage-services-developers 2024-12-13 12:39:46 +00:00
aarifullin force-pushed fix/client_rpc from 8ea650ac76 to cdf6f3381c 2024-12-13 12:40:16 +00:00 Compare
acid-ant approved these changes 2024-12-13 12:43:23 +00:00
a-savchuk approved these changes 2024-12-13 13:00:33 +00:00
aarifullin changed title from [SUPPORT] Make rpc client stream initialization get cancelled by dial timeout to WIP: [SUPPORT] Make rpc client stream initialization get cancelled by dial timeout 2024-12-13 13:25:23 +00:00
All checks were successful
Tests and linters / Lint (pull_request) Successful in 1m58s
DCO action / DCO (pull_request) Successful in 4m18s
Tests and linters / Tests (pull_request) Successful in 4m52s
Tests and linters / Tests with -race (pull_request) Successful in 4m54s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u fix/client_rpc:aarifullin-fix/client_rpc
git checkout aarifullin-fix/client_rpc
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-services-committers
TrueCloudLab/storage-services-developers
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-api-go#128
No description provided.