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

Change DistLockCatalogImpl::unlock to return a Status result

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • Fully Compatible
    • Sharding 15 (06/03/16)

    Description

      The balancer will need to unlock a distributed lock and immediately know whether it succeeded or not. ReplSetDistLockManager::unlock returns void, and queues the unlock to retry if it does not immediately work for some reason.

      Change ReplSetDistLockManager::unlock to return a Status result on the success of the unlock.

      Attachments

        Issue Links

          Activity

            People

              dianna.hohensee@mongodb.com Dianna Hohensee
              dianna.hohensee@mongodb.com Dianna Hohensee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: