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

findAndModify_flip_location.js should account for racey upserts when run in multiversion suites against 4.4 binaries

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.2
    • Affects Version/s: 5.0.0-rc7
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Repl 2021-07-12, Repl 2021-07-26
    • 41

      In the v5.0 branch, multiversion suites test against the v4.4 binary. findAndModify_flip_location.js should account for the race condition described in SERVER-14322. The fix to the race for findAndModify was never backported to v4.4 (SERVER-47212), so we should have the test account for this multiversion edge case. We already account for this in the v4.4 branches and older: https://github.com/mongodb/mongo/blob/058cf0c5b2a087256486373e2d9d3715afe54baf/jstests/concurrency/fsm_workloads/findAndModify_flip_location.js#L44-L49.

            Assignee:
            jason.chan@mongodb.com Jason Chan
            Reporter:
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: