[DOCS-12328] Docs for SERVER-38769: rollback should not write rollback files or reconcile collection counts for drop-pending idents Created: 07/Jan/19  Updated: 13/Nov/23  Resolved: 06/Aug/19

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

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

Issue Links:
Documented
documents SERVER-38769 rollback should not write rollback fi... Closed
Participants:
Days since reply: 4 years, 27 weeks, 1 day ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

Description

Description:

The work proposed in this ticket removes the rollback data for documents/collections removed during the rollback process:

https://docs.mongodb.com/manual/core/replica-set-rollbacks/#collect-rollback-data

Engineering Ticket Description:

When a collection is dropped using the new drop-pending ident method in the KV storage engine, the collection is no longer visible to the rollback algorithm for estimating collection counts or writing rollback data files. The collection count will eventually be corrected during the replication recovery phase which is part of the rollback algorithm. For the rollback data file, it may be possible to provide access to the drop-pending ident through the storage engine interface but this is not in scope for the current work item in this ticket.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Kay Kim (Inactive) [ 06/Aug/19 ]

The behavior is same for drop-pending idents or others.  So, using this not as 4.2 specific but general rollback behavior.

 

https://github.com/mongodb/mongo/blob/fe4ca9897f8b8e91dc82fc15250e287da68cc83f/src/mongo/db/repl/rollback_impl.cpp#L764

Comment by Githook User [ 06/Aug/19 ]

Author:

{'name': 'Kay Kim', 'username': 'kay-kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-12328: rollback data and delete/dropcollection operations
Branch: v4.0
https://github.com/mongodb/docs/commit/52f45f4981457bb99f5c8d5f69082d55345a7815

Comment by Githook User [ 06/Aug/19 ]

Author:

{'name': 'Kay Kim', 'username': 'kay-kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-12328: rollback data and delete/dropcollection operations
Branch: master
https://github.com/mongodb/docs/commit/7daea548765804111505c011c8393fb4859fef2a

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