I am running mongo 2.4.8, and with the latest code from this repo, I get a key error when running the mongo_lock plugin:
$ ./mongo_lock
Traceback (most recent call last):
File "./mongo_lock", line 54, in
doData()
File "./mongo_lock", line 34, in doData
print name + ".value " + str( 100 * getServerStatus()["globalLock"]["ratio"] )
KeyError: 'ratio'
I am running mongo 2.4.8, and with the latest code from this repo, I get a key error when running the mongo_lock plugin:
$ ./mongo_lock
Traceback (most recent call last):
File "./mongo_lock", line 54, in
doData()
File "./mongo_lock", line 34, in doData
print name + ".value " + str( 100 * getServerStatus()["globalLock"]["ratio"] )
KeyError: 'ratio'