mirror of https://gitee.com/bigwinds/arangodb
Fixed shutdown of Traversal Blocks in Cluster
This commit is contained in:
parent
0262d0e284
commit
1625260f4e
|
@ -187,7 +187,7 @@ int TraversalBlock::shutdown(int errorCode) {
|
|||
}
|
||||
}
|
||||
|
||||
return TRI_ERROR_NO_ERROR;
|
||||
return ExecutionBlock::shutdown(errorCode);
|
||||
DEBUG_END_BLOCK();
|
||||
}
|
||||
|
||||
|
|
|
@ -127,6 +127,7 @@ TraverserEngine::TraverserEngine(TRI_vocbase_t* vocbase,
|
|||
}
|
||||
|
||||
TraverserEngine::~TraverserEngine() {
|
||||
/*
|
||||
auto resolver = _trx->resolver();
|
||||
// TODO Do we need this or will delete trx do this already?
|
||||
for (auto const& shard : _locked) {
|
||||
|
@ -141,6 +142,7 @@ TraverserEngine::~TraverserEngine() {
|
|||
<< TRI_errno_string(res);
|
||||
}
|
||||
}
|
||||
*/
|
||||
if (_trx) {
|
||||
_trx->commit();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue