Skip to content

Commit f01ccb3

Browse files
[*] log level
1 parent 7d9c04a commit f01ccb3

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

ydb/core/persqueue/writer/writer.cpp

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ class TPartitionWriter : public TActorBootstrapped<TPartitionWriter>, private TR
223223
}
224224

225225
if (auto delay = RetryState->GetNextRetryDelay(code); delay.Defined()) {
226-
INFO("Repeat the request to KQP in " << *delay);
226+
DEBUG("Repeat the request to KQP in " << *delay);
227227
Schedule(*delay, new TEvents::TEvWakeup());
228228
}
229229
}
@@ -255,9 +255,9 @@ class TPartitionWriter : public TActorBootstrapped<TPartitionWriter>, private TR
255255
/// GetWriteId
256256

257257
void GetWriteId(const TActorContext& ctx) {
258-
INFO("Start of a request to KQP for a WriteId. " <<
259-
"SessionId: " << Opts.SessionId <<
260-
" TxId: " << Opts.TxId);
258+
DEBUG("Start of a request to KQP for a WriteId. " <<
259+
"SessionId: " << Opts.SessionId <<
260+
" TxId: " << Opts.TxId);
261261

262262
auto ev = MakeWriteIdRequest();
263263
ctx.Send(NKqp::MakeKqpProxyID(ctx.SelfID.NodeId()), ev.Release());
@@ -274,11 +274,11 @@ class TPartitionWriter : public TActorBootstrapped<TPartitionWriter>, private TR
274274
}
275275
}
276276

277-
void HandleWriteId(NKqp::TEvKqp::TEvQueryResponse::TPtr& ev, const TActorContext& ctx) {
278-
INFO("End of the request to KQP for the WriteId. " <<
279-
"SessionId: " << Opts.SessionId <<
280-
" TxId: " << Opts.TxId <<
281-
" Status: " << ev->Get()->Record.GetRef().GetYdbStatus());
277+
void HandleWriteId(NKqp::TEvKqp::TEvQueryResponse::TPtr& ev, const TActorContext& /*ctx*/) {
278+
DEBUG("End of the request to KQP for the WriteId. " <<
279+
"SessionId: " << Opts.SessionId <<
280+
" TxId: " << Opts.TxId <<
281+
" Status: " << ev->Get()->Record.GetRef().GetYdbStatus());
282282

283283
auto& record = ev->Get()->Record;
284284
switch (record.GetYdbStatus()) {
@@ -293,10 +293,9 @@ class TPartitionWriter : public TActorBootstrapped<TPartitionWriter>, private TR
293293

294294
WriteId = NPQ::GetWriteId(record.GetResponse().GetTopicOperations());
295295

296-
LOG_DEBUG_S(ctx, NKikimrServices::PQ_WRITE_PROXY,
297-
"SessionId: " << Opts.SessionId <<
298-
" TxId: " << Opts.TxId <<
299-
" WriteId: " << WriteId);
296+
DEBUG("SessionId: " << Opts.SessionId <<
297+
" TxId: " << Opts.TxId <<
298+
" WriteId: " << WriteId);
300299

301300
GetOwnership();
302301
}
@@ -414,19 +413,19 @@ class TPartitionWriter : public TActorBootstrapped<TPartitionWriter>, private TR
414413
Y_ABORT_UNLESS(HasWriteId());
415414
Y_ABORT_UNLESS(HasSupportivePartitionId());
416415

417-
INFO("Start of a request to KQP to save PartitionId. " <<
418-
"SessionId: " << Opts.SessionId <<
419-
" TxId: " << Opts.TxId);
416+
DEBUG("Start of a request to KQP to save PartitionId. " <<
417+
"SessionId: " << Opts.SessionId <<
418+
" TxId: " << Opts.TxId);
420419

421420
auto ev = MakeWriteIdRequest();
422421
ctx.Send(NKqp::MakeKqpProxyID(ctx.SelfID.NodeId()), ev.Release());
423422
}
424423

425424
void HandlePartitionIdSaved(NKqp::TEvKqp::TEvQueryResponse::TPtr& ev, const TActorContext&) {
426-
INFO("End of a request to KQP to save PartitionId. " <<
427-
"SessionId: " << Opts.SessionId <<
428-
" TxId: " << Opts.TxId <<
429-
" Status: " << ev->Get()->Record.GetRef().GetYdbStatus());
425+
DEBUG("End of a request to KQP to save PartitionId. " <<
426+
"SessionId: " << Opts.SessionId <<
427+
" TxId: " << Opts.TxId <<
428+
" Status: " << ev->Get()->Record.GetRef().GetYdbStatus());
430429

431430
auto& record = ev->Get()->Record;
432431
switch (record.GetYdbStatus()) {

0 commit comments

Comments
 (0)