[SERVER-60523] Standalone fixture incorrectly handles directory creation exceptions Created: 07/Oct/21  Updated: 29/Oct/23  Resolved: 09/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0, 5.0.4, 5.1.0-rc1

Type: Bug Priority: Major - P3
Reporter: Richard Samuels (Inactive) Assignee: Richard Samuels (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.1, v5.0
Sprint: STM 2021-10-18
Participants:
Linked BF Score: 0
Story Points: 0

 Description   

Here we remake the dbpath after deleting it, but we catch os.error, instead of using exist_ok=True. This might be masking other issues



 Comments   
Comment by Githook User [ 09/Oct/21 ]

Author:

{'name': 'Richard Samuels', 'email': 'richard.l.samuels@gmail.com', 'username': 'richardsamuels'}

Message: SERVER-60523 Standalone fixture incorrectly handles directory creation exceptions

(cherry picked from commit d5010cf9e5b712f96c1a2c6539e303687b202f8a)
Branch: v5.1
https://github.com/mongodb/mongo/commit/c83d89bef13f8ddfeda2a5336fec287c590b5c37

Comment by Githook User [ 09/Oct/21 ]

Author:

{'name': 'Richard Samuels', 'email': 'richard.l.samuels@gmail.com', 'username': 'richardsamuels'}

Message: SERVER-60523 Standalone fixture incorrectly handles directory creation exceptions

(cherry picked from commit d5010cf9e5b712f96c1a2c6539e303687b202f8a)
Branch: v5.0
https://github.com/mongodb/mongo/commit/127f9b95187126c7b7b2281817c4d6fb24ff2df6

Comment by Githook User [ 07/Oct/21 ]

Author:

{'name': 'Richard Samuels', 'email': 'richard.l.samuels@gmail.com', 'username': 'richardsamuels'}

Message: SERVER-60523 Standalone fixture incorrectly handles directory creation exceptions
Branch: master
https://github.com/mongodb/mongo/commit/d5010cf9e5b712f96c1a2c6539e303687b202f8a

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