Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-4585

Add WT_WITH_HOTBACKUP_LOCK macro

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

      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@mongodb.com Alex Cameron (Inactive)
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: