Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CDRIVER-2578 changestream getmore and agg lsid
collection_watch runs an aggregate command with collection_read_command_with_opts and then creates a cursor with cursor_new_from_command_reply. To ensure they use the same implicit session lsid, the change_stream_t must be responsible for creating the implicit session and pass this session to both the command and cursor as if it were an explicit session.
- Loading branch information
Showing
3 changed files
with
110 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters