[SERVER-15700] Do not force index lookup during SortedDataInterface::unindex Created: 17/Oct/14 Updated: 25/Oct/14 Resolved: 17/Oct/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | 2.7.7 |
| Fix Version/s: | 2.7.8 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | John Esmet | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | pull-request | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
The current API to SortedDataInterface::unindex returns true if the desired index row was in fact deleted. This forces an internal lookup of the index row, which hurts performance, especially for write optimized storage engines. We should simply not return anything from unindex(). |
| Comments |
| Comment by Githook User [ 17/Oct/14 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Githook User [ 17/Oct/14 ] |
|
Author: {u'username': u'esmet', u'name': u'John Esmet', u'email': u'john.esmet@gmail.com'}Message: Closes #827 Signed-off-by: Benety Goh <benety@mongodb.com> |