diff options
author | Louis Williams <louis.williams@mongodb.com> | 2019-11-07 21:06:50 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-11-07 21:06:50 +0000 |
commit | 1de0b3fa193c6b7aab8e59835bf881f2a02d3da5 (patch) | |
tree | f752c3ad1816d8c7273a15db4a26edf6795141b1 /src/mongo/db/storage/storage_engine_test_fixture.h | |
parent | eda99cf7ca668908e5eb0498845b0270265c44e7 (diff) | |
download | mongo-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.h | 3 |
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; } |