The durable catalog entry for time-series collections needs to store the following additional metadata for clustered indexes:
{ md: { options: { clusteredIndex: { keyFormat: <String>, expireAfterSeconds: <int>, }, }, }, }
keyFormat indicates the type of the clustered index keys. Only "ObjectId" will be supported at this time for time-series collections. This field cannot be modified.
expireAfterSeconds, if present, will be used for TTL deletions and can be modified via the collMod command.
As clustered indexes are only permitted on time-series collections, regular collections will not have this new metadata field.
- is depended on by
-
SERVER-53989 The RecordStore needs to determine its RecordId type via the durable catalog metadata
- Closed
-
SERVER-53990 SortedDataInterface to support creating indexes where the RecordId is a binary string
- Closed
-
SERVER-54007 Perform TTL deletions on clustered indexes
- Closed
-
SERVER-54009 Show clustered index information in listCollections
- Closed
-
SERVER-54010 Clustered indexes 'expireAfterSeconds' option can be modified by collMod
- Closed