[SERVER-12767] refactor key generation to allow inclusion in mongo shell Created: 18/Feb/14  Updated: 11/Jul/16  Resolved: 19/Feb/14

Status: Closed
Project: Core Server
Component/s: Admin, Index Maintenance
Affects Version/s: 2.5.5
Fix Version/s: 2.6.0-rc0

Type: Bug Priority: Major - P3
Reporter: hari.khalsa@10gen.com Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

The getKeys method implementations in every BtreeBasedAccessMethod needs to be pulled out into its own static method that takes every parameter/datum for generating keys and does not depend on any catalog information. This is needed for mongoadmin to generate keys to check them for validity.



 Comments   
Comment by Githook User [ 19/Feb/14 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-12767 refactored key generation in db/index.
Branch: master
https://github.com/mongodb/mongo/commit/16612e609a83ebb06891e220200d4014331701cb

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