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

When a collection is sharded, mongods should be notified by the mongos

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL

    Description

      This is somewhat of an optimization, as separate mongoses are not guaranteed to pick up the newly sharded collection at the same time, and there can be no data host changes until migrations occur (at which point the mongods will load the versions). However, it would be clearer if the mongods were notified, and would eliminate version checks for other mongoses with correct info about the current version.

      Also should verify that a cursor opened on an unsharded collection is treated correctly if sharding occurs afterwards.

      Attachments

        Activity

          People

            Unassigned Unassigned
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: