This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pool): ensure that lsid is sent in get requests to mongos
There is a strange case, when topology is mongos and readPreference is not primary, where we nest our find queries in a "$query" attribute. This was having the effect of not sending the lsid on find requests, which caused further errors when getMores attempted to send an lsid. Fixes NODE-1420
- Loading branch information
1 parent
468d1ff
commit ae820f6
Showing
2 changed files
with
71 additions
and
1 deletion.
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