listIndexes is missing some properties for timeseries indexes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: 5.0.0, 6.0.0, 7.0.0, 8.0.0, 8.1.0
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • Hide
      db.createCollection('coll', {timeseries: {timeField: 'time', metaField: 'meta'}});
      db.coll.createIndex({'loc': '2dsphere'});
      db.coll.hideIndex({'loc': '2dsphere'});
      db.coll.getIndexes();
      

      You can easily see that the index is missing the 'hidden' property.

      Show
      db.createCollection('coll', {timeseries: {timeField: 'time', metaField: 'meta'}}); db.coll.createIndex({'loc': '2dsphere'}); db.coll.hideIndex({'loc': '2dsphere'}); db.coll.getIndexes(); You can easily see that the index is missing the 'hidden' property.
    • CAR Team 2025-06-09
    • None
    • 3
    • TBD
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      listIndexes on a timeseries collection is missing many  properties for indexes that have originalSpec object (e.g. 2dsphere indexes).

      More context in the comments.

            Assignee:
            Tommaso Tocci
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: