How to enable use of locking in MongoDB 3.2.8 - Failure: the server does not support report locking information

From MongoDB Docs

To report the use of locks for each database, use -locks

Changed in version 3.0.0: when called against a mongoose that is not using report locks, --locks will return a failure: the server does not support information blocking error messages

I get this error

mongotop -vvv --host localhost --authenticationDatabase admin -u $USER -p $PASSWD  --port 27100 --locks
2016-08-29T14:29:41.477+0200    Failed: server does not support reporting lock information

How to enable lock usage in MongoDB 3.2.8? Do I need a special launch option?

+4
source share
1 answer

. - . MongoDB 3.0 ( ) MMAPv1 wiredTiger MongoRocks. concurrency : https://docs.mongodb.com/manual/faq/concurrency/

- MongoDB 2.x

+1

Source: https://habr.com/ru/post/1652852/


All Articles