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

Connect to servers in STARTUP2 or other "unhealthy" state

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Shell
    • Labels:

      Description

      Users may use the shell to check on nodes that are in states besides PRIMARY or SECONDARY, e.g. STARTUP2 or RECOVERING. Right now it seems due to https://github.com/mongodb/specifications/blob/c378d48de4da1a4f1438dc30c1bf464ae9f9cd7c/source/driver-read-preferences.rst#read-preferences and https://jira.mongodb.org/browse/DRIVERSOLD-1 the driver refuses to connect to servers that are in such a state. We will need a way to circumvent that limitation so users may connect using the shell.

      If the driver does not support this use case, it means the MongoDB Shell can't be used for a number of cluster administration purposes and can't be used as a tool to bring customers back online when something bad happens in a cluster or on a node.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rachelle.palmer Rachelle Palmer
              Reporter:
              anna.herlihy Anna Herlihy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: