[JAVA-2089] warning: can't find cursor Created: 15/Jan/16  Updated: 16/Nov/21  Resolved: 16/Jan/16

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: 2.4
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: hyeonghwa park Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

sharded cluster : 4shard



 Description   

· Warning: can not find cursor: 7304216622793134480 I have occurred about average 30 daily from ancient times as a related error.

· CursorCache against dbname.product is kill warning: can not find cursor message has occurred.

mongos_errorlog
Fri Jan 15 18:26:37.815 [conn12234542] CursorCache::getRef id: 7304216622793134480 out: NONE
Fri Jan 15 18:26:37.816 [conn12234542] could not find cursor in cache for id 7304216622793134480 over collection dbname.product
Fri Jan 15 18:26:37.822 [conn12234542] CursorCache::gotKillCursors id: 7304216622793134480
Fri Jan 15 18:26:37.827 [conn12234542] warning: can't find cursor: 7304216622793134480



 Comments   
Comment by hyeonghwa park [ 15/Jan/16 ]

Hi Jeff, thank you

warning: can't find cursor:  << Meaning of the log?
                  In other words, it is not possible to search for the dead cursor?

#cursors to kill
・"sent 0 cursors to kill" >= 1
・"too many cursors to kill" < 30000
https://api.mongodb.org/java/2.6/com/mongodb/DBCursor.html#getOptions()

thanks in advance

Comment by Jeffrey Yemin [ 15/Jan/16 ]

Is there any particular reason you opened this in the Java driver project?

I'd suggest instead that you start a thread on the MongoDB user forum.

Regards,
Jeff

Generated at Thu Feb 08 08:56:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.