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

Create initial chunk on primaryShard if only writing one chunk

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.6, 4.0.1, 4.1.1
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.0, v3.6
    • Sharding 2018-06-18, Sharding 2018-07-02

      Currently, if we're only writing one chunk when creating a newly sharded collection we create it on any shard. We should create this on the primaryShard because during M/R, if creating a new sharded output collection we'll create the new collection on the primary shard with UUID X, but then write the initial chunk to possibly a different shard with UUID Y.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: