Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-273

many db commands (stats, list db, group, etc) should succeed if slaveOk=true and at least one server is up

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5
    • Affects Version/s: None
    • Component/s: None
    • None

      Many read only operations call db.command(obj) which always uses 0 as query op.
      But these should use db.command(obj, getOptions()) to use options set on db.
      For example, one should be able to list databases or get stats even if no master is currently up.

            Assignee:
            antoine Antoine Girbal
            Reporter:
            antoine Antoine Girbal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: