-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(topology): ensure selection wait queue is always processed
There were two bugs here. First, processing the wait queue used a dynamic upper bound while looping through members, resulting in not all members actually being processed and subsequently timing out. Second, if some sort of error occurred during applying the selector to an array of server descriptions, processing would prematurely stop, potentially leaving wait queue members stuck. NODE-2467
- Loading branch information
Showing
2 changed files
with
64 additions
and
6 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