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

Clarify behavior leading to an invalid tailable cursor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: manual
    • Labels:
      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            eric.sommer Eric Sommer
            Participants:
            Last commenter:
            Anthony Sansone Anthony Sansone
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Days since reply:
              3 years, 44 weeks, 6 days ago