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

Map reduce is versioned on direct connection to shards

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.4.2
    • 4.4.7, 5.0.0-rc0
    • Querying
    • Fully Compatible
    • ALL
    • v4.4
    • 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
    • 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

        Issue Links

          Activity

            People

              eric.cox@mongodb.com Eric Cox
              marcos.grillo@mongodb.com Marcos José Grillo Ramirez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: