[SERVER-73864] Create time-series buckets collection and view in multi-doc transaction Created: 09/Feb/23  Updated: 04/Jan/24

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

Type: Task Priority: Major - P3
Reporter: Gregory Noma Assignee: Backlog - Storage Execution Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-67736 Create time-series view and bucket co... Backlog
Assigned Teams:
Storage Execution
Participants:
Linked BF Score: 14

 Description   

When creating a time-series collection, first we create the buckets collection and then we create the view non-atomically. This allows for cases where the former can succeed but not the latter (for instance replication rollback). We should consider using an internal multi-document transaction here so that these two steps are performed atomically.


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