[SERVER-15929] Verify rollback files are written without errors Created: 03/Nov/14  Updated: 25/Jan/17  Resolved: 25/Sep/15

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

Type: Improvement Priority: Minor - P4
Reporter: Angshuman Bagchi (Inactive) Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: rollback
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-16841 rollback could exhaust all free file ... Closed
related to SERVER-20597 Save data that is rolled back to the ... Closed
Backwards Compatibility: Fully Compatible
Sprint: RPL A (10/09/15)
Participants:

 Description   

When writing rollback files, the status of the rollback file creation is checked and if it fails, the operation is aborted. However, the return status of the write call is not checked. So it's possible that if the disk were full or otherwise unavailable, errors would be masked.



 Comments   
Comment by Githook User [ 25/Sep/15 ]

Author:

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

Message: SERVER-15929 rollback should abort if we fail to write documents to remove saver files
Branch: master
https://github.com/mongodb/mongo/commit/b4d26bf06a075d6345a9571f726c348ae1e11174

Comment by Githook User [ 25/Sep/15 ]

Author:

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

Message: SERVER-15929 RemoveSaver::goingToDelete() returns error status if it fails to open file or write document to file
Branch: master
https://github.com/mongodb/mongo/commit/db6396298c7747060c822f6b22e35a08fc847a01

Comment by Githook User [ 25/Sep/15 ]

Author:

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

Message: SERVER-15929 fixed misleading error code in StorageEngineMetadata::write()
Branch: master
https://github.com/mongodb/mongo/commit/a2e4770b90d0cc29375e3a2975010fc98e95a167

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