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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0-rc0
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Query 2018-05-21
    • Linked BF Score:
      56

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nicholas.zolnierz Nicholas Zolnierz
              Reporter:
              misha.tyulenev Misha Tyulenev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: