Node Driver
  1. Node Driver
  2. NODE-5

Improved diagnostics for failed replica set connections

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major - P3 Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Driver version 1.1.11
    • # Replies:
      1
    • Last comment by Customer:
      false

      Description

      When a replica set connection fails the error message can be fairly opaque, requiring lucky guesswork or heroic efforts to fix. A common problem we have been running into is connection timeouts from Heroku as shown here:

      https://github.com/jcottr/temps-mort

      It would be nice to have better tools for diagnosing the issue in these situations. Either better error messages (in this case, it would have been helpful to know that we were getting timeouts) or maybe a diagnostic mode you could put the driver in where it would log diagnostic messages including the individual errors it gets on connection attempts.

        Activity

        • Comments
        Hide
        Christian Amor Kvalheim
        added a comment -

        Merged into 1.2 and will be out on next push hopefully nov 20

        Show
        Christian Amor Kvalheim
        added a comment - Merged into 1.2 and will be out on next push hopefully nov 20

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since reply:
              1 year, 22 weeks, 5 days ago
              Date of 1st Reply: