Tom Bombadil
558912be7d
Update lazy.md ( #11620 )
...
* Update lazy.md
Optimize the doc translation for Simplified-Chinese version.
* Update lazy.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-13 05:47:23 +03:00
zhang2014
de96296e01
ISSUES-7572 fix build failure
2020-06-13 10:17:02 +08:00
Alexey Milovidov
18f8861fa0
Better test
2020-06-13 04:35:49 +03:00
Alexey Milovidov
6f0db5ef10
Fix error
2020-06-13 04:35:49 +03:00
Alexey Milovidov
21897f2abd
Instrument
2020-06-13 04:35:49 +03:00
Alexey Milovidov
6ff671b092
Improvement
2020-06-13 04:35:49 +03:00
Alexey Milovidov
cfef7ba692
Whitespace
2020-06-13 04:35:49 +03:00
Alexey Milovidov
ab00e34305
Miscellaneous
2020-06-13 04:35:49 +03:00
Alexey Milovidov
85c0706901
Step 2: allow multiple leaders
2020-06-13 04:35:49 +03:00
Alexey Milovidov
b8b55a5b99
More LeaderElection to Storage/MergeTree
2020-06-13 04:35:49 +03:00
alexey-milovidov
0589b1e016
Merge pull request #11637 from ClickHouse/remove-leader-election-1
...
Remove leader election, step 1: update and check version of "log" node
2020-06-13 04:34:33 +03:00
Alexey Milovidov
22dd47c13f
Added a test
2020-06-13 04:34:05 +03:00
Alexey Milovidov
52ac009754
Update versions on merge and mutation
2020-06-13 04:34:05 +03:00
Alexey Milovidov
902774c89c
Removed default value of constructor
2020-06-13 04:34:05 +03:00
Alexey Milovidov
833c8178ae
Whitespaces
2020-06-13 04:34:05 +03:00
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