System Information
- Strapi Version: 3.2.5
- Operating System: CentOS Linux release 7.8.2003 (Core)
- Database: MongoDB
- Node Version: v12.19.0
- NPM Version: 6.14.8
Does strapi support sharded mongodb collection? Can a content-type collection sharded using user-defined shard key? How is this going to affect operation performed by Strapi on sharded collection?
Single Document Modification Operations in Sharded Collections
All updateOne() and deleteOne() operations for a sharded collection that specify the multi: false or justOne option must include the shard key or the _id field in the query specification. updateOne() and deleteOne() operations specifying multi: false or justOne in a sharded collection which do not contain either the shard key or the _id field return an error