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

Add WT_WITH_HOTBACKUP_LOCK macro

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: