Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
-
Fully Compatible
-
ALL
-
v4.0, v3.6
-
Storage NYC 2018-09-24
Description
applyOps should work with a createIndexes command without a UUID. It currently fails:
> db.adminCommand({applyOps: [{op:"c", ns: "test.$cmd", o: {createIndexes: "test", key: {a:1}, name: "a_1"}}]})
|
{
|
"applied" : 1,
|
"code" : 207,
|
"codeName" : "InvalidUUID",
|
"errmsg" : "uuid must be a 16-byte binary field with UUID (4) subtype",
|
"results" : [
|
false
|
],
|
"ok" : 0,
|
"operationTime" : Timestamp(1535666215, 1),
|
"$clusterTime" : ...
|
}
|
Attachments
Issue Links
- is related to
-
TOOLS-2308 MongoDB 4.2 removes applyops handling for system.indexes
-
- Closed
-
-
SERVER-27992 replicate collection UUIDs
-
- Closed
-
- related to
-
SERVER-36015 Remove references to system.namespaces and system.indexes
-
- Closed
-