-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
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.