fix(transaction): Use FinishHop in schedule (#2911)

This commit is contained in:
Vladislav 2024-04-17 09:24:27 +03:00 committed by GitHub
parent 8030ee96b5
commit 64d963dbbe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -728,7 +728,7 @@ void Transaction::ScheduleInternal() {
if (!ScheduleInShard(EngineShard::tlocal(), can_run_immediately)) { if (!ScheduleInShard(EngineShard::tlocal(), can_run_immediately)) {
schedule_fails.fetch_add(1, memory_order_relaxed); schedule_fails.fetch_add(1, memory_order_relaxed);
} }
run_barrier_.Dec(); FinishHop();
}; };
run_barrier_.Start(unique_shard_cnt_); run_barrier_.Start(unique_shard_cnt_);