[DOCS-15080] Investigate changes in SERVER-63201: Relax restriction of deletion ops in applyOps command. Created: 02/Feb/22  Updated: 13/Nov/23  Resolved: 10/Jan/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 5.3.0, 5.0.7, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Jeffrey Allen
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-63201 Relax restriction of deletion ops in ... Closed
Participants:
Days since reply: 1 year, 4 weeks, 1 day ago
Epic Link: DOCSP-15042

 Description   
Downstream Change Summary

null

Description of Linked Ticket

Problem Statement/Rationale

MongoDB doesn't allow deletion on capped collection. When Mongorestore performs restore with oplog replay, it should ignore the delete operation on the capped collection.  Otherwise, mongorestore will fail with the following error message:

Failed: restore error: error applying oplog: applyOps: (IllegalOperation) cannot remove from a capped collection: test.cappedColl

 ===========================================
After discussion
we think the server should relax the restriction on applyOps for deletion since what mongorestore does with applyOps is very much like the initial sync during replication.

 



 Comments   
Comment by Githook User [ 10/Jan/23 ]

Author:

{'name': 'Jeff Allen', 'email': 'jeffrey.allen@10gen.com', 'username': 'jeff-allen-mongo'}

Message: (DOCS-15080): Deletes allowed on capped collections (#2337)

  • (DOCS-15080): deletes allowed on capped collections
  • more updates
  • remove unused include
Comment by Githook User [ 10/Jan/23 ]

Author:

{'name': 'Jeff Allen', 'email': 'jeffrey.allen@10gen.com', 'username': 'jeff-allen-mongo'}

Message: (DOCS-15080): Deletes allowed on capped collections (#2333)

  • (DOCS-15080): deletes allowed on capped collections
  • more updates
  • remove unused include
Comment by Githook User [ 10/Jan/23 ]

Author:

{'name': 'Jeff Allen', 'email': 'jeffrey.allen@10gen.com', 'username': 'jeff-allen-mongo'}

Message: (DOCS-15080): Deletes allowed on capped collections (#2333)

  • (DOCS-15080): deletes allowed on capped collections
  • more updates
  • remove unused include
Comment by Josman Perez Exposito [ 06/Jan/23 ]

Hello team. I think we need to add this to the docs. There are customers getting confused by why now they can delete documents in a capped collection. i.e: https://www.mongodb.com/community/forums/t/confusion-about-deleting-documents-in-capped-collections/205495/2

Thanks

Comment by Jess Mokrzecki [ 07/Mar/22 ]

Fix Version updated for upstream SERVER-63201:
5.3.0, 5.0.7

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