Add metadata for clustered indexes into the durable catalog

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2021-02-08
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

       

              Assignee:
              Louis Williams
              Reporter:
              Gregory Wlodarek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: