[SERVER-66208] Remove chunk creation for shard collection with existing data Created: 04/May/22  Updated: 29/Oct/23  Resolved: 26/May/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.3, 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Allison Easton Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-66610 Evaluate whether users of selectChunk... Closed
Documented
is documented by DOCS-16166 Investigate changes in SERVER-66208: ... Closed
Gantt Dependency
has to be done before SERVER-66754 Review tests disabled because expecti... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0
Sprint: Sharding EMEA 2022-05-30
Participants:

 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.



 Comments   
Comment by Githook User [ 14/Oct/22 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-66208 remove non-existing excluded tests from sharding_continuous_config_stepdown.yml
Branch: v6.0
https://github.com/mongodb/mongo/commit/dd06d401ba5b23a9b7b73c7b84c210a26bec381c

Comment by Githook User [ 14/Oct/22 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-66208 Remove chunk creation for shard collection with existing data

Co-authored-by: Kaloian Manassiev <kaloian.manassiev@mongodb.com>
Branch: v6.0
https://github.com/mongodb/mongo/commit/b790445018fdb3b026d9e0bcf51fedca7030e8a1

Comment by Githook User [ 26/May/22 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-66208 remove non-existing excluded tests from sharding_continuous_config_stepdown.yml
Branch: master
https://github.com/mongodb/mongo/commit/a7cba7e1347cf500a7580f0335a865a2bb5baff4

Comment by Githook User [ 25/May/22 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-66208 Remove chunk creation for shard collection with existing data

Co-authored-by: Kaloian Manassiev <kaloian.manassiev@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/1646cf1bdfb3fcac4b1bed1960a747f44598e74a

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