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

ServerDescription LastUpdateTimestamp is not always set correctly

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 2.8.1
    • 2.8.0
    • Connectivity
    • None

    Description

      The ServerDescription class has a LastUpdateTimestamp that is intended to track the time at which this ServerDescription was created. It can therefore be used to determine how stale the ServerDescription is (i.e. how long ago it was created).

       

      Looking at the code it appears that LastUpdateTimestamp is not always set correctly (for example: in the With and WithHeartbeatException methods ServerDescription).

      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: