"code" : 43, "codeName" : "CursorNotFound" - Cursor timeout is not working as expected

Hello,

I am getting cursorTimeout error, so I increased cursorTimeoutMillis .

I am aware that the default timeout is 10min, but strange is, on one cluster it is working fine and on another identical cluster it is giving me this cursor not found.

I am not sure why my timeout setting is not working.

Why same query with same data is not giving that error. The error-free cluster is trafic free and kind of test cluster, does that also matter?

Hi Ayush,

Could you refer the links below

https://jira.mongodb.org/browse/SERVER-34053

Cheers

Thank you, it helped!

1 Like