Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30926

Add timestamps to writes to minvalid document

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.1
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • Repl 2017-12-04, Repl 2017-12-18

      Writes to the minValid document need to be timestamped so that they don't persist after a call to recoverToStableTimestamp. During secondary batch application there are 2 main writes to the minvalid collection that are relevant: one that sets the minValid to the end of the batch and another that sets the appliedThrough to the end of the batch. Both those writes should be given the timestamp of the end of the batch, so that if we recover to a time before the batch the writes will be undone.

            Assignee:
            judah.schvimer@mongodb.com Judah Schvimer
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: