map_reduce (out inline) + replica set + consistency eventual hitting primary

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 3.0.15
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I'm using replica set, consistency eventual and inline map_reduce (mongoid 3.0.9).

      I suspect that mongoid is forcing strong consistency and querying primary node (map_reduce.rb: @results ||= session.with(consistency: :strong).command(command)).

      should it hit secondary? if not, why?

              Assignee:
              Durran Jordan
              Reporter:
              kinfante
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: