Skip to content

Commit

Permalink
suppress verify for unexpected events (#6085)
Browse files Browse the repository at this point in the history
  • Loading branch information
zverevgeny authored Jun 29, 2024
1 parent 0fd1389 commit b8d7c3a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ydb/core/tx/columnshard/resource_subscriber/actor.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ class TActor: public TActorBootstrapped<TActor> {
}

STFUNC(StateWait) {
TLogContextGuard gLogging(NActors::TLogContextBuilder::Build(NKikimrServices::TX_COLUMNSHARD)("tablet_id", TabletId)("parent", Parent));
TLogContextGuard gLogging(NActors::TLogContextBuilder::Build(NKikimrServices::TX_COLUMNSHARD)("tablet_id", TabletId)("parent", Parent)("ev_type", ev->GetTypeName()));
switch (ev->GetTypeRewrite()) {
cFunc(NActors::TEvents::TEvPoison::EventType, StartStopping);
hFunc(TEvStartTask, Handle);
hFunc(NKikimr::NResourceBroker::TEvResourceBroker::TEvResourceAllocated, Handle);
default:
AFL_VERIFY(false);
AFL_WARN(NKikimrServices::TX_COLUMNSHARD)("problem", "unexpected event");
AFL_VERIFY_DEBUG(false);
}
}
};
Expand Down

0 comments on commit b8d7c3a

Please sign in to comment.