summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/collection_catalog_entry.h
diff options
context:
space:
mode:
authorXiangyu Yao <xiangyu.yao@mongodb.com>2018-08-23 17:59:06 -0400
committerXiangyu Yao <xiangyu.yao@mongodb.com>2018-08-24 16:02:33 -0400
commitfe2906300d0458e5421b576319b11274c56ea3c8 (patch)
treed5861410b9ac2c1bb90cf62170dc0c5f0c6bbbcd /src/mongo/db/catalog/collection_catalog_entry.h
parentfa0ed40e73e65a1d8715a2dcd0be22f254787bb0 (diff)
downloadmongo-fe2906300d0458e5421b576319b11274c56ea3c8.tar.gz
SERVER-36280 Create a feature tracker bit indicating the existence of KeyString with long TypeBits
Diffstat (limited to 'src/mongo/db/catalog/collection_catalog_entry.h')
-rw-r--r--src/mongo/db/catalog/collection_catalog_entry.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/collection_catalog_entry.h b/src/mongo/db/catalog/collection_catalog_entry.h
index 3a2c6ee1f31..5f9af52072a 100644
--- a/src/mongo/db/catalog/collection_catalog_entry.h
+++ b/src/mongo/db/catalog/collection_catalog_entry.h
@@ -163,6 +163,10 @@ public:
*/
virtual void updateCappedSize(OperationContext* opCtx, long long size) = 0;
+ // TODO SERVER-36385 Remove this function: we don't set the feature tracker bit in 4.4 because
+ // 4.4 can only downgrade to 4.2 which can read long TypeBits.
+ virtual void setIndexKeyStringWithLongTypeBitsExistsOnDisk(OperationContext* opCtx) = 0;
+
private:
NamespaceString _ns;
};