mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
Add missing settings to recoverLostReplica
This commit is contained in:
parent
370b01e23b
commit
226de66d36
@ -944,6 +944,13 @@ void DatabaseReplicated::recoverLostReplica(const ZooKeeperPtr & current_zookeep
|
|||||||
query_context->setSetting("allow_hyperscan", 1);
|
query_context->setSetting("allow_hyperscan", 1);
|
||||||
query_context->setSetting("allow_simdjson", 1);
|
query_context->setSetting("allow_simdjson", 1);
|
||||||
query_context->setSetting("allow_deprecated_syntax_for_merge_tree", 1);
|
query_context->setSetting("allow_deprecated_syntax_for_merge_tree", 1);
|
||||||
|
query_context->setSetting("allow_suspicious_primary_key", 1);
|
||||||
|
query_context->setSetting("allow_suspicious_ttl_expressions", 1);
|
||||||
|
query_context->setSetting("allow_suspicious_variant_types", 1);
|
||||||
|
query_context->setSetting("enable_deflate_qpl_codec", 1);
|
||||||
|
query_context->setSetting("enable_zstd_qat_codec", 1);
|
||||||
|
query_context->setSetting("allow_create_index_without_type", 1);
|
||||||
|
query_context->setSetting("allow_experimental_s3queue", 1);
|
||||||
|
|
||||||
auto txn = std::make_shared<ZooKeeperMetadataTransaction>(current_zookeeper, zookeeper_path, false, "");
|
auto txn = std::make_shared<ZooKeeperMetadataTransaction>(current_zookeeper, zookeeper_path, false, "");
|
||||||
query_context->initZooKeeperMetadataTransaction(txn);
|
query_context->initZooKeeperMetadataTransaction(txn);
|
||||||
|
Loading…
Reference in New Issue
Block a user