[SERVER-55904] Consolidate getFirstOplogEntry and getLeastRecentOp helpers Created: 08/Apr/21  Updated: 29/Oct/23  Resolved: 12/Apr/21

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

Type: Bug Priority: Major - P3
Reporter: Hana Pearlman Assignee: Hana Pearlman
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Participants:
Linked BF Score: 38

 Description   

There are two helpers in rslib to get the first/least recent oplog entry. One of them retries on CappedPositionLost errors and the other does not. This change will help resolve some BF's caused by tests using the helper that does not retry on CappedPositionLost .



 Comments   
Comment by Githook User [ 23/Sep/21 ]

Author:

{'name': 'Hana Pearlman', 'email': 'hana.pearlman@mongodb.com', 'username': 'HanaPearlman'}

Message: SERVER-55904: Consolidate getFirstOplogEntry and getLeastRecentOp helpers
Branch: v4.4
https://github.com/mongodb/mongo/commit/3e22135e6be46b70ac466c3783fbcf3cc0084ded

Comment by Githook User [ 09/Apr/21 ]

Author:

{'name': 'Hana Pearlman', 'email': 'hana.pearlman@mongodb.com'}

Message: SERVER-55904: Consolidate getFirstOplogEntry and getLeastRecentOp helpers
Branch: master
https://github.com/mongodb/mongo/commit/08a3670941791e132aac71298c94d35b9c8ecc25

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