fix for globalLock.ration value - #8
Conversation
|
It would also be useful if it were to loop over the value of |
|
@tianon It's a detail, but he correct command is Otherwise, I get this : |
|
My bad, I didn't see that the function was from the script, not from MongoDB itself. Sorry for the n00b noise. |
|
No worries; I had the exact same thought initially until I looked closer at
On 8 November 2012 10:05, Jérémy Lecour notifications@github.com wrote:
|
|
I've tried this patch, and I get a growing value, always > 1.0 which doesn't look like a percentage. |
fixed how to configure custom db connection
Since mongo 2.2 there is no info in globalLock.ratio but it can be counted manually by dividing globalLock.lockTime and globalLock.totalTime. This fix doing it.