[SERVER-57729] Cannot drop time-series collection if buckets collection does not exist Created: 15/Jun/21  Updated: 29/Oct/23  Resolved: 14/Jul/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.2, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Gregory Noma Assignee: Luke Bhan (Inactive)
Resolution: Fixed Votes: 0
Labels: time-series
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.0
Sprint: Execution Team 2021-07-12, Execution Team 2021-07-26
Participants:
Linked BF Score: 40

 Description   

If I have a time-series collection test.ts and I manually drop the corresponding buckets collection test.system.buckets.ts, I would expect that I should still be able to drop test.ts. However, currently, attempting to do so results in a NamespaceNotFound error.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 28/Jul/21 ]

Author:

{'name': 'lukebhan', 'email': 'luke.bhan@vanderbilt.edu', 'username': 'lukebhan'}

Message: SERVER-57729 Fixed namespace error when dropping a collection

fixed linter

ts bucket fix

fixed test

Deleted empty line changed collection name

fixed test naming

(cherry picked from commit 2bcc9f7efcebb86928a84008f26cccb4843da040)
Branch: v5.0
https://github.com/mongodb/mongo/commit/b29131246ca7f24f1841436f34ba45c0d9df1540

Comment by Githook User [ 14/Jul/21 ]

Author:

{'name': 'lukebhan', 'email': 'luke.bhan@vanderbilt.edu', 'username': 'lukebhan'}

Message: SERVER-57729 Fixed namespace error when dropping a collection

fixed linter

ts bucket fix

fixed test

Deleted empty line changed collection name

fixed test naming
Branch: master
https://github.com/mongodb/mongo/commit/2bcc9f7efcebb86928a84008f26cccb4843da040

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