diff options
author | Sulabh Mahajan <sulabh.mahajan@mongodb.com> | 2018-04-24 11:31:54 +1000 |
---|---|---|
committer | Sulabh Mahajan <sulabh.mahajan@mongodb.com> | 2018-04-24 11:31:54 +1000 |
commit | 7f2f527bf147d61b48696cd4438acb1a8a920c8a (patch) | |
tree | 8ec875a8c50e9cd5b36fbb0d4420071a0fd8e46c /src/mongo/db/commands/drop_indexes.cpp | |
parent | 93fd36a003686fe39935fa9c9d9b1b354a14eceb (diff) | |
download | mongo-r3.7.6.tar.gz |
SERVER-34263 Use WT specific data format version for new unique idxr3.7.6
Diffstat (limited to 'src/mongo/db/commands/drop_indexes.cpp')
-rw-r--r-- | src/mongo/db/commands/drop_indexes.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mongo/db/commands/drop_indexes.cpp b/src/mongo/db/commands/drop_indexes.cpp index 11d199c99ec..f6ebf5ec180 100644 --- a/src/mongo/db/commands/drop_indexes.cpp +++ b/src/mongo/db/commands/drop_indexes.cpp @@ -142,10 +142,7 @@ public: // This is necessary to set up CurOp and update the Top stats. OldClientContext ctx(opCtx, toReIndexNss.ns()); - const auto featureCompatibilityVersion = - serverGlobalParams.featureCompatibility.getVersion(); - const auto defaultIndexVersion = - IndexDescriptor::getDefaultIndexVersion(featureCompatibilityVersion); + const auto defaultIndexVersion = IndexDescriptor::getDefaultIndexVersion(); vector<BSONObj> all; { |