In WTDataStore and WTDataStoreSession, a constant global table name ("keystore") is used when creating or accessing the keystore table. Since the keystore table name is no longer constant, we will factor it out into a variable in the following way:
- In all methods which do this (WTDataStoreSession::begin,rbegin,verifyTable,salvage,search,insert,update, WTDataStore::createTable), we will add a StringData tableName argument which will be used.
- A Keystore::getTableName method will be introduced. This method will return the appropriate table name corresponding to the keystore object.
- is depended on by
-
SERVER-120377 Introduce RolloverKeystore and KeystoreImplV2
-
- In Code Review
-