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

Create initial chunk on primaryShard if only writing one chunk

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.6, 4.0.1, 4.1.1
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0, v3.6
    • Sprint:
      Sharding 2018-06-18, Sharding 2018-07-02

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: