Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2548

ToString method in ServerDescription should include LastUpdateTimestamp

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.1
    • Affects Version/s: 2.8.0
    • Component/s: Connectivity
    • Labels:
      None

      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.

            Assignee:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: