Back
I think your cursor is idle for a long time that is why your cursor is not working. The cursor basically exists on the server-side. It is not divided over a replica set but it is present on the creation of a primary instance which indicates that if any other instance gets over as a primary instance, then the cursor will get lost to the client. For preventing the loss of the cursor, you have to check if your mongo replica set in the MongoDB is uncertain or you have an unstable network.
31k questions
32.8k answers
501 comments
693 users