[SERVER-15915] Race condition between replication startup and initAndListen Created: 02/Nov/14 Updated: 19/Nov/14 Resolved: 03/Nov/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 2.7.8 |
| Fix Version/s: | 2.8.0-rc0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | John Esmet | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Steps To Reproduce: | Modify the server to sleep for one second after calling logStartup(), which should slow down the initAndListen thread sufficiently to lose a race with the ReplicationExecutor thread pool |
| Participants: |
| Description |
|
The ReplicationExecutor threadpool may try to do work before the initAndListen thread has reached the connection-accept loop, resulting in brief instability after a server restarts. Full discussion: https://groups.google.com/forum/#!topic/mongodb-dev/qiYE6oTK5qc |
| Comments |
| Comment by Githook User [ 03/Nov/14 ] |
|
Author: {u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}Message: |