[SERVER-47845] Remove obsolete code related to storing and updating stable optime candidates Created: 29/Apr/20  Updated: 29/Oct/23  Resolved: 17/Jul/20

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

Type: Task Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: William Schultz (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-47844 Update _setStableTimestampForStorage ... Closed
Related
related to SERVER-55305 Retryable write may execute more than... Closed
is related to SERVER-49732 Change _currentCommittedSnapshot to b... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-06-15, Repl 2020-06-29, Repl 2020-07-13, Repl 2020-07-27
Participants:

 Description   

Once we set the stable timestamp for storage without dependence on the stable optime candidates set, we can remove any obsolete/dead code related to storing and updating this set.



 Comments   
Comment by Githook User [ 17/Jul/20 ]

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-47845 Clean up structure and readability of stable optime calculation logic
Branch: master
https://github.com/mongodb/mongo/commit/9238911d0a46f26419ecdbec4293457b9e1a891d

Comment by Githook User [ 16/Jul/20 ]

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-47845 Remove usage of ReplicationCoordinator::DataConsistency type
Branch: master
https://github.com/mongodb/mongo/commit/ef0696ac5756af6817ea22904fad1e78f31e73fe

Comment by Githook User [ 14/Jul/20 ]

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-47845 Remove obsolete logic related to storing and updating the stable optime candidates list

This commit removes the now unused '_stableOpTimeCandidates' member variable and the '_chooseStableOpTimeFromCandidates' and '_cleanupStableOpTimeCandidates' methods, along with associated test methods, from ReplicationCoordinator.
Branch: master
https://github.com/mongodb/mongo/commit/4c0d9383a76c82c0e46ce8d82ed17d3687f12d8f

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