[SERVER-66033] Mongod Crashes When Creating Time Series Index on FCV 6.0 Created: 27/Apr/22  Updated: 29/Oct/23  Resolved: 28/Apr/22

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

Type: Bug Priority: Major - P3
Reporter: Matt Boros Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2022-05-02
Participants:

 Comments   
Comment by Githook User [ 28/Apr/22 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-66033 All newly created time-series collections default to timeseriesBucketsMayHaveMixedSchemaData=false
Branch: master
https://github.com/mongodb/mongo/commit/e8d7622148929030c03e6d5b7b4a7c9c3b2f3e76

Comment by Matt Boros [ 27/Apr/22 ]

The following repro fails on master but not 6.0

assert.commandWorked(db.adminCommand({setFeatureCompatibilityVersion: "6.0"}))
assert.commandWorked(db.createCollection("coll", {timeseries: {timeField: "t", metaField: "m"}}))
assert.commandWorked(db.coll.insert({t: ISODate(), m: 1}))
assert.commandWorked(db.coll.createIndex({a: 1, t: 1}))

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