Skip to content

Commit

Permalink
Added more logging (ydb-platform#7388)
Browse files Browse the repository at this point in the history
  • Loading branch information
nshestakov authored Aug 2, 2024
1 parent 80fdb08 commit 59d098d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ydb/core/persqueue/ut/common/autoscaling_ut_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ TTestReadSession::TTestReadSession(const TString& name, TTopicClient& client, si


Session = client.CreateReadSession(readSettings);
Cerr << ">>>>> " << Impl->Name << " ReadSession was created" << Endl << Flush;
}

void TTestReadSession::WaitAllMessages() {
Expand All @@ -248,11 +249,13 @@ void TTestReadSession::Commit() {
void TTestReadSession::TImpl::Acquire() {
Cerr << ">>>>> " << Name << " Acquire()" << Endl << Flush;
Semaphore.Acquire();
Cerr << ">>>>> " << Name << " Acquired" << Endl << Flush;
}

void TTestReadSession::TImpl::Release() {
Cerr << ">>>>> " << Name << " Release()" << Endl << Flush;
Semaphore.Release();
Cerr << ">>>>> " << Name << " Releaseed" << Endl << Flush;
}

NThreading::TFuture<std::set<size_t>> TTestReadSession::TImpl::Wait(std::set<size_t> partitions, const TString& message) {
Expand Down

0 comments on commit 59d098d

Please sign in to comment.