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

No way to query with slaveOk via HTTP interface

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.0.0
    • HTTP Console
    • None
    • Fully Compatible

    Description

      "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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: