Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10733

DistributedLock::unlock() can rarely throw

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • ALL

      The constructor for Scopeddbconnection is not exception-safe, and will throw if the pool is empty and a new connection can't be created. Wrap this error for DistributedLock::unlock(), since it is used in the destructor of scoped objects.

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: