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

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

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: