Add lastWritten opTime to replication heartbeat responses

XMLWordPrintableJSON

    • Replication
    • Fully Compatible
    • Repl 2024-01-22, Repl 2024-02-05
    • 157
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket should add lastWritten to the heartbeat responses and the receiver should be able to parse it correctly. The code for receiver to actually use this opTime will be done in a separate ticket.

      Related code paths:

      • TopologyCoordinator::prepareHeartbeatResponseV1
      • ReplSetHeartbeatResponse::initialize

            Assignee:
            Kishore Devireddy
            Reporter:
            Wenbin Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: