mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
███████████, CompressedDataLoaderWithBackup: fixed timeouts and failover, added tunable parameters [#CONV-4046], [#CONV-4023].
This commit is contained in:
parent
e388d1dbf9
commit
635f1638e2
@ -92,7 +92,11 @@ private:
|
||||
}
|
||||
|
||||
public:
|
||||
CompressedWriteBuffer(WriteBuffer & out_, CompressionMethod::Enum method_ = CompressionMethod::QuickLZ) : out(out_), method(method_) {}
|
||||
CompressedWriteBuffer(
|
||||
WriteBuffer & out_,
|
||||
CompressionMethod::Enum method_ = CompressionMethod::QuickLZ,
|
||||
size_t buf_size = DBMS_DEFAULT_BUFFER_SIZE)
|
||||
: BufferWithOwnMemory<WriteBuffer>(buf_size), out(out_), method(method_) {}
|
||||
|
||||
/// Объём сжатых данных
|
||||
size_t getCompressedBytes()
|
||||
|
Loading…
Reference in New Issue
Block a user