chore(transaction): Don't call GetLocalMask from blocking controller (#2715)

chore: remove reliance on GetLocalMask in BlockingController
This commit is contained in:
Vladislav 2024-03-12 11:53:41 +03:00 committed by GitHub
parent 9ccf2b9871
commit 4a9f816106
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 17 deletions

View file

@ -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);
}
}