Add method to detect dead tailable cursor

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, users have no way of knowing that a tailable cursor is "dead" – i.e. that there are no more documents to iterate and the server has returned a cursor_id of zero.

      After CDRIVER-2093 is released in libmongoc 1.7.0, we can add a method like can_tail which is always false for non-tailable cursors and for tailable (and tailable-await) cursors passes through the value of mongoc_cursor_more.

            Assignee:
            Samuel Rossi (Inactive)
            Reporter:
            David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: