[CSHARP-2147] Add logging of heartbeat information and SDAM state transitions Created: 11/Jan/18  Updated: 28/Oct/23  Resolved: 10/Aug/18

Status: Closed
Project: C# Driver
Component/s: Connectivity
Affects Version/s: 2.5
Fix Version/s: 2.7.1

Type: Improvement Priority: Major - P3
Reporter: Robert Stam Assignee: Vincent Kam (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CSHARP-1538 Legacy Driver Connect() times out. Closed
Related
is related to CSHARP-1752 Driver never recovers connection to r... Closed
is related to CSHARP-1855 Upgrading from Mongo Legacy 1.11.0 to... Closed
is related to CSHARP-1663 MongoDB.Driver.Core.Clusters.Cluster... Closed
is related to CSHARP-2580 Add reference docs for SDAM logging Closed

 Description   

We occasionally get JIRA issues reporting suspicious connectivity issues. The errors look like connectivity issues but the reporters sometimes state that the server and network were healthy and that there should not have been any connectivity issues.

It would be helpful to log the heartbeat information and the SDAM state transitions to provide more visibility into exactly what is happening.



 Comments   
Comment by Githook User [ 07/Nov/18 ]

Author:

{'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}

Message: CSHARP-2147: Add missing dependency to MongoDB.Driver.Core.nuspec.
Branch: v2.7.x
https://github.com/mongodb/mongo-csharp-driver/commit/f233af1b7ed4e415c2d151699a7cc30977949167

Comment by Githook User [ 07/Nov/18 ]

Author:

{'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}

Message: CSHARP-2147: Add missing dependency to MongoDB.Driver.Core.nuspec.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/50268f5c9e49cabc130a53c3646426ef8522c2ce

Comment by Githook User [ 06/Nov/18 ]

Author:

{'name': 'vincentkam', 'email': 'vincent.kam@10gen.com', 'username': 'vincentkam'}

Message: CSHARP-2147: Add logging of heartbeat information and SDAM state transitions
Branch: v2.7.x
https://github.com/mongodb/mongo-csharp-driver/commit/81da63eb3ed0d2ec9f6c0ec75ffdac4e2aeccb25

Comment by Githook User [ 10/Aug/18 ]

Author:

{'name': 'vincentkam', 'email': 'vincent.kam@10gen.com', 'username': 'vincentkam'}

Message: CSHARP-2147: Add logging of heartbeat information and SDAM state transitions
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/35280d5478d0f1128e77782b0c12aec6158489e4

Comment by Frank Zheng [ 12/Jul/18 ]

Please check my answer here:

https://stackoverflow.com/questions/38859755/system-timeoutexception-a-timeout-occured-after-30000ms-selecting-a-server-usin/51281357#51281357

 

Generated at Wed Feb 07 21:41:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.