Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-744

Vanilla mongodb instance with --replicaSet option set, is not valid for any operations (Kind == "Unknown")

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Labels:
      None

      Issue discovered trying to writing go program to initiate replicaSet trough driver, if server was run with --replicaSet flag (before initiating it in console), driver fails to run any commands/client.Ping() with server selection timeout error.

      Connecting to server trough mongo console and doing rs.initiate() + rs.reconfigure() with current connection string e.x. localhost:27017 as members[0].host fixes issue.

      Looks like topology just doesn't work with not initialised replicaSet

            Assignee:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Reporter:
            shivas Audrius Karabanovas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: