Handling query timeout on network issues

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • 2.0.22
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Christian Amor Kvalheim
              Reporter:
              Elad Moshe
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: