ydb-python-sdk icon indicating copy to clipboard operation
ydb-python-sdk copied to clipboard

bug: Зависает execute_with_retries при рестарте нод кластера

Open dorooleg opened this issue 9 months ago • 0 comments

Bug Report

YDB Python SDK version:

Здесь пример теста, в случае рестарта нод sdk может перестать не отвечать: https://github.com/ydb-platform/ydb/pull/15656/files#diff-53c2779886049f4d5e683b9574ffdc200353aee4d9cd58f94d0cdfe3328bec27R21-R23

contrib/python/ydb/py3/ydb/_utilities.py Также из подозрительного, функция:

    def get_first_response(waiter):
            first_response = next(status_stream)
            waiter.set_result(first_response)

в get_first_message_with_timeout может выбрасывать exception в отдельном потоке, точно ли это ожидаемое поведение?

Environment

Current behavior:

Expected behavior:

Steps to reproduce:

Related code:

insert short code snippets here

Other information:

dorooleg avatar Mar 27 '25 08:03 dorooleg