Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4121

No way to query with slaveOk via HTTP interface

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.0.0
    • Component/s: HTTP Console
    • Labels:
      None
    • Fully Compatible

      "http://localhost:28002/test/foo/" against a secondary returns:

      {
      "offset" : 0,
      "rows": [

      { "$err" : "not master and slaveok=false", "code" : 13435 }

      ],

      "total_rows" : 1 ,
      "query" : {} ,
      "millis" : 0
      }

      How do you say "slave is ok"? I don't think you can.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            tonyh Tony Hannan
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: