-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.9.0-alpha0
-
Component/s: None
-
None
-
Storage Execution
-
Fully Compatible
-
ALL
-
v8.0, v7.0, v6.0, v5.0
-
-
Execution Team 2024-12-09, Execution Team 2024-12-23
When performing a time series insert or update, the operation is prepared with a string comparator retrieved from the collection looked up by namespace. Later, when the write begins, the collection is looked up by namespace and locked. Between these two lookups, the collection can be dropped then re-created with different options, for example, collation settings. This results in the control fields on the target buckets being updated according to an outdated comparator, which can result in incorrect query results.
EDIT: The actual bug is the window between preparing and committing a time-series insert or update for a collection to be "edited." The consequences of this bug depend on what happens during that window to the collection in question.
- is related to
-
SERVER-87678 `createIndex` may create bucket collection after timeseries is dropped
- Backlog