[SERVER-57793] Inserting into a time-series collection can fail with NamespaceNotFound Created: 17/Jun/21  Updated: 23/Jan/24  Resolved: 23/Jan/24

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

Type: Bug Priority: Major - P3
Reporter: Gregory Noma Assignee: Backlog - Storage Execution Team
Resolution: Duplicate Votes: 0
Labels: time-series
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-85548 Time series insert may return collect... Backlog
Related
related to SERVER-57660 Ordered time-series inserts can race ... Closed
Assigned Teams:
Storage Execution
Sprint: Execution Team 2021-12-13
Participants:

 Description   

As of SERVER-57660, if a time-series collection is dropped while there are concurrent inserts into that collection, there is a small window where the inserts may fail due to the buckets collection being dropped. In order to be more in-line with the behavior of a regular collection, if this race occurs, we could back out of the time-series insert path and perform a regular insert, which would implicitly create the namespace as a regular collection.


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