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

mongos mapReduce cleanup doesn't obey request's writeConcern

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • Sharding 2019-04-22, Sharding 2019-05-06

    Description

      https://github.com/mongodb/mongo/blob/r4.1.5/src/mongo/s/commands/cluster_map_reduce_cmd.cpp#L731

      Note: this might be a minor issue in the real world, but it causes some issue in transaction testing because of 2 phase drops. The drop can acquire the database X lock later after the mapReduce has already finished and conflict with the transactions trying to get the same lock in the tests.

      Attachments

        Activity

          People

            randolph@mongodb.com Randolph Tan
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: