Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4149

Make interruptible async interval compliant with monitoring polling spec

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.11.0
    • Affects Version/s: None
    • Component/s: None
    • 3
    • Not Needed
    • Not Needed

      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.

      What is the feature/improvement you would like?

      What use case would this feature/improvement enable?

            Assignee:
            bailey.pearson@mongodb.com Bailey Pearson
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: