$setOnInsert with a shard key – not possible ?
Having the collection empty, when trying to do an upsert using $setOnInsert on a shard key I get the following error: Can’t modify shard key’s value. field: card: 1.0 collection: vizvid.total_video_views mongos> db.dbversity.status() { “sharded” : true, “ns” : “dbfry.dbversity”,…