@@ -308,7 +308,7 @@ class TTopicSession : public TActorBootstrapped<TTopicSession> {
308
308
ExceptionFunc (std::exception , HandleException)
309
309
)
310
310
311
- STRICT_STFUNC (ErrorState, {
311
+ STRICT_STFUNC_EXC (ErrorState,
312
312
cFunc (NActors::TEvents::TEvPoisonPill::EventType, PassAway);
313
313
IgnoreFunc (NFq::TEvPrivate::TEvPqEventsReady);
314
314
IgnoreFunc (NFq::TEvPrivate::TEvCreateSession);
@@ -319,8 +319,9 @@ class TTopicSession : public TActorBootstrapped<TTopicSession> {
319
319
IgnoreFunc (NFq::TEvRowDispatcher::TEvStartSession);
320
320
IgnoreFunc (NFq::TEvRowDispatcher::TEvStopSession);
321
321
IgnoreFunc (NFq::TEvPrivate::TEvSendStatisticToRowDispatcher);
322
- IgnoreFunc (TEvRowDispatcher::TEvPurecalcCompileResponse);
323
- })
322
+ IgnoreFunc (TEvRowDispatcher::TEvPurecalcCompileResponse);,
323
+ ExceptionFunc (std::exception , HandleException)
324
+ )
324
325
};
325
326
326
327
TTopicSession::TTopicSession (
@@ -814,12 +815,6 @@ void TTopicSession::StartClientSession(TClientsInfo& info) {
814
815
}
815
816
}
816
817
817
- if (Parser) {
818
- // Parse remains data before changing parsing schema
819
- DoParsing (true );
820
- }
821
- UpdateParser ();
822
-
823
818
if (!ReadSession) {
824
819
Schedule (TDuration::Seconds (Config.GetTimeoutBeforeStartSessionSec ()), new NFq::TEvPrivate::TEvCreateSession ());
825
820
}
@@ -848,6 +843,7 @@ void TTopicSession::Handle(NFq::TEvRowDispatcher::TEvStartSession::TPtr& ev) {
848
843
std::forward_as_tuple (ev->Sender ),
849
844
std::forward_as_tuple (ev, readGroup)).first ->second ;
850
845
UpdateFieldsIds (clientInfo);
846
+ UpdateParser ();
851
847
852
848
const auto & source = clientInfo.Settings .GetSource ();
853
849
TString predicate = source.GetPredicate ();
0 commit comments