“[conn557392] killcursors: found 0 of 1” in Mongodb replication primary log

*爱你&永不变心* 提交于 2020-01-02 06:10:10

问题


I am running a production mongodb replication with version 2.6 now.

Today I found out that the primary mongod instance keeps writing log:

[conn557392] killcursors: found 0 of 1

And I checked the db.serverStatus().metrics.cursor, there are indeed a great amount of timedout cursor as mentioned in this discussion.

My questions are

  1. Because I set all my read logic as Secondary preferred, the primary suppose to be write only. Why it needs to kill the cursor? The cursor suppose to be only for read?

  2. Why all the application services are not influenced even though there are more than half million of timedOut cursor? Do I suppose to take this seriously?

Thanks in advance!

来源:https://stackoverflow.com/questions/31729358/conn557392-killcursors-found-0-of-1-in-mongodb-replication-primary-log

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!