-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: 8.2.0-rc0
-
Component/s: None
-
None
-
Storage Execution
-
ALL
-
-
Storage Execution 2025-06-23, Storage Execution 2025-07-07, Storage Execution 2025-07-21, Storage Execution 2025-08-04, Storage Execution 2025-08-18
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
0
Since viewless timeseries collection have an UUID, it should be possible to insert to it specifying the collectionUUID parameter on the insert command line this:
db.runCommand({ "insert": "ts", "documents": [{ "t": ISODate() }], "collectionUUID": UUID("a1b2c3d4-e5f6-7890-1234-567890abcdef") });
However, currently this fails with a CollectionUUIDMismatch error with expectedCollection being the same as actualCollection:
{ "ok" : 0, "errmsg" : "time-series insert failed: test.ts :: caused by :: Collection UUID does not match that specified", "code" : 361, "codeName" : "CollectionUUIDMismatch", "db" : "test", "collectionUUID" : UUID("a1b2c3d4-e5f6-7890-1234-567890abcdef"), "expectedCollection" : "ts", "actualCollection" : "ts" }
This case should be tested by the timeseries_collection_uuid.js test.
- duplicates
-
SERVER-106729 Make bulkwrite commands treat viewless time-series collections as time-series collections
-
- Closed
-
- related to
-
SERVER-109139 Complete TODO listed in SERVER-105501
-
- Closed
-