[SERVER-58249] findAndModify_flip_location.js should account for racey upserts when run in multiversion suites against 4.4 binaries Created: 02/Jul/21  Updated: 29/Oct/23  Resolved: 20/Jul/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 5.0.0-rc7
Fix Version/s: 5.0.2

Type: Bug Priority: Major - P3
Reporter: Jason Chan Assignee: Jason Chan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2021-07-12, Repl 2021-07-26
Participants:
Linked BF Score: 41

 Description   

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.



 Comments   
Comment by Githook User [ 20/Jul/21 ]

Author:

{'name': 'Jason Chan', 'email': 'jason.chan@mongodb.com', 'username': 'jasonjhchan'}

Message: SERVER-58249 findAndModify_flip_location.js should account for racey upserts when run in multiversion suites against 4.4 binaries
Branch: v5.0
https://github.com/mongodb/mongo/commit/7252521ce6c82fa4dcd36c99d5461000f6e5ea94

Generated at Thu Feb 08 05:44:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.