我正在使用db.currentOp(true)
检查我的mongodb性能,mongo shell返回了以下错误消息,但db.currentOp()工作正常
yqdmj:PRIMARY> db.currentOp(真) 2015-03-31T16:01:06.383 + 0800 ReferenceError:未定义PROC_UpdateUserCoupon 2015-03-31T16:01:06.384 + 0800错误:16722 ReferenceError:未在src / mongo / shell / types.js中定义PROC_UpdateUserCoupon:616
实际上,PROC_UpdateUserCoupon
是我定义的服务器端js,我可以在db.system.js
中找到它,我不知道db.currentOp(true)
到底发生了什么,我尝试使用db.currentOp()
而没有传递参数,它工作正常,我该如何解决?