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

Adapt timeseries_multiple_mongos.js to unsplittable timeseries collection

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 8.0.0-rc0
    • Component/s: None
    • Catalog and Routing
    • ALL
    • 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 the router will have in case of both stale sharded and unsharded collection.

      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:
            1 Start watching this issue

              Created:
              Updated: