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

ToString method in ServerDescription should include LastUpdateTimestamp

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.8.1
    • 2.8.0
    • Connectivity
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: