[SERVER-35490] Create a test that investigates the behavior for moving an empty chunk. Created: 07/Jun/18  Updated: 10/Jul/18  Resolved: 10/Jul/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Blake Oler Assignee: Sarah Zhou
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Sharding 2018-06-18, Sharding 2018-07-02, Sharding 2018-07-16
Participants:

 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.



 Comments   
Comment by Sarah Zhou [ 13/Jun/18 ]

Analysis of behavior: https://docs.google.com/spreadsheets/d/1al3ssCx0na4S4oSqWq23A2i9CoJKUqrB685tNkS8X1o/edit?usp=sharing

Generated at Thu Feb 08 04:39:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.