[SERVER-15978] RocksCursor doesn't need to locate to the beginning when created Created: 05/Nov/14 Updated: 19/Nov/14 Resolved: 06/Nov/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 2.8.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Siying Dong | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Participants: |
| Description |
|
Based on discussion https://groups.google.com/forum/#!topic/mongodb-dev/Y4N7Pe76BKs , a cursor doesn't need to be positioned to anywhere when created. Remove unnecessary seek after creating RocksCursor can significantly improve performance in some cases. |
| Comments |
| Comment by Githook User [ 06/Nov/14 ] |
|
Author: {u'username': u'siying', u'name': u'sdong', u'email': u'siying.d@fb.com'}Message: Signed-off-by: Ramon Fernandez <ramon.fernandez@mongodb.com> |
| Comment by Siying Dong [ 06/Nov/14 ] |
|
Attach a patch for it. The patch was based on commit 30668a6d4e2f0b264acf45d3bf6ca92b76fbe1c7 . |