Open gfh31fgh2 opened 1 year ago
Hello, thanks for the report.
It is "Unavailable" (code 14) error from grpc library. SDK must retry, but don't do that. https://grpc.github.io/grpc/core/md_doc_statuscodes.html
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. Retry or supress them (ok for destructor).
Hello, thanks for the report.
It is "Unavailable" (code 14) error from grpc library. SDK must retry, but don't do that. https://grpc.github.io/grpc/core/md_doc_statuscodes.html
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. Retry or supress them (ok for destructor).
так это возмжно сделать? или дело в библиотеке 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