[SERVER-60574] Add a new catalog flag to indicate whether a time-series bucket has mixed-schema data Created: 08/Oct/21  Updated: 29/Oct/23  Resolved: 15/Oct/21

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

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

Issue Links:
Depends
is depended on by SERVER-60672 Simpler pushdown when timeseries coll... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-10-18
Participants:

 Description   

On newly created time-series buckets this flag will be set to false by default. It'll only be possible to have mixed-schema data when upgrading existing time-series buckets from earlier server versions.



 Comments   
Comment by Gregory Wlodarek [ 15/Oct/21 ]

Example catalog entry with the new timeseriesBucketsMayHaveMixedSchemaData flag:

{
    u'ident': u'collection-7--8664915538697400109',
    u'md': {u'indexes': [],
            u'ns': u'test.system.buckets.f',
            u'options': {u'clusteredIndex': True,
                        u'timeseries': {u'bucketMaxSpanSeconds': 3600,
                                        u'granularity': u'seconds',
                                        u'timeField': u't'},
                        u'uuid': UUID('ea6fab73-1f7b-41ee-90fc-9bac673dbf12'),
                        u'validator': { ... }},
            u'timeseriesBucketsMayHaveMixedSchemaData': False},
    u'ns': u'test.system.buckets.f'
}

Comment by Githook User [ 14/Oct/21 ]

Author:

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

Message: SERVER-60574 Add a new catalog flag to indicate whether a time-series bucket has mixed-schema data
Branch: master
https://github.com/mongodb/mongo/commit/33452cb2d111195462ea9e4ec6b91a398dcf3d99

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