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

Make dbCheck thead killable during dbCheck

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL
    • v7.0, v6.0
    • Repl 2023-10-30

    Description

      As part of dbCheck we need to enforce prepare conflicts for correctness purposes. When hitting a prepare conflict we have an invariant that a thread which hits a prepare conflict must be killable.

      We normally keep oplog applier threads unkillable, but when dbCheck is running on the oplog applier thread it must be made killable for the duration in case a prepare conflict is hit.

      This should be safe since no other operations can run on the thread while dbCheck is active

      Attachments

        Activity

          People

            sean.zimmerman@mongodb.com Sean Zimmerman
            sean.zimmerman@mongodb.com Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: