[DOCS-11151] Clarify behavior leading to an invalid tailable cursor Created: 21/Dec/17  Updated: 30/Oct/23

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Eric Sommer Assignee: Unassigned
Resolution: Won't Do Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 1 year, 14 weeks, 2 days ago
Epic Link: DOCSP-1769
Story Points: 0.3

 Description   

https://docs.mongodb.com/manual/core/tailable-cursors/#tailable-cursors

The behavior leading to an invalid cursor seems to involve calling cursor.next() after the last document returned from the cursor has already rolled off a capped collection. We should confirm this is the correct interpretation and update the language as appropriate.

Original Description

the cursor returns the document at the “end” of the collection and then the application deletes that document.

An application cannot delete a document from a capped collection. Is this referring to a case where the document is question is overwritten when the capped collection rolls over?



 Comments   
Comment by Education Bot [ 31/Oct/22 ]

Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you!

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