[SERVER-39229] Exit early upon successfully creating an OplogInterface::Iterator in roll_back_local_operations.cpp Created: 28/Jan/19  Updated: 06/Dec/22

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

Type: Improvement Priority: Major - P3
Reporter: Pavithra Vetriselvan Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Participants:

 Description   

During rollback, we create an OplogInterface::Iterator to find rollback operations. We want to retry in case of network errors, but we currently do not break out of the for-loop even if we successfully create an iterator. This can cause us to unnecessarily retry.


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