arangod/Transaction/Manager.cpp
// unregister a list of failed transactions
unregister a list of failed transactions
unregister a list of failed transactions
void Manager::unregisterFailedTransactions(std::unordered_set<TRI_voc_tid_t> const& failedTransactions) {
  TRI_ASSERT(_keepTransactionData);
  READ_LOCKER(allTransactionsLocker, _allTransactionsLock);
  for (size_t bucket = 0; bucket < numBuckets; ++bucket) {
    WRITE_LOCKER(locker, _transactions[bucket]._lock);
    std::for_each(failedTransactions.begin(), failedTransactions.end(), [&](TRI_voc_tid_t id) {
      _transactions[bucket]._failedTransactions.erase(id);
    });
  }
}
void Manager :: unregisterFailedTransactions ( std :: unordered_set < TRI_voc_tid_t > const & failedTransactions ) { TRI_ASSERT ( _keepTransactionData ) ; READ_LOCKER ( allTransactionsLocker , _allTransactionsLock ) ; for ( size_t bucket = 0 ; bucket < numBuckets ; ++ bucket ) { WRITE_LOCKER ( locker , _transactions [ bucket ] . _lock ) ; std :: for_each ( failedTransactions . begin ( ) , failedTransactions . end ( ) , [ & ] ( TRI_voc_tid_t id ) { _transactions [ bucket ] . _failedTransactions . erase ( id ) ; } ) ; } }
unregister a list of failed transactions
unregister a list of failed transactions