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

XMLWordPrintableJSON

    • Minor Change
    • v7.0
    • Repl 2023-10-02
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              Moustafa Maher
              Reporter:
              Xuerui Fa
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: