File tree 3 files changed +6
-2
lines changed 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -414,6 +414,7 @@ Y_UNIT_TEST_SUITE(ColumnShardTiers) {
414
414
Tests::NCommon::TLoggerInit (server->GetRuntime ()).Clear ().SetComponents ({ NKikimrServices::TX_COLUMNSHARD }, " CS" ).Initialize ();
415
415
416
416
auto & runtime = *server->GetRuntime ();
417
+ runtime.DisableBreakOnStopCondition ();
417
418
// runtime.SetLogPriority(NKikimrServices::TX_PROXY, NLog::PRI_TRACE);
418
419
// runtime.SetLogPriority(NKikimrServices::KQP_YQL, NLog::PRI_TRACE);
419
420
Original file line number Diff line number Diff line change @@ -1293,7 +1293,7 @@ namespace NActors {
1293
1293
case EEventAction::PROCESS:
1294
1294
UpdateFinalEventsStatsForEachContext (*ev);
1295
1295
SendInternal (ev.Release (), mbox.first .NodeId - FirstNodeId, false );
1296
- if (checkStopConditions (/* perMessage */ true )) {
1296
+ if (AllowBreakOnStopCondition && checkStopConditions (/* perMessage */ true )) {
1297
1297
stopCondition = true ;
1298
1298
}
1299
1299
break ;
Original file line number Diff line number Diff line change @@ -334,6 +334,9 @@ namespace NActors {
334
334
bool IsScheduleForActorEnabled (const TActorId& actorId) const ;
335
335
TIntrusivePtr<NMonitoring::TDynamicCounters> GetDynamicCounters (ui32 nodeIndex = 0 );
336
336
void SetupMonitoring (ui16 monitoringPortOffset = 0 , bool monitoringTypeAsync = false );
337
+ void DisableBreakOnStopCondition () {
338
+ AllowBreakOnStopCondition = false ;
339
+ }
337
340
338
341
using TEventObserverCollection = std::list<std::function<void (TAutoPtr<IEventHandle>& event)>>;
339
342
class TEventObserverHolder {
@@ -790,7 +793,7 @@ namespace NActors {
790
793
THashMap<TActorId, TString> ActorNames;
791
794
TDispatchContext* CurrentDispatchContext;
792
795
TVector<ui64> TxAllocatorTabletIds;
793
-
796
+ bool AllowBreakOnStopCondition = true ;
794
797
static ui32 NextNodeId;
795
798
};
796
799
You can’t perform that action at this time.
0 commit comments