Skip to content
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

Make E_TRY_AGAIN error retriable #2151

Closed
wants to merge 1 commit into from

Conversation

drbasic
Copy link
Collaborator

@drbasic drbasic commented Sep 27, 2024

Кажется ошибка E_TRY_AGAIN должна быть ретрабельной, а не EErrorKind::ErrorFatal как сейчас

Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit de337ba.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
5831 5831 0 0 0 0

@@ -51,6 +51,7 @@ EErrorKind GetErrorKind(const NProto::TError& e)
switch (code) {
case E_REJECTED:
case E_TIMEOUT:
case E_TRY_AGAIN:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

нужны аналогичные правки во всех наших sdk (go, python)

Copy link
Collaborator

@SvartMetal SvartMetal Sep 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

@SvartMetal SvartMetal Sep 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а в filestore нет такого кода в sdk, хотя в коде он посылается

например https://github.com/ydb-platform/nbs/blob/main/cloud/filestore/libs/storage/tablet/tablet_actor_compaction.cpp#L468

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

в файлсторе этот код в ответ на внутренние запросы посылается, так что это не страшно

но для порядка стоит добавить в sdk, да

@drbasic drbasic closed this Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants