arangod/Transaction/Manager.cpp
// register a list of failed transactions
register a list of failed transactions
register a list of failed transactions
void Manager::registerFailedTransactions(std::unordered_set<TRI_voc_tid_t> const& failedTransactions) {
  TRI_ASSERT(_keepTransactionData);
  READ_LOCKER(allTransactionsLocker, _allTransactionsLock);
  for (auto const& it : failedTransactions) {
    const size_t bucket = getBucket(it);
    WRITE_LOCKER(locker, _transactions[bucket]._lock);
    _transactions[bucket]._failedTransactions.emplace(it);
  }
}
void Manager :: registerFailedTransactions ( std :: unordered_set < TRI_voc_tid_t > const & failedTransactions ) { TRI_ASSERT ( _keepTransactionData ) ; READ_LOCKER ( allTransactionsLocker , _allTransactionsLock ) ; for ( auto const & it : failedTransactions ) { const size_t bucket = getBucket ( it ) ; WRITE_LOCKER ( locker , _transactions [ bucket ] . _lock ) ; _transactions [ bucket ] . _failedTransactions . emplace ( it ) ; } }
register a list of failed transactions
register a list of failed transactions