From 15c5dcf6ac7070c75cc66f328e14d3237ee6f598 Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Sun, 7 Feb 2016 19:54:10 +0100 Subject: [PATCH] change barrier type --- arangod/Replication/InitialSyncer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arangod/Replication/InitialSyncer.cpp b/arangod/Replication/InitialSyncer.cpp index f2439e61ed..f3307c499c 100644 --- a/arangod/Replication/InitialSyncer.cpp +++ b/arangod/Replication/InitialSyncer.cpp @@ -1032,7 +1032,7 @@ int InitialSyncer::handleSyncKeys(TRI_vocbase_col_t* col, std::vector 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;