Skip to content

grpc serviceconfig retires are not working with retryThrottling policy #2923

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
nathanKith opened this issue Mar 13, 2025 · 1 comment
Closed

Comments

@nathanKith
Copy link

nathanKith commented Mar 13, 2025

Problem description

Native retries by grpc service config is not working if retryThrottling configuration is presented.

Reproduction steps

I create a repository with non-working example: https://github.com/nathanKith/test-nodejs-sdk/tree/master
Generated files stubs was generated by grpc-tool 1.12.4 version.

I expect 3 request on status INVALID_ARGUMENT, but gets just only one.

Environment

  • Mac OS 12, arm64
  • v16.19.0
  • "@grpc/grpc-js": "^1.13.0", "grpc-tools": "^1.13.0"

Additional context

I check grpc debug logs and trace and see this at the end of client side logs:

D 2025-03-13T13:23:25.737Z | v1.13.0 14411 | subchannel_call | [3] received status code 3 from server
D 2025-03-13T13:23:25.737Z | v1.13.0 14411 | subchannel_call | [3] received status details string "INVALID_ARGUMENT (testing retries)" from server
D 2025-03-13T13:23:25.737Z | v1.13.0 14411 | subchannel_call | [3] ended with status: code=3 details="INVALID_ARGUMENT (testing retries)"
...
D 2025-03-13T13:23:25.737Z | v1.13.0 14411 | retrying_call | [1] Received status from child [2]
D 2025-03-13T13:23:25.737Z | v1.13.0 14411 | retrying_call | [1] state=RETRY handling status with progress PROCESSED from child [2] in state ACTIVE
D 2025-03-13T13:23:25.738Z | v1.13.0 14411 | subchannel_call | [3] HTTP/2 stream closed with code 0
@nathanKith nathanKith changed the title grpc serviceconfig retires are not working grpc serviceconfig retires are not working with retryThrottling policy Mar 13, 2025
@murgatroid99
Copy link
Member

This is fixed in version 1.13.1.

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

No branches or pull requests

2 participants