Skip to content

Commit

Permalink
fix(transaction): Use FinishHop in schedule (#2911)
Browse files Browse the repository at this point in the history
  • Loading branch information
dranikpg authored and romange committed Apr 17, 2024
1 parent 5c422e3 commit 9d0253c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/transaction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ void Transaction::ScheduleInternal() {
if (!ScheduleInShard(EngineShard::tlocal(), can_run_immediately)) {
schedule_fails.fetch_add(1, memory_order_relaxed);
}
run_barrier_.Dec();
FinishHop();
};

run_barrier_.Start(unique_shard_cnt_);
Expand Down

0 comments on commit 9d0253c

Please sign in to comment.