/
githubmirror
/
nbs
Обзор
Документация
Войти
/
githubmirror
/
nbs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
cloud/blockstore/libs/daemon/local/bootstrap.cpp
79 строк
2 KB
yegorskii
[Blockstore] cells initial commit to main (#3733)
18 авг 2025, 21:28
Не верифицирован
18 авг 2025, 21:28
60fe1cf
Код
Авторство
О чём код?
#include "bootstrap.h" #include "config_initializer.h" #include "options.h" #include <cloud/blockstore/libs/cells/iface/cell_manager.h> #include <cloud/storage/core/libs/diagnostics/trace_serializer.h> namespace NCloud::NBlockStore::NServer { //////////////////////////////////////////////////////////////////////////////// TBootstrapLocal::TBootstrapLocal(IDeviceHandlerFactoryPtr deviceHandlerFactory) : TBootstrapBase(std::move(deviceHandlerFactory)) {} TBootstrapLocal::~TBootstrapLocal() {} TConfigInitializerCommonPtr TBootstrapLocal::InitConfigs(int argc, char** argv) { auto options = std::make_shared<TOptionsLocal>(); options->Parse(argc, argv); Configs = std::make_shared<TConfigInitializerLocal>(std::move(options)); return Configs; } void TBootstrapLocal::InitSpdk() { // do nothing } void TBootstrapLocal::InitRdmaClient() { // do nothing } void TBootstrapLocal::InitRdmaServer() { // do nothing } void TBootstrapLocal::InitKikimrService() { Y_ABORT("Not implemented"); } void TBootstrapLocal::InitAuthService() { // do nothing } void TBootstrapLocal::WarmupBSGroupConnections() { // do nothing } void TBootstrapLocal::InitRdmaRequestServer() { // do nothing } ITraceSerializerPtr TBootstrapLocal::GetTraceSerializer() { return CreateTraceSerializerStub(); } void TBootstrapLocal::SetupCellManager() { CellManager = NCells::CreateCellManagerStub(); } TProgramShouldContinue& TBootstrapLocal::GetShouldContinue() { return ShouldContinue; } } // namespace NCloud::NBlockStore::NServer