[CSHARP-2548] ToString method in ServerDescription should include LastUpdateTimestamp Created: 15/Mar/19 Updated: 28/Oct/23 Resolved: 01/Apr/19 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Connectivity |
| Affects Version/s: | 2.8.0 |
| Fix Version/s: | 2.8.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Robert Stam | Assignee: | Dmitry Lukyanov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The ToString method of ServerDescription purposely omits some of the fields of the class in order to keep the string length reasonable. However, it would probably be helpful to include the LastUpdateTimestamp (at the very least when there is also a HeartbeatException). The value of LastUpdateTimestamp should indicate when the last heartbeat completed (either successfully or in error). Knowing how long ago the last heartbeat completed should be very helpful in diagnosing connectivity issues. |
| Comments |
| Comment by Githook User [ 12/Apr/19 ] |
|
Author: {'email': 'dmitry_lukyanov@epam.com', 'name': 'Dmitry Lukyanov', 'username': 'dmitry-lukyanov'}Message:
|
| Comment by Githook User [ 01/Apr/19 ] |
|
Author: {'email': 'dmitry_lukyanov@epam.com', 'name': 'Dmitry Lukyanov', 'username': 'dmitry-lukyanov'}Message:
|