Add WT_WITH_HOTBACKUP_LOCK macro

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT3.2.0, 4.1.11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines 2019-03-25, Storage Engines 2019-04-08, Storage Engines 2019-04-22
    • 3

      In WT-4561 and WT-4577 there was discussion and issues regarding the hot backup lock and other locks. michael.cahill had a good suggestion:

      It seems like we could use a WT_WITH_HOTBACKUP_LOCK macro (along with a WT_SESSION_HOTBACKUP_LOCKED constant) that enforces this lock ordering the way we do for other locks?
      

      We should look into adding/using such a macro.

            Assignee:
            Alex Cameron (Inactive)
            Reporter:
            Susan LoVerso (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: