[SERVER-41387] Create a test that ensures the oplogTruncateAfterPoint will correctly clear writes on startup after a primary restarts Created: 30/May/19  Updated: 29/Oct/23  Resolved: 26/Feb/20

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

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

Issue Links:
Depends
depends on SERVER-44555 Implement replicate before journaling Closed
Related
related to SERVER-59150 non_durable_writes_on_primary_can_rea... Closed
related to SERVER-41392 Modify the _oplogJournalThreadLoop() ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-01-13, Execution Team 2020-01-27, Execution Team 2020-02-10, Execution Team 2020-02-24, Execution Team 2020-03-09
Participants:

 Description   

Write a test that kills the primary while a write is still uncommitted (using a failpoint) with a timestamp prior to a committed write. Ensure that when the node is restarted, the recovery process does not resurrect the committed write.



 Comments   
Comment by Githook User [ 27/Feb/20 ]

Author:

{'name': 'Dianna Hohensee', 'username': 'DiannaHohensee', 'email': 'dianna.hohensee@mongodb.com'}

Message: SERVER-41386 Test that the replica set's majority commit point can move forward because of secondaries without primary durable writes

SERVER-41387 Test that oplogTruncateAfterPoint will clear oplog holes during startup recovery
after primary crash

create mode 100644 jstests/noPassthrough/non_durable_writes_on_primary_can_reach_majority.js
create mode 100644 jstests/noPassthrough/startup_recovery_truncates_oplog_holes_after_primary_crash.js
Branch: master
https://github.com/mongodb/mongo/commit/3a59e217a4b34234acbd6a404f98276a87435ee0

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