[SERVER-32098] Disallow operations on drop-pending collections through applyOps Created: 27/Nov/17  Updated: 30/Oct/23  Resolved: 29/Dec/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.6.2, 3.7.1

Type: Bug Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-32067 Able to rename drop-pending collectio... Closed
is duplicated by SERVER-32078 Creating collection with specific UUI... Closed
Related
is related to SERVER-32066 Inserting document to drop pending co... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2018-01-01
Participants:
Linked BF Score: 0

 Description   

The way to do this is to return an error. Whatever we do, backup service, mongorestore and mongomirror need to handle/know about it.



 Comments   
Comment by Githook User [ 03/Jan/18 ]

Author:

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

Message: SERVER-32098 rename applyOps drop collection test

(cherry picked from commit 8c1230eee9d3e86512a97fe94b084eb6655788f6)
Branch: v3.6
https://github.com/mongodb/mongo/commit/879db6231681408b5ca4bba8c49d2d5970986669

Comment by Githook User [ 03/Jan/18 ]

Author:

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

Message: SERVER-32098 converting a drop-pending collection to capped fails with NamespaceNotFound

(cherry picked from commit 8553157abc8bafbe02b8d8e01ad4836512a9798e)
Branch: v3.6
https://github.com/mongodb/mongo/commit/636183cb53abf0d39629b6eca8072957706b1f92

Comment by Githook User [ 03/Jan/18 ]

Author:

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

Message: SERVER-32098 add unit test for convertToCapped

(cherry picked from commit 0574fcecbf5427f14a5eae6389db0cdf266a5aa0)
Branch: v3.6
https://github.com/mongodb/mongo/commit/e6039b766f559c98b659d4661f85192d1b16ea0d

Comment by Githook User [ 03/Jan/18 ]

Author:

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

Message: SERVER-32098 renaming drop-pending collection fails with NamespaceNotFound

(cherry picked from commit 9fc948694d27b5ed78f713b026cb6e5661c95551)
Branch: v3.6
https://github.com/mongodb/mongo/commit/267bd0d12e415842e7cb2e61f6ab768f0acf5875

Comment by Githook User [ 03/Jan/18 ]

Author:

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

Message: SERVER-32098 collection creation using applyOps with UUID on drop-pending collection returns NamespaceExists

(cherry picked from commit bd607a44df63366eff3e94706eed1da0a5793888)
Branch: v3.6
https://github.com/mongodb/mongo/commit/fbcdbf992957325cd397300bc3750a1a0499d2e7

Comment by Githook User [ 03/Jan/18 ]

Author:

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

Message: SERVER-32098 add unit test for createCollection

(cherry picked from commit 7947bedbe40e0b6514467823c11a8dd2545c0e45)
Branch: v3.6
https://github.com/mongodb/mongo/commit/0bf706923412fd9f108f52baed2933ce356c1664

Comment by Githook User [ 03/Jan/18 ]

Author:

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

Message: SERVER-32098 add renameCollectionForRollback.hbde

(cherry picked from commit a75da32f4a724332ead01423721937693a6bdbbe)
Branch: v3.6
https://github.com/mongodb/mongo/commit/5fdc7621e137be9f0996d7b800c183d4f9446700

Comment by Githook User [ 29/Dec/17 ]

Author:

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

Message: SERVER-32098 rename applyOps drop collection test
Branch: master
https://github.com/mongodb/mongo/commit/8c1230eee9d3e86512a97fe94b084eb6655788f6

Comment by Githook User [ 29/Dec/17 ]

Author:

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

Message: SERVER-32098 converting a drop-pending collection to capped fails with NamespaceNotFound
Branch: master
https://github.com/mongodb/mongo/commit/8553157abc8bafbe02b8d8e01ad4836512a9798e

Comment by Githook User [ 29/Dec/17 ]

Author:

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

Message: SERVER-32098 add unit test for convertToCapped
Branch: master
https://github.com/mongodb/mongo/commit/0574fcecbf5427f14a5eae6389db0cdf266a5aa0

Comment by Githook User [ 29/Dec/17 ]

Author:

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

Message: SERVER-32098 renaming drop-pending collection fails with NamespaceNotFound
Branch: master
https://github.com/mongodb/mongo/commit/9fc948694d27b5ed78f713b026cb6e5661c95551

Comment by Githook User [ 28/Dec/17 ]

Author:

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

Message: SERVER-32098 collection creation using applyOps with UUID on drop-pending collection returns NamespaceExists
Branch: master
https://github.com/mongodb/mongo/commit/bd607a44df63366eff3e94706eed1da0a5793888

Comment by Githook User [ 28/Dec/17 ]

Author:

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

Message: SERVER-32098 add unit test for createCollection
Branch: master
https://github.com/mongodb/mongo/commit/7947bedbe40e0b6514467823c11a8dd2545c0e45

Comment by Githook User [ 22/Dec/17 ]

Author:

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

Message: SERVER-32098 add renameCollectionForRollback.hbde
Branch: master
https://github.com/mongodb/mongo/commit/a75da32f4a724332ead01423721937693a6bdbbe

Generated at Thu Feb 08 04:29:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.