mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 10:10:50 +00:00
dbms: Server: queries with several replicas: development [#METR-14410]
This commit is contained in:
parent
cd4bbadb12
commit
ab0761c643
@ -121,9 +121,7 @@ protected:
|
||||
}
|
||||
if (use_many_replicas)
|
||||
{
|
||||
/// XXX Какой из этих вариантов правильный?
|
||||
/// 1. Выбрать одно соединение, например connection[0], и к нему применить sendExternalTablesData(res)?
|
||||
/// 2. Отправить res по всем соединениям? <- this one!!!
|
||||
/// XXX Отправить res по всем соединениям.
|
||||
//replicas_connections->sendExternalTablesData(res);
|
||||
}
|
||||
else
|
||||
|
@ -81,6 +81,7 @@ namespace DB
|
||||
|
||||
if (info.packet_number == next_packet_number)
|
||||
{
|
||||
++info.packet_number;
|
||||
++next_packet_number;
|
||||
return packet;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user