[SERVER-47665] findAndModify_upsert_no_conflicts.js fails on storage engine without support for document level locking Created: 20/Apr/20  Updated: 29/Oct/23  Resolved: 24/Apr/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.4.0-rc4, 4.7.0

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

Issue Links:
Backports
Depends
Related
is related to SERVER-45955 findAndModify should not take exclusi... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Execution Team 2020-05-04
Participants:
Linked BF Score: 44

 Description   

This test depends on the findAndModify command acquiring a MODE_IX lock on the collection. However, the requested lock is upgraded to an exclusive lock on storage engines that do not support document level locking (e.g. ephemeralForTest).



 Comments   
Comment by Githook User [ 01/May/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-47665 findAndModify_upsert_no_conflicts.js requires support for document level locking

(cherry picked from commit 322f541cd162e7f99249115a8debdaafb8a3dedb)
Branch: v4.4
https://github.com/mongodb/mongo/commit/4c171a4917e3efc63247a4722b82433975683dac

Comment by Githook User [ 24/Apr/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-47665 findAndModify_upsert_no_conflicts.js requires support for document level locking
Branch: master
https://github.com/mongodb/mongo/commit/322f541cd162e7f99249115a8debdaafb8a3dedb

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