Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1252

Tailable cursors only work once

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.2.0-rc0, 3.1.4
    • Component/s: Implementation
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      Perl/CXX 2017-03-24

      Description

      When using a tailable cursor, only the first iteration to cursor::end() works and subsequent iteration attempts find nothing. See the attached file for an example.

      This is almost certainly a consequence of the way cursors are marked dead in the fix for CXX-1001 and CXX-1100, which should not happen if the cursor is tailable.

      I also see that we have no integration tests for tailable cursors, or we'd have caught this breakage earlier.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: