1
0
Fork 0
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:
Vladislav 2024-04-17 09:24:27 +03:00 committed by Roman Gershman
parent 5c422e39ee
commit 9d0253ca89
No known key found for this signature in database
GPG key ID: F25B77EAF8AEBA7A

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_);