[SERVER-23939] replSetInitiate hangs when running in queryableBackupMode mode instead of returning an error Created: 26/Apr/16 Updated: 27/Apr/16 Resolved: 27/Apr/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 3.3.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Eric Milkie |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
yaml file:
mongod parameters:
shell command:
full logs:
Based on the gdb stacktrace, it looks like it is waiting here: And there appears to be no other thread doing any work that will signal the condition variable. |
| Comments |
| Comment by Eric Milkie [ 27/Apr/16 ] |
|
You can but you have to be in config server mode for that to work, which I believe also precludes queryableBackupMode. |
| Comment by Randolph Tan [ 27/Apr/16 ] |
|
scotthernandez told me that it's possible to call rs.initiate even without --replSet. So, it looks like it is still possible to run into this |
| Comment by Eric Milkie [ 27/Apr/16 ] |
|
This issue will go away once the linked ticket is fixed. You're not supposed to be able to start a replset server in queryableBackupMode. |
| Comment by Eric Milkie [ 26/Apr/16 ] |
|
I'll check with the integration team about what the expectations are regarding the combination of parameters. |
| Comment by Eric Milkie [ 26/Apr/16 ] |
|
Yes, it should be an error. I think the problem is that it is not. |
| Comment by Scott Hernandez (Inactive) [ 26/Apr/16 ] |
|
Shouldn't this be an error, or not be allowed to mix these options at all (in that you can't run a replica set member with the queryableBackupMode)? |