[SERVER-48093] update plan_cache_drop_database.js for new locking Created: 11/May/20  Updated: 29/Oct/23  Resolved: 15/May/20

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

Type: Bug Priority: Major - P3
Reporter: Eric Milkie 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-46770 map_reduce_drop.js should catch Datab... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Execution Team 2020-05-18
Participants:
Linked BF Score: 36

 Description   

This test assumes that creating a collection while its containing database is being dropped will not return an error. Locking changes have recently made this operation return an error:

Cannot create collection test6_fsmdb0plan_cache_drop_database.fsmcoll0 - database is in the process of being dropped. 



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

Author:

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

Message: SERVER-48093 plan_cache_drop_database.js should catch DatabaseDropPending errors

(cherry picked from commit 285193c88f485e4786d27e27b84658fffb988479)
Branch: v4.4
https://github.com/mongodb/mongo/commit/f8d76bbd0f28309fc2607c8d36aeb843d88087a7

Comment by Githook User [ 15/May/20 ]

Author:

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

Message: SERVER-48093 plan_cache_drop_database.js should catch DatabaseDropPending errors
Branch: master
https://github.com/mongodb/mongo/commit/285193c88f485e4786d27e27b84658fffb988479

Comment by Benety Goh [ 14/May/20 ]

A similar fix was applied in SERVER-46770.

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