[SERVER-19950] db.serverStatus({repl:1}) hangs indefinitely Created: 14/Aug/15 Updated: 19/Sep/15 Resolved: 21/Aug/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 3.1.6 |
| Fix Version/s: | 3.1.8 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Allison Reinheimer Moore | Assignee: | Scott Hernandez (Inactive) |
| 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 | ||||||||
| Steps To Reproduce: | 1. Make a replica set. ) |
||||||||
| Sprint: | RPL 8 08/31/15 | ||||||||
| Participants: | |||||||||
| Description |
|
I've been attempting to run db.serverStatus({repl:1}) as part of mattd@10gen.com suggested I should file a ticket. This happens on both Amazon Linux and OS X. |
| Comments |
| Comment by Githook User [ 21/Aug/15 ] |
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: ) |
| Comment by Eric Milkie [ 14/Aug/15 ] |
|
Looks like we are calling isV1ElectionProtocol() in appendSlaveInfoData() with the mutex already locked, so it's a self-deadlock. Line 1579 of replication_coordinator_impl.cpp. We should make a test that exercises this part of serverStatus as well. |
| Comment by Eric Milkie [ 14/Aug/15 ] |
|
It seems to hang my mongod when I try it. Looks like a deadlock in replication. |