Opening a backup cursor can be blocked by checkpoints while holding RSTL

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines, Storage Engines - Server Integration
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      After we acquire the RSTL, we will beginNonBlockingBackup which tries to open a backup cursor. The backup cursor needs exclusive access to the hot_backup_lock which is also held when taking checkpoints. If there is a long running checkpoint, the thread trying to open the backup cursor will stall.

      This can be a problem if the node needs to stepdown because it is still holding the RSTL, which will lead to the node crashing from this fassert.

            Assignee:
            Unassigned
            Reporter:
            Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: