Skip to content

Commit

Permalink
Fixing PartitionChooserActors leaks (#2742) (#2750)
Browse files Browse the repository at this point in the history
  • Loading branch information
nshestakov authored Mar 14, 2024
1 parent a510fe8 commit 9986dce
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 9986dce

Please sign in to comment.