-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
ALL
-
Commands issued on a view with a 'collectionUUID' are always expected to fail with CollectionUUIDMismatch. The CollectionUUIDMismatch should return 'expectedCollection': <viewName>.
However, when run on a timeseries view, dropIndexes() return the underlying 'system.buckets' collection as the 'expectedCollection'
[js_test:myrepro] uncaught exception: Error: command failed: { [js_test:myrepro] "ok" : 0, [js_test:myrepro] "errmsg" : "Collection UUID does not match that specified", [js_test:myrepro] "code" : 361, [js_test:myrepro] "codeName" : "CollectionUUIDMismatch", [js_test:myrepro] "db" : "test", [js_test:myrepro] "collectionUUID" : UUID("9e4648ba-fd04-4c35-a0dc-c40f27a8ad10"), [js_test:myrepro] "expectedCollection" : "system.buckets.tsViewNs", [js_test:myrepro] "actualCollection" : "randColl" [js_test:myrepro] } with original command request: { [js_test:myrepro] "dropIndexes" : "tsViewNs", [js_test:myrepro] "index" : { [js_test:myrepro] "myField" : 1 [js_test:myrepro] }, [js_test:myrepro] "collectionUUID" : UUID("9e4648ba-fd04-4c35-a0dc-c40f27a8ad10"), [js_test:myrepro] "lsid" : { [js_test:myrepro] "id" : UUID("7f1e25a5-321b-43bc-abe7-e8b3e7f26aad") [js_test:myrepro] } [js_test:myrepro] }
- related to
-
SERVER-87447 dropIndexes() on a timeseries view namespace doesn't fail with buckets UUID
- Backlog