[SERVER-57752] Test terminating mongod during a clean shutdown checkpoint Created: 16/Jun/21  Updated: 29/Oct/23  Resolved: 23/Jun/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc7, 4.4.9, 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: CA-PM, post-mortem
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-60636 Create a passthrough suite to termina... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0, v4.4
Sprint: Execution Team 2021-06-28
Participants:
Linked BF Score: 135

 Description   

As part of a clean shutdown, WiredTiger takes a final checkpoint. Terminating mongod during this process results in an unclean shutdown. During startup recovery, WiredTiger will use the last successful checkpoint taken and replay any journal files. Replication recovery will replay any operations beyond the stable timestamp from the oplog.

This test would verify that startup recovery works as designed following an unclean shutdown during the closing checkpoint.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 20/Aug/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-57752 Archive data files for terminate_during_shutdown_checkpoint.js

(cherry picked from commit 8e18be404a23c90055e42658550b5b366e1422f5)
(cherry picked from commit 8c11a9d7c59a156619ba387be14eb584f979442a)
Branch: v4.4
https://github.com/mongodb/mongo/commit/f14ddbe7ba60ad3d15485838ad4696c78de98ef4

Comment by Githook User [ 20/Aug/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-57752 Test terminating mongod during a clean shutdown checkpoint

(cherry picked from commit ce2ab3f91a1c7fc0876418b5f928638b9ac45231)
(cherry picked from commit c1b3e69482ec97c310bf6817994319d3ec678fe3)
Branch: v4.4
https://github.com/mongodb/mongo/commit/e419aa6b0137429dc1cc78a94d274ebd613983e2

Comment by Githook User [ 01/Jul/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-57752 Archive data files for terminate_during_shutdown_checkpoint.js

(cherry picked from commit 8e18be404a23c90055e42658550b5b366e1422f5)
Branch: v5.0
https://github.com/mongodb/mongo/commit/8c11a9d7c59a156619ba387be14eb584f979442a

Comment by Githook User [ 01/Jul/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-57752 Test terminating mongod during a clean shutdown checkpoint

(cherry picked from commit ce2ab3f91a1c7fc0876418b5f928638b9ac45231)
Branch: v5.0
https://github.com/mongodb/mongo/commit/c1b3e69482ec97c310bf6817994319d3ec678fe3

Comment by Githook User [ 23/Jun/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-57752 Archive data files for terminate_during_shutdown_checkpoint.js
Branch: master
https://github.com/mongodb/mongo/commit/8e18be404a23c90055e42658550b5b366e1422f5

Comment by Githook User [ 23/Jun/21 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-57752 Test terminating mongod during a clean shutdown checkpoint
Branch: master
https://github.com/mongodb/mongo/commit/ce2ab3f91a1c7fc0876418b5f928638b9ac45231

Generated at Thu Feb 08 05:42:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.