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

dbcheck_detects_data_corruption.js needs to wait for primary to log healthlog entry

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.1
    • None
    • None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • v7.0, v6.0
    • Execution Team 2023-05-29
    • 14

    Description

      The test waits for the secondary to log the "dbCheckStop" entry, but that is not enough to guarantee that the primary has logged its entry. This is because health log entries are written asynchronously with replicating the oplog entries.

      On slow machines, it could be possible to replicate the dbCheckStop oplog entry and have the secondary write to its healthlog before the primary.

      Attachments

        Activity

          People

            louis.williams@mongodb.com Louis Williams
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: