[SERVER-3895] Rolled-back inserts are not recorded in rollback file Created: 17/Sep/11  Updated: 20/Jul/21  Resolved: 19/Jul/21

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

Type: Improvement Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Vesselina Ratcheva (Inactive)
Resolution: Done Votes: 2
Labels: PM-842, former-quick-wins, rollback
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
Related
Sprint: Repl 2021-07-26
Participants:

 Description   

Currently only updated documents are recorded during a rollback. Insert operations are rolled back by deleting their documents, and are not recorded in a rollback file. Thus, they cannot be manually fixed when rollback data is merged to new primary. We could export a single bson file which lists the deleted documents (namespace + _id) in another file.

_Deleted_<ts>.bson:
{_id:ObjectId, ns:<ns>, deleted_id: <id>}



 Comments   
Comment by Vesselina Ratcheva (Inactive) [ 19/Jul/21 ]

Closing as this feature already exists.

Comment by Judah Schvimer [ 06/Jan/20 ]

Re-opening since "Rollback File Improvements" has not been scoped yet. I'm keeping it in that project to ensure we consider this as an improvement.

Comment by Judah Schvimer [ 03/Jan/20 ]

Closing "Won't Fix". Any improvements to rollback files will occur in the "Rollback File Improvements" (PM-1011) project.

Comment by Spencer Brody (Inactive) [ 16/Feb/17 ]

Something to consider for the recoverable rollback project if it turns out to be easy and/or there's extra time, though the project was scoped without any change to the rollback file behavior and this should not be considered a requirement for completing the project.

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