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

      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@mongodb.com Gabriel Marks
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: