Details
-
Bug
-
Resolution: Works as Designed
-
Major - P3
-
None
-
None
-
None
Description
When resuming change stream, we call mongoc_cursor_next on the cursor we create with the aggregate command. But if the aggregate returned an empty batch, we mongoc_cursor_next will send another getMore command (but we should just return NULL in that case).