ydb-platform / ydb-platform/ydb-python-sdk

feature: Report about timeout reason while connect to topic

Open
#263 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement topic
Dominant language
Python
Stars
102
Forks
75
Avg merge
1d 23h
Merged PRs (30d)
13

Description

If set bad connection params to driver it will reconnect forever.

Topic writer will receive timeout error by retry policy but no contains details.

It will be good to include last driver error in timeout error, for example as: raise TimeoutError from exc.

P.S. may be do it in driver and return same exception from call - for all method, not for topics only

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Trace the driver reconnect path and topic writer retry/timeout handling described in the issue. Check how the last driver error is propagated and whether the same behavior should apply through the driver's call; done means timeout errors retain the underlying cause without changing unrelated retry behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.