[SERVER-35757] remove createRecordStore Created: 22/Jun/18  Updated: 27/Oct/23  Resolved: 06/Sep/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Ben Judd Assignee: Gregory Wlodarek
Resolution: Works as Designed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Storage NYC 2018-09-10
Participants:

 Description   

createRecordStore is not used outside of testing, we should remove this, instead getRecordStore implicitly creates them.



 Comments   
Comment by Gregory Wlodarek [ 06/Sep/18 ]

`createRecordStore` is actually used outside of testing too.

For example, when the WiredTiger storage engine is initialized, it has the following stack trace:

KVEngine::createRecordStore()
KVEngine::createGroupedRecordStore()
KVStorageEngine::loadCatalog()
KVStorageEngine::KVStorageEngine()
WiredTigerFactory::create()

 

Generated at Thu Feb 08 04:40:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.