diff options
author | David Storch <david.storch@10gen.com> | 2016-09-14 18:02:10 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2016-09-20 17:40:43 -0400 |
commit | 2ac0e07e7f82406e989fa272c68d1205ced81d78 (patch) | |
tree | eece2e1323d243c48e10304181a8678884035acd /src/mongo/db/catalog/index_catalog.cpp | |
parent | 585edf79040ed44db42e174b8659ca7290fa48cf (diff) | |
download | mongo-2ac0e07e7f82406e989fa272c68d1205ced81d78.tar.gz |
SERVER-25969 make slaves and secondaries always use BSON 1.1 validation
This allows secondaries and slaves to sync NumberDecimal even while
in featureCompatibilityVersion:"3.2" mode.
Diffstat (limited to 'src/mongo/db/catalog/index_catalog.cpp')
-rw-r--r-- | src/mongo/db/catalog/index_catalog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/index_catalog.cpp b/src/mongo/db/catalog/index_catalog.cpp index 123f7722024..e48040cb591 100644 --- a/src/mongo/db/catalog/index_catalog.cpp +++ b/src/mongo/db/catalog/index_catalog.cpp @@ -784,7 +784,7 @@ Status IndexCatalog::_doesSpecConflictWithExisting(OperationContext* txn, } BSONObj IndexCatalog::getDefaultIdIndexSpec( - ServerGlobalParams::FeatureCompatibilityVersions featureCompatibilityVersion) const { + ServerGlobalParams::FeatureCompatibility::Version featureCompatibilityVersion) const { dassert(_idObj["_id"].type() == NumberInt); const auto indexVersion = IndexDescriptor::getDefaultIndexVersion(featureCompatibilityVersion); |