[SERVER-27982] Unnecessary loop in RSDataSync Created: 13/Feb/17 Updated: 24/Oct/17 Resolved: 24/Oct/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Judah Schvimer | Assignee: | Judah Schvimer |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
Currently RSDataSync calls SyncTail::oplogApplication() in a loop. SyncTail::oplogApplication() only terminates when BackgroundSync is shut down, and at that point it will never reenter the loop. This code is unnecessarily confusing and misleading, though this is not a correctness bug. |