[SERVER-24351] Change DistLockCatalogImpl::unlock to return a Status result Created: 01/Jun/16 Updated: 13/Jul/16 Resolved: 02/Jun/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Dianna Hohensee (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Sharding 15 (06/03/16) | ||||||||
| Participants: | |||||||||
| 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. |