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

Remove chunk creation for shard collection with existing data

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.3, 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • v6.0
    • Sharding EMEA 2022-05-30

    Description

      The UnoptimizedSplitPolicy for initial chunk creation chooses how many chunks to create using AutoSplitVector and creates all chunks on the primary shard. After disabling the autosplitter, it no longer makes sense to split the collection into chunks on a single shard for the initial split policy.

      After removing the autosplitter, we should just create a single chunk on the primary shard.

      Attachments

        Activity

          People

            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: