Track create date and mongodb version in indexes and collections

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      It would be helpful to have the following metadata stored by MongoDB automatically when indexes and collections are created (either by the user, or from logical initial sync)

      • Index Create Date
      • Index Create Version (ie 8.0.21)
      • Collection Create Date
      • Collection Create Version (ie 8.0.21)

      This (probably) makes sense to do in the storex layer since WiredTiger doesn't really care about MongoDB version, but we do. The action item for this should also include emitting this information from the validate command for invalid indexes and collections as well.

      This does not need to be backfilled (not like it can be anyway). It is OK for existing indexes/collections to omit this metadata, but the hope is new indexes/collections going forward as of some version x.x.x start tracking this data so we can start using it as a source of truth.

            Assignee:
            Unassigned
            Reporter:
            Chris Kelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: