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

Don't wait on waitInFindBeforeMakingBatch in find_cmd.cpp with embedded router

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0
    • CAR Team 2024-04-29, CAR Team 2024-05-13
    • 5

      The "find" command in cluster_find.cpp forwards the command to the affected shards, then waits on the waitInFindBeforeMakingBatch fail point. If one of the shards is the same process than the embedded router, and since fail points are shared between the embedded router and the shard, the forwarded command will wait on the fail point in find_cmd.cpp, which hangs tests.

      One possible solution is to avoid waiting on the fail point in find_cmd.cpp if the process has an embedded router. However, it is important to make sure that this doesn't break other tests.

            Assignee:
            aitor.esteve@mongodb.com Aitor Esteve Alvarado
            Reporter:
            aitor.esteve@mongodb.com Aitor Esteve Alvarado
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: