Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11151

Clarify behavior leading to an invalid tailable cursor

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None

    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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            eric.sommer@mongodb.com Eric Sommer
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago