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.
- depends on
-
CXX-1258 Cursor iterators lose lockstep at cursor end
-
- Closed
-