[SERVER-39425] Lock acquisition timeout should always throw rather than fail silently with LOCK_TIMEOUT result Created: 07/Feb/19 Updated: 29/Oct/23 Resolved: 20/Feb/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.9 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Xiangyu Yao (Inactive) | Assignee: | Xiangyu Yao (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Storage NYC 2019-02-11, Storage NYC 2019-02-25 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
However, the contract of lock acquisition is not very clear right now:
This ticket is to try to simplify the contract so that it always throw an exception. |
| Comments |
| Comment by Githook User [ 20/Feb/19 ] |
|
Author: {'name': 'Xiangyu Yao', 'username': 'xy24', 'email': 'xiangyu.yao@mongodb.com'}Message: Lock acquisition timeout should always throw exceptions rather than fail silently |