![日志文件中奇怪的 Mongo DB 写锁值](https://linux22.com/image/629183/%E6%97%A5%E5%BF%97%E6%96%87%E4%BB%B6%E4%B8%AD%E5%A5%87%E6%80%AA%E7%9A%84%20Mongo%20DB%20%E5%86%99%E9%94%81%E5%80%BC.png)
我的 Mongo DB 日志文件中出现了一些奇怪的写锁值:
Wed Mar 19 10:03:47.007 [snapshotthread] cpu: elapsed:4010 writelock: 0%
Wed Mar 19 10:03:51.007 [snapshotthread] cpu: elapsed:4000 writelock: 0%
Wed Mar 19 10:03:55.012 [snapshotthread] cpu: elapsed:4005 writelock: 0%
Wed Mar 19 10:03:59.028 [snapshotthread] cpu: elapsed:4015 writelock: 385%
Wed Mar 19 10:04:03.042 [snapshotthread] cpu: elapsed:4014 writelock: -2147483648%
Wed Mar 19 10:04:07.045 [snapshotthread] cpu: elapsed:4003 writelock: 0%
这是“正常”现象吗?或者我应该担心吗?
答案1
显然这是“正常的 MongoDB 行为”......