[SERVER-15881] ReplCoordinatorImpl invokes forwardSlaveProgress unnecessarily while primary Created: 30/Oct/14 Updated: 19/Nov/14 Resolved: 30/Oct/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 2.8.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Forwarding slave progress has the effect of waking up the sync source feedback thread, but when a node is primary, it has no sync source and so doesn't need to wake up that thread. Doing it leads to extra context switching and unproductive code execution, which can slow down heavily loaded nodes. |
| Comments |
| Comment by Githook User [ 30/Oct/14 ] |
|
Author: {u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@mongodb.com'}Message: |