ClickHouse/src/DataStreams
Azat Khuzhin 2e933a94a6 Handle Protocol::Server::Log in the RemoteQueryExecutor::finish()
Even when finish() is called, there can be no EndOfStream sent, so it is
100% correct to handle Log packages there.

W/o fix in RemoteQueryExecutor:

    Code: 100, e.displayText() = DB::Exception: Unknown packet 10 from one of the following replicas: : While executing Remote (version 20.8.1.1) (from [::1]:56960) (in query: select * from remote('127.{2,3}', system.numbers) where number = 10 limit 1; ), Stack trace (when copying this message, always include the lines below):

    0. Common/StackTrace.cpp:291: StackTrace::tryCapture() @ 0x28b80a
    1. Common/StackTrace.cpp:256: StackTrace::StackTrace() @ 0x28b6ab
    2. Common/Exception.cpp:42: DB::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) @ 0x2481ba
    3. Common/Exception.h:28: DB::Exception::Exception<>() @ 0x334d48
    4. DataStreams/RemoteQueryExecutor.cpp:288: DB::RemoteQueryExecutor::finish() @ 0x330314
    5. Processors/Sources/RemoteSource.cpp:46: DB::RemoteSource::generate() @ 0x6fce5
2020-08-17 21:55:09 +03:00
..
tests Refactor Pipe [part 6] 2020-08-06 15:24:05 +03:00
AddingDefaultBlockOutputStream.cpp
AddingDefaultBlockOutputStream.h Forward declaration for Context as much as possible. 2020-05-21 01:53:18 +03:00
AddingDefaultsBlockInputStream.cpp Fix half of typos 2020-08-08 03:47:03 +03:00
AddingDefaultsBlockInputStream.h Forward declaration for Context as much as possible. 2020-05-21 01:53:18 +03:00
AsynchronousBlockInputStream.cpp
AsynchronousBlockInputStream.h Fix half of typos 2020-08-08 03:47:03 +03:00
BlockIO.cpp Refactor Pipe [part 6] 2020-08-06 15:24:05 +03:00
BlockIO.h Fix result_rows and result_bytes metrics for selects. 2020-07-02 17:51:10 +03:00
BlocksListBlockInputStream.h
BlocksSource.h Remove some streams. 2020-06-01 19:31:06 +03:00
BlockStreamProfileInfo.cpp Add PullingPipelineExecutor. 2020-05-15 00:03:38 +03:00
BlockStreamProfileInfo.h Add PullingPipelineExecutor. 2020-05-15 00:03:38 +03:00
CheckConstraintsBlockOutputStream.cpp Fix error 2020-06-30 03:53:30 +03:00
CheckConstraintsBlockOutputStream.h
CheckSortedBlockInputStream.cpp Better exception message in CheckingSortedBlockInputStream 2020-07-20 17:57:01 +03:00
CheckSortedBlockInputStream.h
CMakeLists.txt
ColumnGathererStream.cpp Remove namespace pollution 2020-05-31 00:57:37 +03:00
ColumnGathererStream.h
ConvertingBlockInputStream.cpp Block structure mismatch is a program error 2020-07-28 21:35:18 +03:00
ConvertingBlockInputStream.h Remove useless code 2020-04-15 00:05:45 +03:00
copyData.cpp Insert select using PipelineExecutor. 2020-05-27 21:20:26 +03:00
copyData.h Insert select using PipelineExecutor. 2020-05-27 21:20:26 +03:00
CountingBlockOutputStream.cpp
CountingBlockOutputStream.h
CreatingSetsBlockInputStream.cpp Metadata in read and write methods of IStorage 2020-06-15 22:08:58 +03:00
CreatingSetsBlockInputStream.h Remove namespace pollution 2020-05-31 00:57:37 +03:00
DistinctSortedBlockInputStream.cpp Remove SortDescription from IBlockInputStream. 2020-07-21 11:05:52 +03:00
DistinctSortedBlockInputStream.h Remove SortDescription from IBlockInputStream. 2020-07-21 11:05:52 +03:00
ExecutionSpeedLimits.cpp Whitespace 2020-05-29 23:17:38 +03:00
ExecutionSpeedLimits.h Checkpoint 2020-04-22 08:39:31 +03:00
ExpressionBlockInputStream.cpp remove a trick with expression continuation 2020-06-25 22:26:03 +03:00
ExpressionBlockInputStream.h
FilterBlockInputStream.cpp Checkpoint 2020-04-22 08:39:31 +03:00
FilterBlockInputStream.h Checkpoint 2020-04-22 08:39:31 +03:00
finalizeBlock.cpp Make IColumn::mutate() static. 2020-05-14 11:30:18 +03:00
finalizeBlock.h
IBlockInputStream.cpp Merge 2020-07-27 17:59:12 +03:00
IBlockInputStream.h Remove SortDescription from IBlockInputStream. 2020-07-21 11:05:52 +03:00
IBlockOutputStream.h Better comments 2020-06-22 12:49:21 +03:00
IBlockStream_fwd.h
InputStreamFromASTInsertQuery.cpp getColumns in StorageInMemoryMetadta (only compilable) 2020-06-17 19:39:58 +03:00
InputStreamFromASTInsertQuery.h Really atomic metadata 2020-06-18 14:02:31 +03:00
InternalTextLogsRowOutputStream.cpp Merge pull request #10445 from azat/logger-source-coloring-client 2020-04-23 00:35:40 +03:00
InternalTextLogsRowOutputStream.h
LazyBlockInputStream.h
LimitBlockInputStream.cpp
LimitBlockInputStream.h
MarkInCompressedFile.h
materializeBlock.cpp
materializeBlock.h
MaterializingBlockInputStream.cpp
MaterializingBlockInputStream.h
MaterializingBlockOutputStream.h
MergingSortedBlockInputStream.cpp Fix half of typos 2020-08-08 03:47:03 +03:00
MergingSortedBlockInputStream.h Fix half of typos 2020-08-08 03:47:03 +03:00
MongoDBBlockInputStream.cpp Remove empty lines 2020-06-26 18:19:00 +03:00
MongoDBBlockInputStream.h Add comment 2020-06-26 17:34:37 +03:00
narrowBlockInputStreams.cpp Refactor Pipe [part 1]. 2020-08-03 14:33:11 +03:00
narrowBlockInputStreams.h Refactor Pipe [part 1]. 2020-08-03 14:33:11 +03:00
NativeBlockInputStream.cpp
NativeBlockInputStream.h
NativeBlockOutputStream.cpp
NativeBlockOutputStream.h
NullAndDoCopyBlockInputStream.h Insert select using PipelineExecutor. 2020-05-27 21:20:26 +03:00
NullBlockInputStream.h
NullBlockOutputStream.h
OneBlockInputStream.h
OwningBlockInputStream.h
ParallelInputsProcessor.h Fix half of typos 2020-08-08 03:47:03 +03:00
ParallelParsingBlockInputStream.cpp Fix half of typos 2020-08-08 03:47:03 +03:00
ParallelParsingBlockInputStream.h Fix memory tracking for input_format_parallel_parsing by attaching thread to group 2020-07-23 11:31:13 +03:00
PushingToViewsBlockOutputStream.cpp Fix half of typos 2020-08-08 03:47:03 +03:00
PushingToViewsBlockOutputStream.h getSampleBlockWithVirtuals in StorageInMemoryMetadata 2020-06-16 15:58:05 +03:00
RemoteBlockInputStream.cpp Fix style. 2020-06-02 21:10:42 +03:00
RemoteBlockInputStream.h Fix totals for remote. 2020-06-02 19:37:30 +03:00
RemoteBlockOutputStream.cpp Fix error 2020-05-17 08:45:20 +03:00
RemoteBlockOutputStream.h Forward declaration for Context as much as possible. 2020-05-21 01:53:18 +03:00
RemoteQueryExecutor.cpp Handle Protocol::Server::Log in the RemoteQueryExecutor::finish() 2020-08-17 21:55:09 +03:00
RemoteQueryExecutor.h Fix build. 2020-06-04 16:16:58 +03:00
SizeLimits.cpp Preparation for structured logging 2020-05-31 00:35:52 +03:00
SizeLimits.h
SquashingBlockInputStream.cpp less copying 2020-04-21 17:59:57 +03:00
SquashingBlockInputStream.h
SquashingBlockOutputStream.cpp less copying 2020-04-21 17:59:57 +03:00
SquashingBlockOutputStream.h
SquashingTransform.cpp Make IColumn::mutate() static. 2020-05-14 11:30:18 +03:00
SquashingTransform.h Update SquashingTransform.h 2020-04-21 19:27:56 +03:00
TemporaryFileStream.h Check for suspicious codecs #4966 2020-05-04 03:11:49 +03:00
TTLBlockInputStream.cpp Use SettingUInt64 only in Settings, use UInt64 in other places. 2020-07-31 19:11:27 +03:00
TTLBlockInputStream.h TTL in storage in memory metadata 2020-06-17 16:39:26 +03:00
UnionBlockInputStream.h Remove namespace pollution 2020-05-31 00:57:37 +03:00
ya.make Normalize ya.make files, fix "Arcadia" build 2020-08-02 16:57:38 +03:00
ya.make.in Normalize ya.make files, fix "Arcadia" build 2020-08-02 16:57:38 +03:00