1
0
Fork 0

change barrier type

This commit is contained in:
Jan Steemann 2016-02-07 19:54:10 +01:00
parent 993cf0b0b8
commit 15c5dcf6ac
1 changed files with 2 additions and 2 deletions

View File

@ -1032,7 +1032,7 @@ int InitialSyncer::handleSyncKeys(TRI_vocbase_col_t* col,
std::vector<TRI_df_marker_t const*> markers;
TRI_document_collection_t* document = nullptr;
ReplicationDitch* ditch = nullptr;
DocumentDitch* ditch = nullptr;
// acquire a replication ditch so no datafiles are thrown away from now on
// note: the ditch also protects against unloading the collection
@ -1047,7 +1047,7 @@ int InitialSyncer::handleSyncKeys(TRI_vocbase_col_t* col,
}
document = trx.documentCollection();
ditch = document->ditches()->createReplicationDitch(__FILE__, __LINE__);
ditch = document->ditches()->createDocumentDitch(false, __FILE__, __LINE__);
if (ditch == nullptr) {
return TRI_ERROR_OUT_OF_MEMORY;