summaryrefslogtreecommitdiff
path: root/src/mongo/db/index_builder.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2019-11-20 18:06:40 +0000
committerevergreen <evergreen@mongodb.com>2019-11-20 18:06:40 +0000
commitdd57325049339d9cfa95b9e6ccc7db9168e268c2 (patch)
tree1a7bc511c16f6d48a23fcb2ef258589454df9001 /src/mongo/db/index_builder.cpp
parentddf887d75b1e85762258f0e4953d2bc13562c889 (diff)
downloadmongo-dd57325049339d9cfa95b9e6ccc7db9168e268c2.tar.gz
SERVER-43642 remove IndexBuilder::canBuildInBackground()
Diffstat (limited to 'src/mongo/db/index_builder.cpp')
-rw-r--r--src/mongo/db/index_builder.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/index_builder.cpp b/src/mongo/db/index_builder.cpp
index 1ab468df447..e664bc428b6 100644
--- a/src/mongo/db/index_builder.cpp
+++ b/src/mongo/db/index_builder.cpp
@@ -72,10 +72,6 @@ IndexBuilder::IndexBuilder(const BSONObj& index,
IndexBuilder::~IndexBuilder() {}
-bool IndexBuilder::canBuildInBackground() {
- return MultiIndexBlock::areHybridIndexBuildsEnabled();
-}
-
std::string IndexBuilder::name() const {
return _name;
}