diff options
author | rekby <[email protected]> | 2023-06-14 09:13:03 +0300 |
---|---|---|
committer | rekby <[email protected]> | 2023-06-14 09:13:03 +0300 |
commit | b29517149bb3ae690481e5acf73f07cd18083a8b (patch) | |
tree | b912da001c96c97655ccab2574ded9b42bdcd625 | |
parent | 8473c8973884862ce3b9c801b05494cf1cf40feb (diff) |
fix bad session error type
-rw-r--r-- | ydb/docs/en/core/reference/ydb-sdk/_includes/error_handling.md | 2 | ||||
-rw-r--r-- | ydb/docs/ru/core/reference/ydb-sdk/_includes/error_handling.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ydb/docs/en/core/reference/ydb-sdk/_includes/error_handling.md b/ydb/docs/en/core/reference/ydb-sdk/_includes/error_handling.md index ba486852c4e..5f93b04945c 100644 --- a/ydb/docs/en/core/reference/ydb-sdk/_includes/error_handling.md +++ b/ydb/docs/en/core/reference/ydb-sdk/_includes/error_handling.md @@ -62,7 +62,7 @@ Error types: | SCHEME_ERROR | The query doesn't match the schema | Fix the query or schema | N | | GENERIC_ERROR | An unclassified error, possibly related to the query | See the detailed error message and contact the developers | N | | TIMEOUT | The query timeout expired | Can be repeated in case of idempotent queries | C | -| BAD_SESSION | This session is no longer available | Re-create a session | N | +| BAD_SESSION | This session is no longer available | Re-create a session | R | | PRECONDITION_FAILED | The query cannot be executed for the current state (for example, inserting data into a table with an existing key) | Fix the state or query and retry | C | | TRANSPORT_UNAVAILABLE | A transport error, the endpoint is unavailable, or the connection was interrupted and can't be reestablished | Check the endpoint or other network settings | C | | CLIENT_RESOURCE_EXHAUSTED | There are not enough resources available to fulfill the query | Reduce the rate of queries and check client balancing | R | diff --git a/ydb/docs/ru/core/reference/ydb-sdk/_includes/error_handling.md b/ydb/docs/ru/core/reference/ydb-sdk/_includes/error_handling.md index e7abe2fa687..c1f58a6751a 100644 --- a/ydb/docs/ru/core/reference/ydb-sdk/_includes/error_handling.md +++ b/ydb/docs/ru/core/reference/ydb-sdk/_includes/error_handling.md @@ -62,7 +62,7 @@ | SCHEME_ERROR | Запрос не соответствует схеме | Исправить запрос или схему | N | | GENERIC_ERROR | Неклассифицируемая ошибка, возможно, связанная с запросом | Посмотреть на подробное сообщение об ошибке, связаться с разработчиками | N | | TIMEOUT | Запрос не выполнен за отведенное время | Можно повторить для идемпотентных запросов | C | -| BAD_SESSION | Данная сессия больше недоступна | Пересоздать сессию | N | +| BAD_SESSION | Данная сессия больше недоступна | Пересоздать сессию | R | | PRECONDITION_FAILED | Запрос не может быть выполнен для данного состояния (например, вставка в таблицу с существующим ключом) | Исправить состояние или запрос и повторить | C | | TRANSPORT_UNAVAILABLE | Транспортная ошибка, endpoint недоступен или разрыв соединения, с невозможностью его переустановить | Проверить endpoint или другие настройки сети| C | | CLIENT_RESOURCE_EXHAUSTED | Недостаточно свободных ресурсов для обслуживания запроса | Снизить интенсивность запросов, проверить клиентскую балансировку | R | |