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

Adapt timeseries_multiple_mongos.js to unsplittable timeseries collection

    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0
    • CAR Team 2024-05-13

      The test (jstests/sharding/timeseries_multiple_mongos.js) was first introduced in SERVER-60144 with the intent to ensure StaleRoutingInfo were correctly handled in case of sharded timeseries. 
      However, the test seems to be gone further beyond that scope and it's currently testing specifically the amount of interactions a specific shard and a stale router will have.

      For every operation, it checks a specific shard is reached specifically N times. 

      After SERVER-83878 with the introduction of the unsplittable timeseries collection the sharding protocol never changed, but amount of request did. 

      The test is broken even though we don't have specifically any bug. The test should be rewritten to test that in case of stale mongos the command simply works. 

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

              Created:
              Updated:
              Resolved: