Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2555

Update clusterTime from handshake replies

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.10.0
    • Affects Version/s: 1.8.0
    • Component/s: libmongoc
    • None
    • Fully Compatible

      It would be nice if, when we receive a clusterTime in an ismaster response while handshaking a connection, we update the client's clusterTime with that value.

      Update _mongoc_topology_update_no_lock:

          _mongoc_topology_update_cluster_time (
            topology, &topology->description.cluster_time);
      

      Possibly fixed when we refactored recently?

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: