[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: Text File SERVER-15978.patch    
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: SERVER-15978 RocksCursor doesn't need to locate to the beginning when created

Signed-off-by: Ramon Fernandez <ramon.fernandez@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/dbc8bd10eefc7ceb6791d9179935f0a4c184d009

Comment by Siying Dong [ 06/Nov/14 ]

Attach a patch for it. The patch was based on commit 30668a6d4e2f0b264acf45d3bf6ca92b76fbe1c7 .
Run jsCore tests. All failure tests (18 tests) fail without this patch.

Generated at Thu Feb 08 03:39:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.