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

Handling query timeout on network issues

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.22
    • Affects Version/s: None
    • Component/s: None

      I am trying to figure out how to handle the following case:
      1. Connect to mongo server successfully
      2. Network issues prevents connection between the driver to Mongo
      3. Driver sends a query.

      I want to be able in that case to understand that the server is down and use a fallback implementation.

      I found the following stackoverflow question, but was hoping it relates to an outdated version.
      http://stackoverflow.com/questions/18688282/handling-timeouts-with-node-js-and-mongodb

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            emoshe Elad Moshe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: