[SERVER-42995] Remove redundant SyncTail methods Created: 23/Aug/19  Updated: 29/Oct/23  Resolved: 13/Sep/19

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

Type: Improvement Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Mihai Andrei
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Minor Change
Sprint: Repl 2019-08-26, Repl 2019-09-09, Repl 2019-09-23
Participants:
Linked BF Score: 0

 Description   

The following private methods are thinly wrapped by public methods, they can be merged:

_oplogApplication (merge with oplogApplication, rename to _runLoop)

_applyOps

fillWriterVectors and _fillWriterVectors are in fact quite distinct, so we will rename them. Additionally, _fillWriterVectors is recursive unnecessarily, we will refactor it to avoid recursion.



 Comments   
Comment by Githook User [ 12/Sep/19 ]

Author:

{'email': 'mihai.andrei@mongodb.com', 'name': 'Mihai Andrei'}

Message: SERVER-42995 Remove redundant SyncTail methods
Branch: master
https://github.com/mongodb/mongo/commit/e7fa33abb338eda55653fe61665b5f17cc22b4d3

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