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

ServerDescription LastUpdateTimestamp is not always set correctly

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

      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).

            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: