Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-3248

Fix TestRestoreTimeseriesCollections for server 6.3+

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 100.7.0
    • Affects Version/s: None
    • Component/s: mongorestore
    • Labels:
      None

      The current `TestRestoreTimeseriesCollections` tests restoring a time series collection with `--noIndexRestore` flag and expects 0 index in the restored collection.
      After SERVER-66689, the server automatically creates a default index in time series collections on the timestamp, metadata fields.

      We should check the server version and expect 1 index for server versions 6.3+ in this test.

            Assignee:
            jian.guan@mongodb.com Jian Guan
            Reporter:
            jian.guan@mongodb.com Jian Guan
            Rohan Sharan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: