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

Test changeStreams on a sharded collection where the shard doesn't know the collection is sharded

    • Fully Compatible
    • v3.6
    • Query 2017-11-13, Query 2017-12-04, Query 2017-12-18

      The shard collection command makes a best-effort attempt to inform the primary shard that the collection is now sharded, but that message is not required to be delivered. This means that the primary shard owning the previously unsharded collection may not know that the collection is now sharded, even after it is.

      We should test that if we get into a situation like that we can still establish a changeStream through a mongos that does know that the collection is sharded.

            Assignee:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: