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

dev: improve handle unexpected messages from server

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

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.