[SERVER-85838] shardCollection with TS options on an existing normal collection must fail Created: 27/Jan/24  Updated: 01/Feb/24

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

Type: Bug Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Backlog - Catalog and Routing
Resolution: Unresolved Votes: 0
Labels: sharding-ddl-timeseries-bug
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Catalog and Routing
Operating System: ALL
Steps To Reproduce:

db.getSiblingDB("test").createCollection("coll")
db.getSiblingDB('admin').runCommand({shardCollection: 'test.coll', key: {timestamp:1}, timeseries: { timeField: "timestamp", metaField: "metadata" }});

Participants:
Story Points: 2

 Description   

Attempt to shard a normal collection passing timeseries option should fail instead is succeeding.


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