diff options
author | azevaykin <azevaykin@yandex-team.com> | 2023-06-29 11:08:55 +0300 |
---|---|---|
committer | azevaykin <azevaykin@yandex-team.com> | 2023-06-29 11:08:55 +0300 |
commit | 6592029be25834b4bfbc3fac74c3bbc346ed22e6 (patch) | |
tree | 50cdd75378a9c144d92f55500aec54fda82b19cd | |
parent | e8e5f9818af8bdea57fb651ae8883d949e912f24 (diff) | |
download | ydb-6592029be25834b4bfbc3fac74c3bbc346ed22e6.tar.gz |
Exception in log
-rw-r--r-- | ydb/public/lib/ydb_cli/commands/topic_workload/topic_workload_writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/public/lib/ydb_cli/commands/topic_workload/topic_workload_writer.cpp b/ydb/public/lib/ydb_cli/commands/topic_workload/topic_workload_writer.cpp index c8bc253703..341c716f26 100644 --- a/ydb/public/lib/ydb_cli/commands/topic_workload/topic_workload_writer.cpp +++ b/ydb/public/lib/ydb_cli/commands/topic_workload/topic_workload_writer.cpp @@ -138,7 +138,7 @@ void TTopicWorkloadWriterWorker::Process() { WriteSession->Write(std::move(ContinuationToken.GetRef()), data, MessageId, createTimestamp); - WRITE_LOG(Params.Log, ELogPriority::TLOG_DEBUG, TStringBuilder() << "Written message " << MessageId << " CreateTimestamp " << createTimestamp << " delta from now " << now - *createTimestamp.Get()); + WRITE_LOG(Params.Log, ELogPriority::TLOG_DEBUG, TStringBuilder() << "Written message " << MessageId << " CreateTimestamp " << createTimestamp << " delta from now " << (Params.ByteRate == 0 ? TDuration() : now - *createTimestamp.Get())); ContinuationToken.Clear(); MessageId++; } |