Airat Arifullin aarifullin
  • Joined on 2023-03-16
aarifullin commented on pull request TrueCloudLab/frostfs-sdk-go#304 2024-12-05 14:13:00 +00:00
Make rpc client stream initialization get cancelled by dial timeout

I have fixed something

  1. If conn successfully/unsuccessfully opens a stream: newStreamCh is closed, select goes further and the call returns err or streamWrapper
  2. If timeout expires,…
aarifullin pushed to fix/grpc_client at aarifullin/frostfs-sdk-go 2024-12-05 14:08:45 +00:00
a5a399f748 [#301] rpc: Make client stream initialization get cancelled by dial timeout
aarifullin commented on pull request TrueCloudLab/frostfs-sdk-go#304 2024-12-05 13:31:53 +00:00
Make rpc client stream initialization get cancelled by dial timeout

t better communicates the intent and could be optimized by compiler as zero-size type.

Good to know! Fixed

aarifullin pushed to fix/grpc_client at aarifullin/frostfs-sdk-go 2024-12-05 13:31:07 +00:00
2352156ee9 [#301] rpc: Make client stream initialization get cancelled by dial timeout
aarifullin commented on pull request TrueCloudLab/frostfs-sdk-go#304 2024-12-05 13:00:47 +00:00
Make rpc client stream initialization get cancelled by dial timeout

You was right. I didn't have a clue that this value also cancels streaming. The approach has been changed, please, check this out

aarifullin pushed to fix/grpc_client at aarifullin/frostfs-sdk-go 2024-12-05 12:54:11 +00:00
8f2c8007fd [#301] rpc: Make client stream initialization get cancelled by dial timeout
aarifullin created branch experimental/grpc_conn in aarifullin/frostfs-sdk-go 2024-12-05 10:07:17 +00:00
aarifullin pushed to experimental/grpc_conn at aarifullin/frostfs-sdk-go 2024-12-05 10:07:17 +00:00
96c7c2f740 [#XX] rpc: Use connect
0352b5b191 [#185] Implement rpc/client for tree service
afdc2d8340 [#297] bearer: Update module docstring
Compare 3 commits »
aarifullin commented on pull request TrueCloudLab/frostfs-sdk-go#304 2024-12-04 15:09:27 +00:00
Make rpc client stream initialization get cancelled by dial timeout

It turns out that an additional RPC call will always be made for existing connections. Moreover, this will happen in 99% of cases. At first glance it looks very expensive.

I've introduced…

aarifullin pushed to fix/grpc_client at aarifullin/frostfs-sdk-go 2024-12-04 15:07:00 +00:00
720dc2a1f1 [#301] rpc: Make client stream initialization get cancelled by dial timeout
aarifullin pushed to fix/grpc_healthcheck at aarifullin/frostfs-node 2024-12-04 14:08:11 +00:00
7eb557f4c8 [#1539] object: Make search check the service state before request
279549be94 [#1539] node: Support healthcheck server for gRPC services
Compare 2 commits »
aarifullin created pull request TrueCloudLab/frostfs-node#1539 2024-12-04 14:06:18 +00:00
Make SearchObject check the grpc service health in the raw execution
aarifullin created pull request TrueCloudLab/frostfs-sdk-go#304 2024-12-04 14:06:14 +00:00
Call dialer for open connections too
aarifullin created branch fix/grpc_healthcheck in aarifullin/frostfs-node 2024-12-04 14:03:43 +00:00
aarifullin pushed to fix/grpc_healthcheck at aarifullin/frostfs-node 2024-12-04 14:03:43 +00:00
3bccdef093 [#XX] object: Make search check the service state before request
0f75c8f5b9 [#XX] node: Support healthcheck server for gRPC services
2d5d4093be [#1537] morph: Use (user.ID).ScriptHash() where possible
e3487d5af5 [#1535] morph: Unify test invoke error messages
e37dcdf88b [#1535] morph/netmap: Unify error messages for config retrieval
Compare 10 commits »
aarifullin pushed to fix/grpc_client at aarifullin/frostfs-sdk-go 2024-12-04 13:42:03 +00:00
e295f3afa5 [#301] api: Call dialer for open connections too
aarifullin pushed to fix/grpc_client at aarifullin/frostfs-sdk-go 2024-12-04 12:18:36 +00:00
ab885d2449 [#XX] api: Always call dialer on client connection
aarifullin created pull request TrueCloudLab/frostfs-node#1534 2024-12-04 06:59:32 +00:00
[SUPPORT] Fix error for APE check
aarifullin created branch fix/ape_err in aarifullin/frostfs-node 2024-12-04 06:58:18 +00:00