Alexey Milovidov
|
ad26b6fc8d
|
Remove useless headers
|
2024-02-19 07:08:24 +01:00 |
|
Alexey Milovidov
|
6fd563df52
|
Miscellaneous
|
2024-02-19 02:58:51 +01:00 |
|
Kruglov Pavel
|
39f091bffb
|
Merge pull request #59487 from azat/dist/fix-uncaught-exception
Fix possible uncaught exception during distributed query cancellation
|
2024-02-13 17:22:09 +01:00 |
|
Igor Nikonov
|
10082399d5
|
Minor review fixes
|
2024-02-07 00:52:25 +00:00 |
|
Igor Nikonov
|
dab078f7d2
|
Profile events
|
2024-02-05 20:21:48 +00:00 |
|
Igor Nikonov
|
45bcc04d98
|
Use ConnectionPoolPtr instead of raw pointer
|
2024-02-05 12:56:03 +00:00 |
|
Igor Nikonov
|
92a36109c3
|
Merge remote-tracking branch 'origin/master' into pr-better-replicas-failover-2
|
2024-02-05 12:07:44 +00:00 |
|
Igor Nikonov
|
ea2dad181d
|
Fix non linux builds
|
2024-02-02 15:05:14 +00:00 |
|
Igor Nikonov
|
4b77258341
|
Fix test
|
2024-02-02 11:28:35 +00:00 |
|
Igor Nikonov
|
82d7b22144
|
Parallel replicas: better replicas failover
|
2024-02-01 21:06:29 +00:00 |
|
Azat Khuzhin
|
2b786f7c6d
|
Wrap disconnect into try/catch in RemoteQueryExecutor dtor as well
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
|
2024-02-01 20:56:31 +01:00 |
|
Igor Nikonov
|
6c83508af1
|
Remove unused member
|
2024-02-01 19:51:07 +00:00 |
|
Azat Khuzhin
|
3108a988de
|
Fix possible uncaught exception during distributed query cancellation
Cancellation of distributed queries may throw (i.e. some timeout), and
in case of pipeline had not been properly created properly
(EXCEPTION_BEFORE_START) cancel will not be sent, so cancellation will
be done from dtor and will throw.
<details>
<summary>stacktrace</summary>
```
<Fatal> BaseDaemon: (version 23.9.2.56 (official build), build id: 76109A79FA62B9BC630A6C39438DEA7D28147B68, git hash: a1bf3f1de5 ) (from thread 51895) Terminate called for uncaught exception:
<Fatal> BaseDaemon: Code: 209. DB::NetException: Timeout exceeded while reading from socket (socket (10.61.1.50:9000), receive timeout 20000 ms). (SOCKET_TIMEOUT), Stack trace (when copying this message, always include the lines below):
<Fatal> BaseDaemon:
<Fatal> BaseDaemon: 0. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c741d97 in /usr/lib/debug/usr/bin/clickhouse.debug
<Fatal> BaseDaemon: 1. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException<String const&>(int, String const&) @ 0x000000001148ace7 in /usr/lib/debug/usr/bin/clickhouse.debug
<Fatal> BaseDaemon: 2. ./build_docker/./src/QueryPipeline/RemoteQueryExecutorReadContext.cpp:101: DB::RemoteQueryExecutorReadContext::checkTimeout(bool) @ 0x000000001148a70a in /usr/lib/debug/usr/bin/clickhouse.debug
<Fatal> BaseDaemon: 3. ./build_docker/./src/Common/Fiber.h:42: DB::RemoteQueryExecutorReadContext::cancelBefore() @ 0x000000001148aded in /usr/lib/debug/usr/bin/clickhouse.debug
<Fatal> BaseDaemon: 4. ./build_docker/./src/Common/Fiber.h:27: DB::AsyncTaskExecutor::cancel() @ 0x000000001148969d in /usr/lib/debug/usr/bin/clickhouse.debug
<Fatal> BaseDaemon: 5. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:169: DB::RemoteQueryExecutor::~RemoteQueryExecutor() @ 0x000000001147a9d0 in /usr/lib/debug/usr/bin/clickhouse.debug
<Fatal> BaseDaemon: 6. ./build_docker/./contrib/llvm-project/libcxx/src/include/atomic_support.h:74: std::__shared_ptr_emplace<DB::RemoteSource, std::allocator<DB::RemoteSource>>::__on_zero_shared() @ 0x000000000c94a4a1 in /usr/lib/debug/usr/bin/clickhou
<Fatal> BaseDaemon: 7. ./build_docker/./contrib/llvm-project/libcxx/src/include/atomic_support.h:74: std::__shared_ptr_emplace<std::vector<std::shared_ptr<DB::IProcessor>, std::allocator<std::shared_ptr<DB::IProcessor>>>, std::allocator<std::vector<std::
or<std::shared_ptr<DB::IProcessor>>>>>::__on_zero_shared() @ 0x00000000114603a1 in /usr/lib/debug/usr/bin/clickhouse.debug
<Fatal> BaseDaemon: 8. ./build_docker/./contrib/llvm-project/libcxx/src/include/atomic_support.h:74: DB::QueryPipeline::~QueryPipeline() @ 0x000000001146347a in /usr/lib/debug/usr/bin/clickhouse.debug
<Fatal> BaseDaemon: 9. ./build_docker/./src/QueryPipeline/QueryPipeline.cpp:709: DB::QueryPipeline::reset() @ 0x0000000011468f78 in /usr/lib/debug/usr/bin/clickhouse.debug
<Fatal> BaseDaemon: 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1427: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr<DB::Context>, std::function<void (DB::QueryResultDetails const&)>, std::optional<DB::FormatSettings> const&, std::function<void (DB::IOutputFormat&)>) @ 0x000000001249aa8b in /usr/lib/debug/usr/bin/clickhouse.debug
<Fatal> BaseDaemon: 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional<DB::CurrentThread::QueryScope>&) @ 0x00000000132bddb4 in /usr/lib/debug/usr/bin/clickhouse.debug
<Fatal> BaseDaemon: 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:290: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x00000000132c23a4 in /usr/lib/debug/usr/bin/clickhouse.debug
```
</details>
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
|
2024-02-01 15:55:12 +01:00 |
|
Igor Nikonov
|
6624e34580
|
RemoteQueryExecutor constructors formatting
|
2024-01-30 13:06:47 +00:00 |
|
Maksim Kita
|
2a327107b6
|
Updated implementation
|
2024-01-25 14:31:49 +03:00 |
|
jsc0218
|
6f3124acdb
|
Merge pull request #58402 from zhangyifan27/add_max_estimated_execution_time
Seperate max_execution_time and max_estimated_execution_time
|
2024-01-21 19:57:06 -05:00 |
|
Igor Nikonov
|
131f71b50a
|
Revert "Revert flaky"
|
2024-01-19 13:51:30 +01:00 |
|
Raúl Marín
|
477489a05d
|
Revert "Merge pull request #57235 from ClickHouse/pr-custom-key-failover"
This reverts commit 8ba9b4a7ef , reversing
changes made to 0f39245cb8 .
|
2024-01-19 12:46:05 +00:00 |
|
zhangyifan27
|
7e56a2d925
|
fix test failure when allow_experimental_analyzer=1
|
2024-01-19 16:11:30 +08:00 |
|
Igor Nikonov
|
8d4a395afa
|
Merge remote-tracking branch 'origin/master' into pr-custom-key-failover
|
2024-01-10 20:28:04 +00:00 |
|
Igor Nikonov
|
e9fc869254
|
Fix test flakiness with hedge connections enabled
|
2024-01-10 15:59:48 +00:00 |
|
Igor Nikonov
|
7fd851b4e9
|
Merge remote-tracking branch 'origin/master' into pr-custom-key-failover
|
2024-01-08 20:43:20 +00:00 |
|
Yarik Briukhovetskyi
|
f1f729d5b3
|
style check
|
2024-01-08 19:47:02 +01:00 |
|
yariks5s
|
7417238579
|
init
|
2024-01-08 18:21:03 +00:00 |
|
zhangyifan27
|
730135f933
|
Seperate max_execution_time and max_estimated_execution_time
|
2024-01-07 12:32:42 +08:00 |
|
Raúl Marín
|
ff90f64bc1
|
Merge remote-tracking branch 'blessed/master' into speedup_numbers
|
2024-01-03 13:33:22 +00:00 |
|
Raúl Marín
|
ed6b9703a1
|
More iota
|
2023-12-29 17:20:18 +01:00 |
|
Michael Kolupaev
|
96c68e5aae
|
Remove pausing, enable multithreading, kick off refresh on table creation unless the query says EMPTY
|
2023-12-28 17:56:06 +00:00 |
|
koloshmet
|
c52aa984ee
|
refreshable materialized views
|
2023-12-28 17:56:04 +00:00 |
|
Alexander Tokmakov
|
38fe70c68a
|
Revert "Refreshable materialized views (takeover)"
|
2023-12-28 13:12:20 +01:00 |
|
Michael Kolupaev
|
b9cbecb0df
|
Remove pausing, enable multithreading, kick off refresh on table creation unless the query says EMPTY
|
2023-12-27 20:24:56 +00:00 |
|
koloshmet
|
c762898adb
|
refreshable materialized views
|
2023-12-27 20:24:54 +00:00 |
|
Igor Nikonov
|
4fe54c213b
|
Fix: round-robin load balancing for custom key queries
+ even subqueries distribution over available nodes for custom key query
+ creating load balancing instance for each custom key query separately
|
2023-12-27 15:06:41 +00:00 |
|
Yarik Briukhovetskyi
|
6e816d45ae
|
Merge branch 'master' into paste_join
|
2023-12-19 20:02:24 +01:00 |
|
yariks5s
|
975c954d1a
|
style check
|
2023-12-18 15:42:50 +00:00 |
|
yariks5s
|
6740316a88
|
init
|
2023-12-18 15:02:51 +00:00 |
|
Raúl Marín
|
b269f87f4c
|
Better text_log with ErrnoException
|
2023-12-15 19:27:56 +01:00 |
|
Nikolai Kochetov
|
a30f63802e
|
Fix tests
|
2023-12-01 13:26:30 +00:00 |
|
Nikolai Kochetov
|
08f943462f
|
Delay totals port for creating sets as well.
|
2023-11-30 18:23:05 +00:00 |
|
Igor Nikonov
|
0434044a7e
|
Merge pull request #57054 from ClickHouse/pr-cleanup-narrow-dependency
Parallel replicas: cleanup, narrow dependency
|
2023-11-23 20:12:37 +01:00 |
|
Igor Nikonov
|
63a1625b77
|
Merge remote-tracking branch 'origin/master' into pr-cleanup-narrow-dependency
|
2023-11-21 16:05:48 +00:00 |
|
Igor Nikonov
|
ce98dfb251
|
Settings pointer to reference
|
2023-11-21 16:04:54 +00:00 |
|
Raúl Marín
|
47abb9e879
|
Fix race condition in RemoteSource
|
2023-11-21 14:07:14 +01:00 |
|
vdimir
|
f619f73f28
|
Fix incorrect header in grace hash join and filter pushdown
|
2023-11-07 18:48:32 +00:00 |
|
Igor Nikonov
|
9bdcba1b20
|
Merge branch 'master' into pr-progress-bar
|
2023-11-05 00:09:46 +01:00 |
|
Alexey Milovidov
|
cd5c6a743a
|
Revert partial result
|
2023-10-21 03:16:40 +02:00 |
|
Alexey Milovidov
|
7ec4b99e94
|
Revert partial result
|
2023-10-21 03:14:22 +02:00 |
|
Igor Nikonov
|
16c1b64773
|
Merge remote-tracking branch 'origin/master' into pr-progress-bar
|
2023-10-20 08:12:28 +00:00 |
|
Igor Nikonov
|
01fa15c33f
|
Less copying while handling annoucement
|
2023-10-18 12:20:14 +00:00 |
|
Igor Nikonov
|
4b36761f89
|
Merge branch 'master' into pr-progress-bar
|
2023-10-17 10:36:32 +02:00 |
|