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

Address race condition in concurrent mapReduce and killOp operations in map_reduce_interrupt.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc14
    • Affects Version/s: 8.0.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0
    • CAR Team 2024-07-22
    • 0

      When mapReduce and killOp operations are executed concurrently, a race condition occurs, resulting in two mapReduce operations running at the same time and targeting the same output collection. This happens because killOp may not terminate mapReduce, leading to either continued execution and the initiation of another mapReduce process after acknowledging the interruption.

      The objective of this ticket is to resolve this test issue.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: