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

clusterAggregate does not handle the case when aggregate fails due to SSV or snapshot errors

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Query 2018-05-21
    • 56

      This invariant will fail
      The try catch block https://github.com/mongodb/mongo/blob/r3.7.5/src/mongo/s/commands/cluster_aggregate.cpp#L455-L509 does not handle the case that it will exhaust the attempts so it returns empty results.

      When its fixed the cluster_aggregate_test needs to get updated as well to include a currently disabled test.

            Assignee:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: