mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 10:31:57 +00:00
Fix build and add comment.
This commit is contained in:
parent
f36d14f68f
commit
d3099e0c89
@ -36,12 +36,12 @@ public:
|
|||||||
ASTPtr query;
|
ASTPtr query;
|
||||||
Block header;
|
Block header;
|
||||||
|
|
||||||
size_t shard_num;
|
size_t shard_num = 0;
|
||||||
ConnectionPoolWithFailoverPtr pool;
|
ConnectionPoolWithFailoverPtr pool;
|
||||||
|
|
||||||
/// If we connect to replicas lazily.
|
/// If we connect to replicas lazily.
|
||||||
/// (When there is a local replica with big delay).
|
/// (When there is a local replica with big delay).
|
||||||
bool lazy;
|
bool lazy = false;
|
||||||
UInt32 local_delay = 0;
|
UInt32 local_delay = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -14,6 +14,8 @@ using ConnectionPoolWithFailoverPtr = std::shared_ptr<ConnectionPoolWithFailover
|
|||||||
class Throttler;
|
class Throttler;
|
||||||
using ThrottlerPtr = std::shared_ptr<Throttler>;
|
using ThrottlerPtr = std::shared_ptr<Throttler>;
|
||||||
|
|
||||||
|
/// Reading step from remote servers.
|
||||||
|
/// Unite query results from several shards.
|
||||||
class ReadFromRemote final : public ISourceStep
|
class ReadFromRemote final : public ISourceStep
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user