[CSHARP-1752] Driver never recovers connection to replica set Created: 25/Aug/16 Updated: 12/Jan/18 Resolved: 12/Jan/18 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Connectivity |
| Affects Version/s: | 2.2.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Bruno Garcia | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
I'm having an issue where an application connected to a replica set (connection string has the 3 nodes) doesn't restore the connection after all nodes went down. To reproduce the problem I wrote a console app that runs a rs.status every 500ms. The code used: https://gist.github.com/bruno-garcia/5b9c2e517dca419a018bff82c340fb24 The output of rs.status(), console app and stacktrace are here: https://gist.github.com/bruno-garcia/d4509174d030b0a4db538e0b10c83388 |
| Comments |
| Comment by Robert Stam [ 12/Jan/18 ] |
|
Linking to |
| Comment by Bruno Garcia [ 09/Nov/16 ] |
|
Hi Craig, All machines have their clock synchronized. The same NTP server is used by all nodes here. Thanks in advance, Bruno |
| Comment by Craig Wilson [ 04/Nov/16 ] |
|
Hi Bruno, Sorry for the very late reply. We've seen this come up recently with some other drivers and was wondering if you could check the clock on each of your servers. We'd like to know if there is a large clock skew involved. Craig |