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

ToString method in ServerDescription should include LastUpdateTimestamp

    XMLWordPrintable

    Details

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

      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.

        Attachments

          Activity

            People

            Assignee:
            dmitry.lukyanov Dmitry Lukyanov
            Reporter:
            rstam Robert Stam
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: