mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Merge pull request #64168 from ClickHouse/backport/24.3/64040
Backport #64040 to 24.3: Add missing settings to recoverLostReplica
This commit is contained in:
commit
6624b561f5
@ -943,6 +943,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