[SERVER-66986] Check `_id` field's time part matches `control.min.timeField` field in time-series buckets collection in validation Created: 02/Jun/22  Updated: 29/Oct/23  Resolved: 12/Jul/22

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

Type: Task Priority: Major - P3
Reporter: Yuhong Zhang Assignee: Richard Hausman (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-07-11, Execution Team 2022-07-25
Participants:

 Description   

The _id field of the time-series bucket collections is used by various queries and ttl operations. We have the assumption of its time part (the first four bytes) representing the same timestamp of the one in control.min.timeField. We should check this when validating a time-series bucket collection.



 Comments   
Comment by Githook User [ 12/Jul/22 ]

Author:

{'name': 'Richard Hausman', 'email': 'richard.hausman@mongodb.com', 'username': 'rhausman'}

Message: SERVER-66986 Added check for equivalence of OID-embedded timestamp and 'control.min.timeField' timestamp.
Branch: master
https://github.com/mongodb/mongo/commit/968c499428b57930c64bf1bba9e796f6328582af

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