[CSHARP-405] Switchover didn't work for simple replica set Created: 23/Feb/12 Updated: 07/Apr/23 Resolved: 11/Jun/12 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | chris rozacki | Assignee: | Robert Stam |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 7, x64 |
||
| Backwards Compatibility: | Fully Compatible |
| Description |
|
Primary and secondary, secondary is down. Primary goes down and driver tries to switch to secondary. After one minute the primary comes back. I got error (possibly from the driver) which unfortunately didn't log. However driver didn't switch back to the up and running primary. Do you think there should be done a little bit more to establish connection with replica by trying to come back to the primary when secondary is down? At the time out primary's outage the driver knows that the secondary was down. |
| Comments |
| Comment by Robert Stam [ 11/Jun/12 ] |
|
We are unable to duplicate this. If you have additional information that would allow us to duplicate this please reopen the ticket. |
| Comment by Robert Stam [ 23/Feb/12 ] |
|
Also, what version of the C# driver are you using? |
| Comment by Robert Stam [ 23/Feb/12 ] |
|
What is the size of your replica set? What is the error message you are getting? Can you provide a stack trace? Can you define "primary goes down"? Are you killing the process or running rs.stepDown()? Given a bit more information I can try to reproduce. We have tested scenarios like this before without problems, but perhaps something is different about your scenario. |