Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
Description
When we receive a replSetUpdatePositionCommand, it can contain progress updates for multiple nodes. We loop and call setLastOptime for each node with an update. Currently setLastOptime calls forwardSlaveProgress each time, potentially triggering more network round trips than necessary. Instead we should process all the updates, then call forwardSlaveProgress once at the end so we send one update with the information about all members