Adjust threadpool name

This commit is contained in:
Konstantin Bogdanov 2024-02-01 02:47:38 +01:00
parent 3de507b545
commit 6871d233e9
Signed by: thevar1able
GPG Key ID: DB399448D9FE52F1

View File

@ -1096,7 +1096,7 @@ void DatabaseReplicated::recoverLostReplica(const ZooKeeperPtr & current_zookeep
auto allow_concurrent_table_creation = getContext()->getServerSettings().allow_database_replicated_concurrent_table_creation; auto allow_concurrent_table_creation = getContext()->getServerSettings().allow_database_replicated_concurrent_table_creation;
auto tables_to_create_by_level = tables_dependencies.getTablesSortedByDependencyWithLevels(); auto tables_to_create_by_level = tables_dependencies.getTablesSortedByDependencyWithLevels();
auto create_tables_runner = threadPoolCallbackRunner<void>(getDatabaseReplicatedCreateTablesThreadPool().get(), "DatabaseReplicatedCreateTables"); auto create_tables_runner = threadPoolCallbackRunner<void>(getDatabaseReplicatedCreateTablesThreadPool().get(), "CreateTables");
std::vector<std::future<void>> create_table_futures; std::vector<std::future<void>> create_table_futures;
for (const auto & [_, tables_to_create] : tables_to_create_by_level) for (const auto & [_, tables_to_create] : tables_to_create_by_level)