[SERVER-30538] check that oplogTruncateAfterPoint is correct in PeriodicKillSecondaries hook Created: 07/Aug/17  Updated: 30/Oct/23  Resolved: 21/Dec/17

Status: Closed
Project: Core Server
Component/s: Replication, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.6.2, 3.7.1

Type: Improvement Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-29254 Move oplogDeleteFromPoint into its ow... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6
Sprint: Repl 2017-12-04, Repl 2017-12-18, Repl 2018-01-01
Participants:

 Description   

When we kill a secondary, we check some invariants in the minValid document. We should extend these to the oplogTruncateAfterPoint.



 Comments   
Comment by Githook User [ 02/Jan/18 ]

Author:

{'name': 'Judah Schvimer', 'username': 'judahschvimer', 'email': 'judah@mongodb.com'}

Message: SERVER-30538 PeriodicKillSecondaries hook should account for empty
oplog correctly

(cherry picked from commit 5610da9e3e13ec1bc7a092945acf15b0bb8b01b8)
Branch: v3.6
https://github.com/mongodb/mongo/commit/5d90a3e29d7dcf4230ed861a10afda56caeae399

Comment by Githook User [ 02/Jan/18 ]

Author:

{'name': 'Judah Schvimer', 'username': 'judahschvimer', 'email': 'judah@mongodb.com'}

Message: SERVER-30538 check that oplogTruncateAfterPoint is correct in PeriodicKillSecondaries hook

(cherry picked from commit a49b2786995be85da2a5967828f0e8aa91c92bff)
Branch: v3.6
https://github.com/mongodb/mongo/commit/df8ea88d2013bcf0b580e9bd1fdd20d6b8a3147f

Comment by Judah Schvimer [ 21/Dec/17 ]

The first two commits should be backported to v3.6, but the third (for the checkpointTimestamp) should not.

Comment by Githook User [ 21/Dec/17 ]

Author:

{'name': 'Judah Schvimer', 'email': 'judah@mongodb.com', 'username': 'judahschvimer'}

Message: SERVER-30538 check that checkpointTimestamp is correct in
PeriodicKillSecondaries hook
Branch: master
https://github.com/mongodb/mongo/commit/1038fbaffdbfc4390e3ae0a56b3cbb0dc6e2870e

Comment by Githook User [ 21/Dec/17 ]

Author:

{'name': 'Judah Schvimer', 'email': 'judah@mongodb.com', 'username': 'judahschvimer'}

Message: SERVER-30538 PeriodicKillSecondaries hook should account for empty
oplog correctly
Branch: master
https://github.com/mongodb/mongo/commit/5610da9e3e13ec1bc7a092945acf15b0bb8b01b8

Comment by Githook User [ 11/Dec/17 ]

Author:

{'name': 'Judah Schvimer', 'email': 'judah@mongodb.com', 'username': 'judahschvimer'}

Message: SERVER-30538 check that oplogTruncateAfterPoint is correct in PeriodicKillSecondaries hook
Branch: master
https://github.com/mongodb/mongo/commit/a49b2786995be85da2a5967828f0e8aa91c92bff

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