-
Notifications
You must be signed in to change notification settings - Fork 16
bug: SDK must retry retriable grpc errors #61
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
Comments
Hello, thanks for the report. It is "Unavailable" (code 14) error from grpc library. SDK must retry, but don't do that. The exception was in not client code and common retry function will not help there. We need handle and retry the errors with client code retries and some handle for not client code error handle. |
так это возмжно сделать? или дело в библиотеке grpc и фикс там нужен? |
Да, это возможно - php может ловить grpc-ошибки и может ретраить собственные обращения к серверу. Со стороны grpc-библиотеки проблемы нет. |
Bug Report
YDB PHP SDK version:
latest
Environment
ubuntu18
Current behavior:
Expected behavior:
php working more than 12 hours
and somehow we lost internet connection
Steps to reproduce:
php in background with simple select from ydb and disconnect of internet on it
Related code:
https://github.com/gfh31fgh2/ydb-php-simple-driver
The text was updated successfully, but these errors were encountered: