Validate correct lifetimes of ControlBlockContainer/ControlBlockRange objects

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As part of SERVER-116337, an issue was fixed where the binary_reopen_test would catch errors with the lifetime of an iterator exceeding the lifetime of the underlying container. This could be seen when running:

      bazel test --config=dbg --use_glibcxx_debug=True +binary_reopen_test

      As a follow-up, we should validate that there is no potential for misuse of the iterator(s) stored in ControlBlockRange, and if necessary, make changes to the ownership of these objects to avoid potential misuse.

            Assignee:
            Unassigned
            Reporter:
            Alex Sarkesian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: