-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
How are you using Mongo? What version of the server and driver are you using?
The interruptible async interval used to implement the monitoring protocol does not correctly interrupt in progress operations.
The following branch has the changes required to make it spec compliant, but tests will need to be adjusted for this to be ready for review:
https://github.com/mongodb/node-mongodb-native/tree/NODE-3810-make-wake-spec-compliant
Additionally, we can also incorporate the changes here that refactor the interval into a standalone class: https://github.com/mongodb/node-mongodb-native/pull/3177 to make this part of the code cleaner.