Skip to content

Commit

Permalink
fix datashard stats dtor exception (ydb-platform#4585)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewstalin authored May 16, 2024
1 parent 2f99538 commit debf225
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ydb/core/tx/datashard/datashard__stats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ class TTableStatsCoroBuilder : public TActorCoroImpl, private IPages {
void Run() override {
try {
RunImpl();
} catch (const TDtorException&) {
return; // coroutine terminated
} catch (const TExTableStatsError& ex) {
Send(ReplyTo, new TDataShard::TEvPrivate::TEvTableStatsError(TableId, ex.Code, ex.Message));
} catch (...) {
Expand Down

0 comments on commit debf225

Please sign in to comment.