Skip to content

Commit

Permalink
Fixing PartitionChooserActors leaks (ydb-platform#2742)
Browse files Browse the repository at this point in the history
  • Loading branch information
nshestakov committed Mar 14, 2024
1 parent a510fe8 commit 0a5e902
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class TAbstractPartitionChooserActor: public TActorBootstrapped<TDerived> {
TRACE_EVENT(NKikimrServices::PQ_PARTITION_CHOOSER);
switch (ev->GetTypeRewrite()) {
HFunc(NKqp::TEvKqp::TEvQueryResponse, HandleUpdate);
sFunc(TEvents::TEvPoison, ScheduleStop);
SFunc(TEvents::TEvPoison, TThis::Die);
}
}

Expand Down Expand Up @@ -237,7 +237,7 @@ class TAbstractPartitionChooserActor: public TActorBootstrapped<TDerived> {
HFunc(NKikimr::TEvPQ::TEvCheckPartitionStatusResponse, Handle);
HFunc(TEvTabletPipe::TEvClientConnected, HandleOwnership);
HFunc(TEvTabletPipe::TEvClientDestroyed, HandleOwnership);
sFunc(TEvents::TEvPoison, ScheduleStop);
SFunc(TEvents::TEvPoison, TThis::Die);
}
}

Expand Down

0 comments on commit 0a5e902

Please sign in to comment.