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

Create a test that investigates the behavior for moving an empty chunk.

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding 2018-06-18, Sharding 2018-07-02, Sharding 2018-07-16

    Description

      We currently have a suspicion that moving an empty chunk would skip through all of our majority commit checkpoints, and thus will be already-optimized in movement speed. Create a test that:

      1. Creates a collection and shards it.
      2. Splits the collection into ~100 chunks.
      3. Move half of the chunks into another shard.

      In doing so, you would time how long it takes to move these chunks en masse.

      You will also do investigation on the time difference between moving a chunk with one document and a chunk with zero documents. Note that to do this, you must already have one chunk on each shard, so as to avoid the initial overhead it takes to create a new collection on a recipient shard.

      Attachments

        Activity

          People

            sarah.zhou@mongodb.com Sarah Zhou
            blake.oler@mongodb.com Blake Oler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: