[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. |