Commit Graph

43514 Commits

Author SHA1 Message Date
zhang2014
80b765542f ISSUES-7572 support config default http handler 2020-06-12 18:04:42 +08:00
alesapin
465c4b65b7 Slightly better interfaces and comments 2020-06-12 12:37:52 +03:00
Ivan Blinkov
395ef1ecaf experiment 2020-06-12 09:35:31 +03:00
alexey-milovidov
37d7e9a60a
Merge pull request #11614 from ClickHouse/fixup-replica-create-drop
Fixup for recent replica CREATE/DROP changes.
2020-06-12 01:41:21 +03:00
Ivan Blinkov
e92641858e fixes 2020-06-12 01:00:35 +03:00
Alexander Kuzmenkov
10a8021418 performance comparison 2020-06-12 00:58:45 +03:00
Alexander Kuzmenkov
7ba5063b7a Add concurrent benchmark to performance test
After the main test, run queries from `website.xml` in parallel using
`clickhouse-benchmark`. This can be useful to test the effects of
concurrency on performance. Comparison test can miss some effects
because it always runs queries sequentially, and many of them are even
single-threaded.
2020-06-12 00:24:56 +03:00
Alexander Kuzmenkov
d0987d56be
Merge pull request #11612 from ClickHouse/benchmark-json
Fix JSON in clickhouse-benchmark; add test.
2020-06-12 00:14:16 +03:00
alesapin
4eb8a1cfef Fix gcc build 2020-06-12 00:03:25 +03:00
Alexander Kuzmenkov
fba79526c4
Merge pull request #11600 from ClickHouse/blinkov-patch-20
Avoid logging error as a warning
2020-06-11 23:54:41 +03:00
alesapin
29311f71bf
Merge pull request #11585 from azat/unbundled-boost
Add unbundled boost support
2020-06-11 23:43:28 +03:00
Alexander Kuzmenkov
d840a9990c performance comparison 2020-06-11 23:39:26 +03:00
Azat Khuzhin
103eb17107 Force table creation on SYSTEM FLUSH LOGS (v2)
After this patch SYSTEM FLUSH LOGS will force system.*_log table
creatoins (only for enabled tables of course).

This will avoid such hacks like:

   set log_queries=1;
   select 1;
   system flush logs;

This is the second version of the patch, since first has a deadlock [1]
(reported by @alesapin). This version does not use separate lock and do
not issue CREATE TABLE from the query execution thread, instead it
activate flushing thread to do so, hence this should be the same as if
the table will be created during flush.

  [1]: https://gist.github.com/alesapin/d915d1deaa27d49aa31223daded02be2

Fixes: #11563
Cc: @alesapin
Cc: @nikitamikhaylov
2020-06-11 23:12:23 +03:00
Alexey Milovidov
540f8532cb Fix error 2020-06-11 22:59:15 +03:00
Azat Khuzhin
7884c8ef2c Use lock_guard over unique_lock in SystemLog 2020-06-11 21:55:41 +03:00
Ivan Blinkov
bbeb768a19 use the sentry logger hook 2020-06-11 21:12:48 +03:00
alexey-milovidov
1465caa325
Merge pull request #11604 from giordyb/patch-1
Update entrypoint.sh
2020-06-11 21:06:00 +03:00
Azat Khuzhin
176ebb26e0 Prepend slash to path for system.zookeeper queries
path should starts with '/', otherwise ZBADARGUMENTS will be thrown in
ZooKeeper::sendThread and the session will fail.
2020-06-11 20:58:53 +03:00
alexey-milovidov
d5c2008c7d
Merge pull request #11601 from filimonov/fix_client_exit_code
Fix corner case (only) for exit code overflow
2020-06-11 20:57:32 +03:00
alexey-milovidov
e690d0a3ea
Update Client.cpp 2020-06-11 20:57:23 +03:00
alexey-milovidov
615ab071d3
Update Client.cpp 2020-06-11 20:57:03 +03:00
Alexey Milovidov
11c79e1371 Fix JSON in clickhouse-benchmark; add test 2020-06-11 20:53:33 +03:00
Nikolai Kochetov
8234a430a0 Added test. 2020-06-11 19:40:44 +03:00
Nikolai Kochetov
7b8c1657a5 Fix nullable prewhere column type. 2020-06-11 19:34:36 +03:00
alesapin
47a902a6ce Simple github hook 2020-06-11 18:55:44 +03:00
alesapin
a39d010f94 Merge branch 'master' into consistent_metadata4 2020-06-11 18:47:41 +03:00
giordyb
d61da39c10
Update entrypoint.sh
without -q option the database does not get created at startup
2020-06-11 17:23:02 +02:00
alexey-milovidov
89df9915bb
Merge pull request #11592 from ClickHouse/replicated-merge-tree-create-drop-race-garbage
Fix race conditions in CREATE/DROP of different replicas of ReplicatedMergeTree
2020-06-11 17:11:38 +03:00
alexey-milovidov
5f073c3ef4
Update StorageReplicatedMergeTree.cpp 2020-06-11 17:11:13 +03:00
Nikolai Kochetov
3eed1c8c2b Added test 2020-06-11 16:41:14 +03:00
alesapin
225380f849
Merge pull request #11586 from blinkov/repo-links
Update remaining links to old repo without CDN
2020-06-11 16:40:53 +03:00
Alexander Kuzmenkov
e354bbc78c
Merge pull request #11588 from ClickHouse/aku/async-log
Add system.asynchronous_metric_log
2020-06-11 16:10:35 +03:00
Mikhail Filimonov
887a24b73a Fix corner case (only) for exit code overflow 2020-06-11 15:08:24 +02:00
Ivan Blinkov
e5edd472d6
Avoid logging error as a warning 2020-06-11 16:01:35 +03:00
alesapin
36ea4abb48 Add several boost libraries to deb image 2020-06-11 15:54:29 +03:00
Ivan Blinkov
fa47fc3f30 fix address formatting 2020-06-11 15:34:02 +03:00
Nikolai Kochetov
ed0826efa7 Remove extra columns from sample in StorageBuffer. 2020-06-11 15:18:45 +03:00
Ivan Blinkov
5f73c87c71 change used flag 2020-06-11 15:18:19 +03:00
Ivan Blinkov
ce36f409c9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-11 13:34:58 +03:00
alesapin
86538dc4b4
Merge pull request #11598 from ClickHouse/revert-11563-SYSTEM-FLUSH-LOGS-force-table-creation
Revert "Force table creation on SYSTEM FLUSH LOGS"
2020-06-11 13:22:36 +03:00
alesapin
5a9a63e9a1
Revert "Force table creation on SYSTEM FLUSH LOGS" 2020-06-11 13:22:24 +03:00
Ivan Blinkov
b70ed921ea Merge branch 'master' of github.com:ClickHouse/ClickHouse into sentry 2020-06-11 12:22:13 +03:00
Ivan Blinkov
3e5d735871 back to upstream 2020-06-11 12:21:23 +03:00
Ivan Blinkov
706c545248 experiment 2020-06-11 12:18:12 +03:00
Ivan Blinkov
22707508c1 experiment 2020-06-11 12:17:33 +03:00
tavplubix
1777bd0273
Merge pull request #11467 from hexiaoting/showcreate
Add "SHOW CLUSTER(s)" queries support
2020-06-11 12:01:28 +03:00
Azat Khuzhin
585fee1a63 Add missing boost libraries into build scripts 2020-06-11 11:49:47 +03:00
Azat Khuzhin
0731f2293d Add missing boost libraries into docker image 2020-06-11 11:47:30 +03:00
Vasily Nemkov
db555b088d Regenerated ya.make 2020-06-11 11:05:08 +03:00
Vasily Nemkov
50a184acac extractAllGroupsHorizontal and extractAllGroupsVertical
Split tests, fixed some error messages

Fixed test and error reporting of extractGroups
2020-06-11 11:03:17 +03:00