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

Map Reduce with sharded output can apply reduce on duplicate documents if a migration happened

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • MapReduce, Sharding
    • None
    • ALL
    • Sharding 2018-02-12

    Description

      Buildbot failure:

      http://buildbot.mongodb.org/builders/Linux%2032-bit/builds/5402

      If a migration happened on the map reduce job output collection right before the mapreduce.shardedfinish is called, there is a possibility that one of the shard still thinks he owns the chunk, whereas it has already donated it to another shard.

      Attachments

        1. mrShardedOutput_with_cmdResult.txt
          698 kB
        2. mrShardedOutput.js
          3.70 MB

        Activity

          People

            randolph@mongodb.com Randolph Tan
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: