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

Make mongotmock aware that requests can come from different shards

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 7.0.0-rc0, 6.0.6
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • v6.0
    • 127

      Right now the mock holds a single list of

      {command,response}

      pairs that it must see in order. This was fine before the sharded facets and search in $lookup projects as search requests would never issues commands across shards. However now that this is possible, the mock should hold a set of lists of pairs, each one marking the order of requests for a given shard as opposed to forcing the total set to be ordered. This will allow the tests to pass without depending on the shards being exactly in sync.

            Assignee:
            ted.tuckman@mongodb.com Ted Tuckman
            Reporter:
            ted.tuckman@mongodb.com Ted Tuckman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: