Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-469

Map Reduce queries routed to secondaries, subsequently fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 12_01_17
    • Component/s: None
    • Environment:
      Ruby 1.9.3
      MongoDB 2.2

      Description

      We have a map reduce query that was previously working fine in 1.6.x that under 1.7.0 appears to be routed to a secondary and then subsequently fails. The map reduce uses an output merge strategy to an existing collection. The failure we get is:

      Database command 'mapreduce' failed: (errmsg: 'not master'; ok: '0.0').

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: