Commit Graph

42528 Commits

Author SHA1 Message Date
Azat Khuzhin
bd45592539 Fix test_distributed_load_balancing flaps (due to config reload)
At startup, server loads configuration files.

However ConfigReloader does not know about already loaded files (files
is empty()), hence it will always reload the configuration just after
server starts (+ 2 seconds, reload timeout).

And on configuration reload the clusters will be re-created, so some
internal stuff will be reseted:
- error_count
- last_used (round_robing)

And if the reload will happen during round_robin test it will start
querying from the beginning, so let's issue config reload just after
start to avoid reload in the middle of the test execution.
2020-06-21 12:01:15 +03:00
Azat Khuzhin
b8ee2ea7d9 Pass max_ignored_errors/fallback_to_stale_replicas to PoolWithFailoverBase::get() too 2020-06-20 11:46:13 +03:00
Azat Khuzhin
de011a6edc Mark PoolWithFailoverBase::get() protected 2020-06-20 11:39:21 +03:00
Azat Khuzhin
dd054380bf Drop default values for some arguments of PoolWithFailoverBase::getMany 2020-06-20 11:21:18 +03:00
Azat Khuzhin
9bfda65134 Add a test for distributed_replica_max_ignored_errors 2020-06-20 11:21:08 +03:00
Azat Khuzhin
caa195c034 Add number of errors to ignore while choosing replicas (distributed_replica_max_ignored_errors)
This will allow avoid switching to another replica in case of error
(since error can be temporary).
2020-06-20 11:20:16 +03:00
Azat Khuzhin
687eb24f50 Fix divizion by zero for distributed_replica_error_half_life=0 2020-06-20 11:05:39 +03:00
Azat Khuzhin
2a5a8e70f4 Drop unused PoolWithFailoverBase<>::reportError() 2020-06-20 11:05:38 +03:00
alexey-milovidov
32c7ff7d2c
Update create.md 2020-06-20 10:33:41 +03:00
alexey-milovidov
8139ce5985
Update create.md 2020-06-20 10:32:33 +03:00
Yuntao Wu
ab4f9d35fd
replacingmergetree translate into "替换合并树“ better (#11814) 2020-06-20 10:31:05 +03:00
Alexey Milovidov
ad672f7ce2 Whitespace 2020-06-20 10:26:33 +03:00
Alexey Milovidov
b8769e1ada Fix style 2020-06-20 10:24:51 +03:00
Tom Bombadil
37f6616c0f
Update join.md (#11798)
optimize the original Chinese translation for the doc.
2020-06-20 09:50:53 +03:00
Tom Bombadil
338e0dc5a1
Update memory.md (#11800)
optimize doc translation
2020-06-20 09:50:00 +03:00
Alexey Milovidov
71d907129c Whitespace 2020-06-20 09:41:09 +03:00
alexey-milovidov
f27ae6a12a
Merge pull request #11682 from ClickHouse/fix-parallel-final-stuck
Fix parallel final stuck
2020-06-20 09:05:32 +03:00
alexey-milovidov
7baf1e0994
Merge pull request #11718 from ClickHouse/test-hyperscan
Added a test for stack unwinding from within Hyperscan
2020-06-20 08:33:57 +03:00
alexey-milovidov
7e7dd04b5c
Merge pull request #11787 from ClickHouse/blinkov-patch-20
Refresh distinctive-features.md with recent features
2020-06-20 08:27:38 +03:00
alexey-milovidov
4129300fdb
Merge pull request #11788 from ClickHouse/fix-too-many-threads
Fix too many threads
2020-06-20 08:24:47 +03:00
alexey-milovidov
d341e34fac
Merge pull request #11795 from ClickHouse/remove-leader-election-3
Remove leader election, step 3: remove yielding of leadership; remove sending queries to leader.
2020-06-20 08:24:16 +03:00
alexey-milovidov
26d19a64dc
Merge pull request #11812 from blinkov/benchmark-style-tuning
[website] tune benchmark pages styling + add extra checks
2020-06-20 08:10:17 +03:00
Ivan Blinkov
5f15ceac0b avoid duplicate short system name 2020-06-20 01:55:55 +03:00
Ivan Blinkov
5892190d00 adapt recent result as well 2020-06-20 01:53:48 +03:00
Ivan Blinkov
ec16eb36ec Merge branch 'benchmark-style-tuning' of github.com:blinkov/ClickHouse; branch 'master' of github.com:ClickHouse/ClickHouse into benchmark-style-tuning 2020-06-20 01:52:33 +03:00
tavplubix
b8685322b7
Merge pull request #11767 from amosbird/fs1
add scalars in time
2020-06-20 01:01:20 +03:00
Ivan Blinkov
5f09cee06d [website] tune benchmark pages styling + add extra checks 2020-06-20 00:09:45 +03:00
alexey-milovidov
8a33cd7483
Merge pull request #11785 from abyss7/h3-arcadia
Support H3 in Arcadia
2020-06-19 22:52:07 +03:00
Alexey Milovidov
03f39fe1f4 Added MSan suppression for Hyperscan 2020-06-19 22:28:49 +03:00
Alexey Milovidov
abb59a2621 Give up on UBSan for Hyperscan 2020-06-19 21:45:09 +03:00
Alexey Milovidov
3142006182 Leave only relevant part of the test 2020-06-19 21:44:33 +03:00
Tom Bombadil
916ae64e42
Update roadmap.md (#11801)
Sync the doc content with the newest English version.
2020-06-19 19:42:51 +03:00
Tom Bombadil
6849b57f14
Update view.md (#11799)
correct the title
2020-06-19 19:09:06 +03:00
Ivan Blinkov
dc8eda3ba0
Update why.html 2020-06-19 19:02:57 +03:00
Ivan Blinkov
31ba67b0b8
Update links @ quickstart.html 2020-06-19 18:59:59 +03:00
Alexey Milovidov
468eaa8d93 Remove unused method 2020-06-19 17:21:26 +03:00
Alexey Milovidov
5211a42c04 Remove leader election, step 3 2020-06-19 17:18:58 +03:00
Alexey Milovidov
e85227ce2e Remove one compile option 2020-06-19 16:44:30 +03:00
Alexander Kuzmenkov
1a3a19391c
Merge pull request #11711 from ClickHouse/fix_path_in_perftest
Try fix performance test of Values format
2020-06-19 15:57:32 +03:00
Alexey Milovidov
bed8f03132 Fix markup 2020-06-19 15:39:01 +03:00
Alexey Milovidov
6e551fe235 Added results from AWS Graviton 2 2020-06-19 15:38:23 +03:00
Nikolai Kochetov
6e38d9ec10 Update test. 2020-06-19 15:26:03 +03:00
Alexandr Kondratev
3cc829ace4
fix a typo in http interface doc (#11789) 2020-06-19 15:16:45 +03:00
Alexey Milovidov
cebec2115b Added missing compile options from original Hyperscan 2020-06-19 14:57:31 +03:00
Alexey Milovidov
26ea16537c Added a test for stack unwinding from within Hyperscan 2020-06-19 14:50:33 +03:00
alexey-milovidov
3e06182079
Update InterpreterSelectQuery.cpp 2020-06-19 14:28:48 +03:00
alexey-milovidov
397f0aa721
Merge pull request #11746 from azat/build-fix
Fix usage/linking of static dbms library (add clickhouse_aggregate_functions)
2020-06-19 14:26:52 +03:00
Ivan Blinkov
9ac27ba013
Refresh distinctive-features.md with recent features 2020-06-19 14:21:52 +03:00
Nikolai Kochetov
f7b4039058 Added test. 2020-06-19 14:13:03 +03:00
Nikolai Kochetov
0335c698e0 Limit the number of threads. 2020-06-19 13:57:44 +03:00