mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
chore(transaction): Don't call GetLocalMask from blocking controller (#2715)
chore: remove reliance on GetLocalMask in BlockingController
This commit is contained in:
parent
9ccf2b9871
commit
4a9f816106
3 changed files with 10 additions and 17 deletions
|
@ -550,7 +550,7 @@ void EngineShard::PollExecution(const char* context, Transaction* trans) {
|
|||
// If the transaction concluded, it must remove itself from the tx queue.
|
||||
// Otherwise it is required to stay there to keep the relative order.
|
||||
if (is_ooo && !trans->IsMulti())
|
||||
DCHECK_EQ(keep, trans->GetLocalTxqPos(sid) != TxQueue::kEnd);
|
||||
DCHECK_EQ(keep, trans->DEBUG_GetTxqPosInShard(sid) != TxQueue::kEnd);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue