dbms: Server: queries with several replicas: development [#METR-14410]

This commit is contained in:
Alexey Arno 2015-01-14 17:29:10 +03:00
parent cd4bbadb12
commit ab0761c643
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -81,6 +81,7 @@ namespace DB
if (info.packet_number == next_packet_number)
{
++info.packet_number;
++next_packet_number;
return packet;
}