Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-92142

shardCollection in timeseries_agg_out.js does not use timeseries options

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc14
    • Affects Version/s: 8.0.0-rc0, 8.1.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0
    • CAR Team 2024-07-08, CAR Team 2024-07-22
    • 200

      The fsm test timeseries_agg_out.js runs multiple operations concurrently to some $out aggregations which are responsible for creating a collection called "timeseries_agg_out".

      The operations such as shardCollection or collMod work on the resulted timeseries_agg_out collection and they expects the collection to be a timeseries and to exists.

      However, even though quite unluckly, in case several $out keep failing, the output timeseries might never be created. 

      This can happen in the with_balancer suites as shown by BF-33947. 

      In that case, the shardCollection would be the first operation to create timeseries_agg_out which is missing the timeseries fields. The collection would therefore be a normal collection, causing the test to eventually fail.

            Assignee:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Reporter:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: