Howto enable lock usage in MongoDB 3.2.8 - Failed: server does not support reporting lock information Howto enable lock usage in MongoDB 3.2.8 - Failed: server does not support reporting lock information mongodb mongodb

Howto enable lock usage in MongoDB 3.2.8 - Failed: server does not support reporting lock information


You can't. --locks option is used to report per-database locks. Starting from MongoDB 3.0 (for most operations) there are collection-level locks on MMAPv1 storage engine and document-level for wiredTiger and MongoRocks. You can find more info about concurrency here: https://docs.mongodb.com/manual/faq/concurrency/

Option --locks is useful only for MongoDB 2.x