[SERVER-33663] Create setParameter to control creation of rollback data files Created: 05/Mar/18  Updated: 29/Oct/23  Resolved: 07/Mar/18

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

Type: Task Priority: Major - P3
Reporter: Kyle Suarez Assignee: Kyle Suarez
Resolution: Fixed Votes: 0
Labels: rollback-non-functional
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-11698 Docs for SERVER-33663: Create setPara... Closed
Related
is related to SERVER-29051 RollbackImpl should create rollback d... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-03-12
Participants:

 Description   

During rollback, replication writes out data files that contain documents that will be deleted after rollback completes. This means that the time it takes to execute a rollback scales linearly with the amount of data that has been inserted after the common point.

There may be cases when a user might not care about these deleted documents and simply want rollback to execute as fast as possible. We can add a startup-only setParameter that controls whether or not these rollback data files will be created or not; the default behavior will be to always write out data files.



 Comments   
Comment by Githook User [ 07/Mar/18 ]

Author:

{'email': 'kyle.suarez@mongodb.com', 'name': 'Kyle Suarez', 'username': 'ksuarz'}

Message: SERVER-33663 create parameter to control rollback data file creation

Users can suppress the creation of rollback data files by setting the
'createRollbackDataFiles' setParameter to false.
Branch: master
https://github.com/mongodb/mongo/commit/86e1b61020ebe8c9490bce56b26b8037581a9c72

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