@@ -550,7 +550,6 @@ class TKqpSessionActor : public TActorBootstrapped<TKqpSessionActor> {
550
550
}
551
551
552
552
void AddOffsetsToTransaction () {
553
- LOG_I (" begin request for TopicOperations" );
554
553
YQL_ENSURE (QueryState);
555
554
if (!PrepareQueryTransaction ()) {
556
555
return ;
@@ -561,7 +560,6 @@ class TKqpSessionActor : public TActorBootstrapped<TKqpSessionActor> {
561
560
if (!AreAllTheTopicsAndPartitionsKnown ()) {
562
561
auto navigate = QueryState->BuildSchemeCacheNavigate ();
563
562
Become (&TKqpSessionActor::ExecuteState);
564
- LOG_I (" begin request for SchemeNavigate" );
565
563
Send (MakeSchemeCacheID (), new TEvTxProxySchemeCache::TEvNavigateKeySet (navigate.release ()));
566
564
return ;
567
565
}
@@ -577,10 +575,7 @@ class TKqpSessionActor : public TActorBootstrapped<TKqpSessionActor> {
577
575
return ;
578
576
}
579
577
580
- LOG_I (" end request for TopicOperations" );
581
578
ReplySuccess ();
582
-
583
- LOG_I (" after ReplySuccess" );
584
579
}
585
580
586
581
void CompileQuery () {
@@ -2917,10 +2912,8 @@ class TKqpSessionActor : public TActorBootstrapped<TKqpSessionActor> {
2917
2912
}
2918
2913
2919
2914
void ProcessTopicOps (TEvTxProxySchemeCache::TEvNavigateKeySetResult::TPtr& ev) {
2920
- LOG_I (" end request for SchemeNavigate" );
2921
2915
YQL_ENSURE (ev->Get ()->Request );
2922
2916
if (ev->Get ()->Request ->Cookie < QueryId) {
2923
- LOG_I (" unexpected return #2" );
2924
2917
return ;
2925
2918
}
2926
2919
@@ -2945,21 +2938,18 @@ class TKqpSessionActor : public TActorBootstrapped<TKqpSessionActor> {
2945
2938
ythrow TRequestFail (Ydb::StatusIds::BAD_REQUEST) << message;
2946
2939
}
2947
2940
2941
+ QueryState->TxCtx ->TopicOperations .CacheSchemeCacheNavigate (response->ResultSet );
2942
+
2948
2943
if (HasTopicWriteOperations () && !HasTopicWriteId ()) {
2949
- LOG_I (" begin request for WriteId" );
2950
2944
Send (MakeTxProxyID (), new TEvTxUserProxy::TEvAllocateTxId, 0 , QueryState->QueryId );
2951
- } else {
2952
- LOG_I (" end request for TopicOperations" );
2953
- ReplySuccess ();
2954
-
2955
- LOG_I (" after ReplySuccess" );
2945
+ return ;
2956
2946
}
2947
+
2948
+ ReplySuccess ();
2957
2949
}
2958
2950
2959
2951
void Handle (TEvTxUserProxy::TEvAllocateTxIdResult::TPtr& ev) {
2960
- LOG_I (" end request for WriteId" );
2961
2952
if (CurrentStateFunc () != &TThis::ExecuteState || ev->Cookie < QueryId) {
2962
- LOG_I (" unexpected return #1" );
2963
2953
return ;
2964
2954
}
2965
2955
@@ -2968,11 +2958,7 @@ class TKqpSessionActor : public TActorBootstrapped<TKqpSessionActor> {
2968
2958
2969
2959
SetTopicWriteId (NLongTxService::TLockHandle (ev->Get ()->TxId , TActivationContext::ActorSystem ()));
2970
2960
2971
- LOG_I (" end request for TopicOperations" );
2972
2961
ReplySuccess ();
2973
-
2974
- LOG_I (" current state: " << CurrentStateFuncName ());
2975
- LOG_I (" after ReplySuccess" );
2976
2962
}
2977
2963
2978
2964
bool HasTopicWriteOperations () const {
0 commit comments