summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/storage_engine_test_fixture.h
diff options
context:
space:
mode:
authorLouis Williams <louis.williams@mongodb.com>2019-11-07 21:06:50 +0000
committerevergreen <evergreen@mongodb.com>2019-11-07 21:06:50 +0000
commit1de0b3fa193c6b7aab8e59835bf881f2a02d3da5 (patch)
treef752c3ad1816d8c7273a15db4a26edf6795141b1 /src/mongo/db/storage/storage_engine_test_fixture.h
parenteda99cf7ca668908e5eb0498845b0270265c44e7 (diff)
downloadmongo-1de0b3fa193c6b7aab8e59835bf881f2a02d3da5.tar.gz
SERVER-44408 Persist index build UUID to the durable catalog
Diffstat (limited to 'src/mongo/db/storage/storage_engine_test_fixture.h')
-rw-r--r--src/mongo/db/storage/storage_engine_test_fixture.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/storage/storage_engine_test_fixture.h b/src/mongo/db/storage/storage_engine_test_fixture.h
index de657637577..22945fc184e 100644
--- a/src/mongo/db/storage/storage_engine_test_fixture.h
+++ b/src/mongo/db/storage/storage_engine_test_fixture.h
@@ -140,11 +140,10 @@ public:
auto descriptor =
std::make_unique<IndexDescriptor>(collection, IndexNames::findPluginName(spec), spec);
- const auto protocol = IndexBuildProtocol::kTwoPhase;
auto ret = DurableCatalog::get(opCtx)->prepareForIndexBuild(opCtx,
collection->getCatalogId(),
descriptor.get(),
- protocol,
+ UUID::gen(),
isBackgroundSecondaryBuild);
return ret;
}