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

Make mongotmock aware that requests can come from different shards

    XMLWordPrintable

Details

    • Improvement
    • Status: Backlog
    • Minor - P4
    • Resolution: Unresolved
    • None
    • None
    • None
    • 127

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            ted.tuckman@mongodb.com Ted Tuckman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: