Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-3871

Change stream resumption does not always include resumeAfter

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.2.0, 3.12.8
    • Affects Version/s: None
    • Component/s: Change Streams
    • None

      The Test consecutive resume test from the unified test file format specification uncovers a bug in the Java driver. The test expects that after a failed getMore, the subsequent aggregate command includes the resumeAfter field populated with the postBatchResumeToken from the initial aggregate command. The Java driver fails this test.

      The bug seems to only happen in situations where the initiating aggregate command contains no results and the first getMore command fails.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: