[CSHARP-1227] Connection to replicaset, RequestHeartbeat error Created: 01/Apr/15 Updated: 02/Apr/16 Resolved: 02/Apr/15 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Connectivity |
| Affects Version/s: | 2.0 |
| Fix Version/s: | 2.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Rob Koenis | Assignee: | Craig Wilson |
| Resolution: | Done | Votes: | 0 |
| Labels: | rc | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Server, Windows 2012 R2 running our framework in IIS. |
||
| Attachments: |
|
| Description |
|
The driver crashes with the following error: An unhandled exception occurred and the process was terminated. StackTrace: at MongoDB.Driver.Core.Servers.ClusterableServer.ThrowIfDisposed() We are getting this error in our daily performance tests sometimes. We also run the same test on a single mongo instance. This never gives any problem. When our framework starts in gets a client and database class. |
| Comments |
| Comment by Craig Wilson [ 03/Apr/15 ] |
|
Thanks so much, Rob, for the confirmation. Please re-open if it comes back again. |
| Comment by Rob Koenis [ 03/Apr/15 ] |
|
I have not found any problems with the latest master. Thanks for the quick response. |
| Comment by Rob Koenis [ 02/Apr/15 ] |
|
I did have the error last night again in our daily performance test (running the 'old' 2.0 drivers). I'm now running tests with the latest Master. |
| Comment by Craig Wilson [ 01/Apr/15 ] |
|
Rob... I didn't see anything odd in your logs or any particular reason you would be hitting this, but in the course of investigating, we found a race condition that was possible and presented the same stack trace you are seeing. This has been pushed to master. If you're able, it would be tremendous if you could pull master, build it, and see if this fixes your problem. If not, I totally understand. Thanks, |
| Comment by Githook User [ 01/Apr/15 ] |
|
Author: {u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |
| Comment by Rob Koenis [ 01/Apr/15 ] |
|
set1:PRIMARY> rs.config() }, }, }, }, } |
| Comment by Rob Koenis [ 01/Apr/15 ] |
|
I have attached the server logs. The connection string used (username/password are changed): 2 databases are used in the tests, querystore and streamstore. Every performance test they are recreated. set1:PRIMARY> rs.status() , , { "_id" : 3, "name" : "10.0.0.10:27018", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "uptime" : 177917, "optime" : Timestamp(1427882148, 516), "optimeDate" : ISODate("2015-04-01T09:55:48Z"), "electionTime" : Timestamp(1427716586, 1), "electionDate" : ISODate("2015-03-30T11:56:26Z"), "configVersion" : 199311, "self" : true } ], |
| Comment by Rob Koenis [ 01/Apr/15 ] |
|
Logs from the mongo servers added to issue |
| Comment by Craig Wilson [ 01/Apr/15 ] |
|
Hi Rob, First of all, thanks for using the new driver. It truly helps us put out a better product when it's tested... Second, I need some more information. 1. Could you provide your connection string or in-code configuration? If you are uncomfortable providing any of this publicly, we can move this to a private ticket. Thanks, |