ydb-platform / ydb-platform/ydb-python-sdk
dev: improve handle unexpected messages from server
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 102
- Forks
- 75
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 13
Description
- skip/log unexpected messages from grpc streams
- return some base class in topic writer result - for accept new write status without update SDK.
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 in ydb/_topic_writer/topic_writer_asyncio.py at the linked writer result near line 516, then trace how messages from gRPC streams are handled. Define the expected behavior for unexpected messages and the writer result base class from the issue requirements. Done means unexpected stream messages are skipped or logged and new write statuses can be accepted without an SDK update.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- grpc, python
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100