[SERVER-16122] PRIMARY down on sharded cluster - downtime Created: 13/Nov/14 Updated: 10/Apr/15 Resolved: 10/Apr/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.4.12, 2.6.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Przemek Wroblewski | Assignee: | Ramon Fernandez Marina |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Operating System: | ALL |
| Steps To Reproduce: | I can replicate this behaviour when running mongos on top of single replicaset (PRIMARY, SECONDARY, ARBITER), then I run simple ruby script (https://gist.github.com/lowang/5fc24c6e40b03a613d2b - using original mongo gem, with secondary_preferred) issuing 2 read queries per second to sharded collection. |
| Participants: |
| Description |
|
I've got downtime (read queries cannot complete) when PRIMARY is down in sharded cluster. |
| Comments |
| Comment by Ramon Fernandez Marina [ 01/Apr/15 ] |
|
lowang, we haven't heard back from you for a while. Is this still an issue for you? If yes, can you please follow up on Randolph's questions above? Thanks, |
| Comment by Randolph Tan [ 11/Mar/15 ] |
|
Hi, What kind of query are you performing? Is it a slave ok read or does it have a read preference other than PRIMARY? Thanks! |
| Comment by Przemek Wroblewski [ 26/Jan/15 ] |
|
I've uploaded logs to https://gist.github.com/lowang/f47ff1372728efc356d6 mongo -nodb ]} }); all logs were redirected to stdout and merged together. mongo Lowang-MacBook-Pro.local:31100 Higher priority made it primary after initialisation. Then I've paused remote instance on 15:12:45, since then my test script was only getting: |
| Comment by Ramon Fernandez Marina [ 23/Jan/15 ] |
|
Can you please upload logs from the mongos servers you're seeing this behavior from, as well as mongod logs for all the shards that contain a PRIMARY that's down? |