mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 19:12:03 +00:00
Adjust threadpool name
This commit is contained in:
parent
3de507b545
commit
6871d233e9
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user