-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 6.0.15
-
Component/s: None
-
Storage Execution
-
Fully Compatible
-
ALL
-
v8.0, v7.0, v6.0
-
-
Execution Team 2024-08-05, Execution Team 2024-08-19
-
200
db.apple.insert({}); db.createView("toApple", "apple", []); db.runCommand({createIndexes:"toApple", collectionUUID: new UUID(), indexes:[{name:"_id_hashed", key:{_id:"hashed"}}]});
This will return a CommandNotSupportedOnView error, not CollectionUUIDMismatch.
Mongosync depends on CollectionUUIDMismatch for handling certain rename cases, so we need the collectionUUID check prioritized over the is-view check.
- related to
-
SERVER-93333 [v7.0] Pass CollectionUUID in all calls to AutoGetCollection in createIndex
-
- Closed
-
-
SERVER-93690 Mark `create_indexes.js` test as multiversion incompatible
-
- Closed
-