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

Change DistLockCatalogImpl::unlock to return a Status result

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding 15 (06/03/16)

      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.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: