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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Jason Chan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: