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

Map Reduce queries routed to secondaries, subsequently fail

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 12_01_17
    • Affects Version/s: 1.7.0
    • Component/s: None
    • Environment:
      Ruby 1.9.3
      MongoDB 2.2

      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').

            Assignee:
            tyler@10gen.com Tyler Brock
            Reporter:
            m@saffitz.com Michael Saffitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: