[SERVER-73934] Remove commandWorkedOrFailedWithCode(NamespaceNotFound) from drop_collection.js when 7.0 is last stable release in multi version testing Created: 13/Feb/23  Updated: 29/Oct/23  Resolved: 24/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

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

Issue Links:
Related
related to SERVER-43894 Make dropping a nonexistent collectio... Closed
is related to SERVER-60064 Make create command idempotent on mongod Closed
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2023-05-01
Participants:

 Description   

jstests/core/ddl/drop_collection.js must accept failed drop commands because pre-7.0 dropping a non-existent collection was an error. Starting in 7.0 the drop command returns OK.



 Comments   
Comment by Githook User [ 24/Apr/23 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}

Message: SERVER-73934 Remove commandWorkedOrFailedWithCode(NamespaceNotFound) from drop_collection.js now that 7.0 is last-stable
Branch: master
https://github.com/mongodb/mongo/commit/569c4670c3e4fef83d5c5cb6c797ffefdd6860db

Comment by Kaitlin Mahar [ 15/Feb/23 ]

We should also make this change in create_collection.js which gained some similar commandWorkedOrFailedWithCode(NamespaceNotFound) assertions via SERVER-60064.

Generated at Thu Feb 08 06:26:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.