Fix a race condition between checkpoint and stepping up

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT12.0.0, 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: Checkpoints
    • None
    • Storage Engines, Storage Engines - Persistence
    • None
    • None

      There might be a possible race condition between a node stepping up and a checkpoint, because conn->layered_table_manager.leader is set without the checkpoint lock. Changing this variable while a checkpoint is running could result in inconsistent behavior.

      We don't have empirical evidence for this race condition; it was just discovered by code reading.

            Assignee:
            Peter Macko
            Reporter:
            Peter Macko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: