Description
Updating an existing document using findAndModify on shared cluster, when the collection have compound index raise an error: "query for sharded findAndModify must have shardkey". However, with runCommand it works just fine.
Updating an existing document using findAndModify on shared cluster, when the collection have compound index raise an error: "query for sharded findAndModify must have shardkey". However, with runCommand it works just fine.