Skip to content

Commit

Permalink
Change hard barrier back to soft
Browse files Browse the repository at this point in the history
  • Loading branch information
serbel324 committed Jan 24, 2024
1 parent e0e0bfa commit 6a3c092
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ydb/core/load_test/group_write.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ class TLogWriterLoadTestActor : public TActorBootstrapped<TLogWriterLoadTestActo
return;
}
LOG_INFO_S(ctx, NKikimrServices::BS_LOAD_TEST, PrintMe() << " recieved " << res->ToString());

if (IsWorkingNow) {
ctx.Send(ctx.SelfID, new TEvStopTest());
}
Expand Down Expand Up @@ -982,8 +982,8 @@ class TLogWriterLoadTestActor : public TActorBootstrapped<TLogWriterLoadTestActo
}

void IssueGarbageCollectRequest(const TActorContext& ctx) {
auto ev = TEvBlobStorage::TEvCollectGarbage::CreateHardBarrier(TabletId, Generation, GarbageCollectStep,
Channel, Generation, 0, TInstant::Max());
auto ev = std::make_unique<TEvBlobStorage::TEvCollectGarbage>(TabletId, Generation, GarbageCollectStep, Channel,
true, Generation, GarbageCollectStep, nullptr, nullptr, TInstant::Max(), false);
auto callback = [this](IEventBase *event, const TActorContext& ctx) {
auto *res = dynamic_cast<TEvBlobStorage::TEvCollectGarbageResult *>(event);
Y_ABORT_UNLESS(res);
Expand Down

0 comments on commit 6a3c092

Please sign in to comment.