mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Updated compression to LZ4 as its better in performance
This commit is contained in:
parent
e9542e4153
commit
9a9efdcf7d
@ -491,7 +491,7 @@ void ZooKeeper::connect(
|
|||||||
if (use_compression)
|
if (use_compression)
|
||||||
{
|
{
|
||||||
compressed_in.emplace(*in);
|
compressed_in.emplace(*in);
|
||||||
compressed_out.emplace(*out, CompressionCodecFactory::instance().get("ZSTD", {}));
|
compressed_out.emplace(*out, CompressionCodecFactory::instance().get("LZ4", {}));
|
||||||
}
|
}
|
||||||
|
|
||||||
original_index = static_cast<Int8>(node.original_index);
|
original_index = static_cast<Int8>(node.original_index);
|
||||||
|
@ -394,7 +394,7 @@ void KeeperTCPHandler::runImpl()
|
|||||||
if (use_compression)
|
if (use_compression)
|
||||||
{
|
{
|
||||||
compressed_in.emplace(*in);
|
compressed_in.emplace(*in);
|
||||||
compressed_out.emplace(*out, CompressionCodecFactory::instance().get("ZSTD",{}));
|
compressed_out.emplace(*out, CompressionCodecFactory::instance().get("LZ4",{}));
|
||||||
}
|
}
|
||||||
|
|
||||||
auto response_fd = poll_wrapper->getResponseFD();
|
auto response_fd = poll_wrapper->getResponseFD();
|
||||||
|
Loading…
Reference in New Issue
Block a user