mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2024-12-14 11:58:02 +00:00
fix(transaction): Use FinishHop in schedule (#2911)
This commit is contained in:
parent
5c422e39ee
commit
9d0253ca89
1 changed files with 1 additions and 1 deletions
|
@ -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_);
|
||||
|
|
Loading…
Reference in a new issue