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

Map reduce is versioned on direct connection to shards

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.4.2
    • Fix Version/s: 5.0.0
    • Component/s: Querying
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      1. Set up a replica set
      2. Add some data
      3. Restart the replica set with --shardsvr
      4. Add the replica set to a sharded cluster
      5. Run a mapreduce with output on the primary directly

      Show
      1. Set up a replica set 2. Add some data 3. Restart the replica set with --shardsvr 4. Add the replica set to a sharded cluster 5. Run a mapreduce with output on the primary directly
    • Linked BF Score:
      24

      Description

      After SERVER-48128 the requests sent directly to a shard should not be versioned, so, there shouldn't be any cache refresh on the node that a direct client can't retry, however, this is not the case, there is a cache refresh that's being called when executing a mapReduceWrite. Running a jstest will show that during the direct client check, there is a refresh while doing a mapReduceWithWrite.

        Attachments

          Activity

            People

            Assignee:
            eric.cox Eric Cox
            Reporter:
            marcos.grillo Marcos José Grillo Ramirez
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: