[SERVER-59094] shardCollection command should ensure that time-series collection is created properly Created: 04/Aug/21  Updated: 29/Oct/23  Resolved: 17/Sep/21

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

Type: Bug Priority: Major - P3
Reporter: Arun Banala Assignee: Alya Berciu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: QE 2021-09-20
Participants:

 Description   

If the shardCollection command needs to create a time-series collection, it is not setting time-series parameters correctly in the buckets collection. This results in incorrect buckets collection metadata.



 Comments   
Comment by Githook User [ 18/Oct/21 ]

Author:

{'name': 'Alya Berciu', 'email': 'alyacarina@gmail.com', 'username': 'alyacb'}

Message: SERVER-59094 Implicitly create timeseries collections with shardCollection

(cherry picked from commit 18e9320c9bfe25b7494b9744e9756640ca5d5a85)
Branch: v5.0
https://github.com/mongodb/mongo/commit/1274b85455ab5a040a81938b245bf4f8dce1d54c

Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 17/Sep/21 ]

Author:

{'name': 'Alya Berciu', 'email': 'alyacarina@gmail.com', 'username': 'alyacb'}

Message: SERVER-59094 Implicitly create timeseries collections with shardCollection
Branch: master
https://github.com/mongodb/mongo/commit/18e9320c9bfe25b7494b9744e9756640ca5d5a85

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