ydb-platform / ydb-platform/ydb-cpp-sdk

topic/impl/read_session*: Exception in TDeferredActions::~TDeferredActions results in process termination

Open
#389 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
19
Forks
31
Avg merge
2d 5h
Merged PRs (30d)
10

Description

DeferredActions are performed inside destructor. As a result, any exception results in unconditional process termination.
Probably, this destructor should be declared as noexcept(false) Edit: no, this solution won't work, still too fragile

Contributor guide

No contributing guide indexed for this repository

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 by locating topic/impl/read_session* and the implementation of TDeferredActions::~TDeferredActions. Trace how deferred actions are executed during destruction and how exceptions are handled; done means the process no longer terminates unconditionally while deferred-action failures remain handled safely.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.