|
Currently, update commands with
{upsert: true}
that filter on _id error with:
{
|
"nMatched" : 0,
|
"nUpserted" : 0,
|
"nModified" : 0,
|
"writeError" : {
|
"code" : 65,
|
"errmsg" : " :: and :: Shard key update is not allowed without specifying the full shard key in the queryFor sharded collections getOwnershipFilter cannot be relied on without a valid shard versionFor sharded collections getOwnershipFilter cannot be relied on without a valid shard version",
|
"errInfo" : {
|
"causedBy" : [
|
{
|
"index" : 0,
|
"code" : 31025,
|
"errmsg" : "Shard key update is not allowed without specifying the full shard key in the query"
|
},
|
{
|
"index" : 0,
|
"code" : 7032301,
|
"errmsg" : "For sharded collections getOwnershipFilter cannot be relied on without a valid shard version"
|
},
|
{
|
"index" : 0,
|
"code" : 7032301,
|
"errmsg" : "For sharded collections getOwnershipFilter cannot be relied on without a valid shard version"
|
}
|
]
|
}
|
}
|
}
|
|