[SERVER-15901] Cleanup unused locks on the lock manager Created: 31/Oct/14 Updated: 19/Sep/15 Resolved: 10/Apr/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.5, 3.1.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Geert Bosch |
| Resolution: | Done | 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 | ||||||||
| Backport Completed: | |||||||||
| Sprint: | Quint Iteration 3.1.1, Quint Iteration 3.1.2 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
Currently for performance reasons the LM does not garbage-collect or reuse locks with no requests on them. These eat up memory and need to be reclaimed periodically. |
| Comments |
| Comment by Githook User [ 14/Jul/15 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: (cherry-picked from 8e6e1d78c4c170384e024747737c94542f9f60d3) Conflicts: |
| Comment by Geert Bosch [ 19/Jun/15 ] |
|
We'll probably want to back port this to 3.0.x after |
| Comment by Githook User [ 14/Apr/15 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Githook User [ 10/Apr/15 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |
| Comment by Githook User [ 10/Apr/15 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: |
| Comment by Githook User [ 10/Apr/15 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: |
| Comment by Daniel Pasette (Inactive) [ 09/Jan/15 ] |
|
This has not shown to be a major issue in practice. There is a bit of extra memory usage, but would need an enormous number of locks to be impactful. Lowering priority. |