ydb-platform / ydb-platform/ydb-python-sdk
bug: Timeout waiting for init response
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 102
- Forks
- 75
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 13
Description
Bug Report
YDB Python SDK version:
arc
Current behavior:
We are using TopicWriter. Today we've faced issue when we've pushed messages to topic via write method about 10 minutes, then later ydb._topic_writer.topic_writer.TopicWriterError: Timeout waiting for init response exception happened and all queued messages were lost
Expected behavior:
sdk handles reconnection issues itself without loosing data. I know we should use write_with_ack method itself but it could be perf degradation (as comment states)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing TopicWriter.write and the handling of the “Timeout waiting for init response” exception, then compare its behavior with write_with_ack. Determine the intended reconnection and queued-message guarantees; done means transient connection failures do not lose queued messages while using the regular write path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100