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

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.6
    • Epic Link:
    • Sprint:
      Query 2017-11-13, Query 2017-12-04, Query 2017-12-18

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: