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

$lookup misses results when both the mongos and primary shard are unaware that an involved collection is sharded

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Query

      Found while working on test cases for SERVER-32308. Repro steps:

      1. Create unsharded local and foreign collections, inserting a few documents to each.
      2. Shard either collection through the first mongos, and ensure that the chunks are distributed across multiple shards.
      3. Restart the primary shard to reset its metadata. It now believes that both collections are unsharded.
      4. Send $lookup to a second mongos, which is unaware that either collection is sharded.

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: