Session reference count could be wrong if adding the handle fails

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • WT2.8.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None

      Found by inspection and very unlikely in real world.

      If the call to __session_add_dhandle in __session_get_dhandle returns an error, we will have retrieved the handle and bumped the session_ref count, the reference count won't be decremented.

      The code in __session_get_dhandle should cleanup on error.

            Assignee:
            Alexander Gorrod
            Reporter:
            Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: