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

dbCheck log the same successful dataConsistency batches on every node in the replica set

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Minor Change
    • Repl 2023-10-02

      At the moment, dbCheck logs successful batches independently of other nodes. As a result, nodes may be logged different batches if their batchesProcessed values are different (i.e. after restart or after batch failure).

      For resumability, we would like to make use of health log output to find a resume point for dbCheck. In order to support this, we should log the same batch on every node. To do this, we can add a new flag in the batch oplog entry that tells secondaries to log this batch

            Assignee:
            m.maher@mongodb.com Moustafa Maher
            Reporter:
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: