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

Investigate potential loss of coverage in pre-warming routing information for $lookup/$unionWith tests

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2024-12-23

      In the context of SERVER-97511 / SERVER-96323 and the dual catalog cache split (SERVER-84243), we have updated some tests to warm up the routing information of the shards before executing the $lookup and $unionWith pipelines. This ensures that no stale exceptions are thrown in relation to the router role during the aggregation process.

      Some tests are designed with the assumption that there will be no retriable errors when the aggregation is initiated, and they may fail their assertions if any such errors occur.

      However, this ticket aims to investigate whether we are losing coverage on refreshing the routing data before sending the actual $lookup/$unionWith request, and whether we have masked any existing bugs. In summary, for each test that SERVER-97511 and SERVER-96323 have updated, this ticket seeks to provide justification through comments.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: