Alexey Milovidov
6869c122a8
Step 1 towards removing leader election: check and modify version of the "log" node
2020-06-13 04:34:05 +03:00
alexey-milovidov
54b77ff967
Merge pull request #11633 from ClickHouse/avoid-errors-using-zk-api
...
Avoid errors due to implicit int<->bool conversions when using ZK API
2020-06-13 04:32:32 +03:00
Azat Khuzhin
0b1ff4f9cc
Update max_rows_to_read in 00945_bloom_filter_index test
...
The expected values was incorrect, since for strings we have 1 and 10
and there will be at least two index granulas, hence 12 rows.
2020-06-13 01:37:20 +03:00
Alexey Milovidov
a690851586
Fix style
2020-06-13 00:20:59 +03:00
Alexey Milovidov
8985d64237
Fix "Arcadia" build
2020-06-13 00:20:00 +03:00
Azat Khuzhin
7f52b615e0
Fix bloom filters for String (data skipping indices)
...
bloom filter was broken for the first element, if all of the following
conditions satisfied:
- they are created on INSERT (in thie case bloom filter hashing uses
offsets, in case of OPTIMIZE it does not, since it already has
granulars).
- the record is not the first in the block
- the record is the first per index_granularity (do not confuse this
with data skipping index GRANULARITY).
- type of the field for indexing is "String" (not FixedString)
Because in this case there was incorrect length and *data* for that string.
2020-06-12 22:46:40 +03:00
Alexey Milovidov
f608044690
Fix error
2020-06-12 21:19:16 +03:00
zhang2014
8d9b770da4
ISSUES-7572 fix defaults config level & add replicas_status and prometheus handler
2020-06-13 00:15:02 +08:00
Dmitry
e5897bbfb6
size_t -> ssize_t
2020-06-12 18:59:11 +03:00
alexey-milovidov
fc8da2abd3
Merge pull request #11613 from azat/system.zookeeper-path-prepend-slash
...
Prepend slash for path while querying system.zookeeper
2020-06-12 18:19:10 +03:00
Alexey Milovidov
72257061d5
Avoid errors due to implicit int<->bool conversions when using ZK API
2020-06-12 18:09:12 +03:00
Nikolai Kochetov
83155e139c
Try fix tests.
2020-06-12 17:59:14 +03:00
alesapin
0edf5ff7a2
Fix race condition
2020-06-12 17:32:47 +03:00
Alexey Milovidov
787163d0b4
Minor modifications after merging #11554
2020-06-12 17:03:00 +03:00
alexey-milovidov
13ceaa4779
Merge pull request #11554 from Enmk/extractAllGroups-Horizontal-and-Vertical
...
extractAllGroupsHorizontal and extractAllGroupsVertical
2020-06-12 16:56:14 +03:00
zhang2014
2c439afc01
ISSUES-7572 fix build failure
2020-06-12 19:17:34 +08:00
zzsmdfj
a2ed8d70a7
update zh-docs-aggregate-functions ( #11623 )
2020-06-12 14:03:01 +03:00
zhang2014
1c55aa0333
ISSUES-7572 add integration test
2020-06-12 18:19:03 +08:00
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
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
Alexander Kuzmenkov
10a8021418
performance comparison
2020-06-12 00:58:45 +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
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
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
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
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
tavplubix
1777bd0273
Merge pull request #11467 from hexiaoting/showcreate
...
Add "SHOW CLUSTER(s)" queries support
2020-06-11 12:01:28 +03:00