Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-2584

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

    • Type: Icon: Task Task
    • Resolution: Done
    • 3.0.15
    • Affects Version/s: None
    • Component/s: 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 Durran Jordan
            Reporter:
            kinfante kinfante
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: