MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / storageProviderInitialize

Method storageProviderInitialize

src/db.cpp:2647–2654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2645}
2646
2647void redisDb::storageProviderInitialize()
2648{
2649 if (g_pserver->m_pstorageFactory != nullptr)
2650 {
2651 IStorageFactory::key_load_iterator itr = g_pserver->cluster_enabled ? moduleClusterLoadCallback : moduleLoadCallback;
2652 this->setStorageProvider(StorageCache::create(g_pserver->m_pstorageFactory, id, itr, &id));
2653 }
2654}
2655
2656void redisDb::storageProviderDelete()
2657{

Callers 2

InitServerLastFunction · 0.80
debugCommandFunction · 0.80

Calls 2

createFunction · 0.85
setStorageProviderMethod · 0.80

Tested by

no test coverage detected