Make dbCheck thead killable during dbCheck

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • v7.0, v6.0
    • Repl 2023-10-30
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Sean Zimmerman
            Reporter:
            Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: