Remove TempRelease

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Execution Team 2021-11-15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should consider removing the TempRelease RAII type. It is a bug-prone construct that should be replaced by explicit RAII lock acquisitions and releases.

      The usage in oplog.cpp is no longer necessary because two-phase index builds do not allow this behavior in steady-state replication.

      The usage in drop_database.cpp is no longer necessary, per the comment.

      The usages in cloner.cpp need to be evaluated.

              Assignee:
              Gabriel Marks
              Reporter:
              Louis Williams
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: