Commit Graph

4996 Commits

Author SHA1 Message Date
Antonio Andelic
0d38aa98ce Merge branch 'master' into read-cgroup-memory-usage-async-metrics 2024-08-09 15:44:47 +02:00
Nikita Taranov
b757522fc4 fix build 2024-08-09 14:20:57 +01:00
Nikita Taranov
ffa1371dde Merge branch 'master' into keep_alive_max_reqs 2024-08-09 12:24:45 +01:00
Yarik Briukhovetskyi
aebb07884b
Merge branch 'master' into hive_style_partitioning 2024-08-09 11:53:14 +02:00
Robert Schulze
f14112fb8a
Merge pull request #67963 from rschu1ze/fix-concurrent_threads_soft_limit_ratio
Fix CPU count detection for `concurrent_threads_soft_limit_ratio` in in containers
2024-08-09 07:58:29 +00:00
pufit
99fbef3340
Merge branch 'master' into pufit/fuzz-query-revert-revert 2024-08-08 20:12:23 -04:00
Yarik Briukhovetskyi
edccd30016
Merge branch 'ClickHouse:master' into hive_style_partitioning 2024-08-08 14:52:33 +02:00
Nikita Mikhaylov
4c289aa2dc
Merge pull request #64183 from vitlibar/ts-engine
Add new TimeSeries table engine to handle Prometheus protocols
2024-08-08 12:03:12 +00:00
Yarik Briukhovetskyi
6384488826
Merge branch 'ClickHouse:master' into hive_style_partitioning 2024-08-08 11:45:01 +02:00
Robert Schulze
f2c8d9678c
Merge remote-tracking branch 'ClickHouse/master' into fix-concurrent_threads_soft_limit_ratio 2024-08-08 09:09:44 +00:00
Alexey Milovidov
6a2ebfc95b
Revert "Use Atomic database by default in clickhouse-local" 2024-08-08 10:07:14 +02:00
pufit
6c0cc194d3
Merge branch 'master' into pufit/fuzz-query-revert-revert 2024-08-07 23:26:05 -04:00
Alexey Milovidov
4fac40a3cb Step back 2024-08-08 04:41:22 +02:00
Alexey Milovidov
e37772e3c4 Merge branch 'master' into format-settings-parsing 2024-08-08 02:28:56 +02:00
Yarik Briukhovetskyi
9e3a2931d2
Merge branch 'master' into hive_style_partitioning 2024-08-07 23:59:34 +02:00
Nikita Mikhaylov
f37e0c7fc6 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ts-engine 2024-08-07 21:01:13 +00:00
Alexander Tokmakov
a523125411
Merge pull request #66410 from ClickHouse/reject_poco
Add logs and metrics about rejected connections in Poco
2024-08-07 16:40:59 +00:00
Yakov Olkhovskiy
b246f7c17c merge master 2024-08-07 16:25:31 +00:00
khodyrevyurii
00b62b1c0d
Minor clarifycation for method getNumberOfPhysicalCPUCores 2024-08-07 08:47:55 +00:00
khodyrevyurii
c933a38955
change std:🧵:hardware_concurrency on container friendly method getNumberOfPhysicalCPUCores 2024-08-07 08:47:53 +00:00
Nikita Taranov
053285dc1c Merge branch 'master' into keep_alive_max_reqs 2024-08-06 20:55:48 +01:00
Alexander Tokmakov
77103aa729 Merge branch 'master' into reject_poco 2024-08-06 19:52:05 +02:00
MikhailBurdukov
304d01e2c3 Review fix 2024-08-06 15:21:49 +00:00
MikhailBurdukov
3ebc3852f4 Allow filtering ip addresses by ip family in DNS resolver 2024-08-06 15:21:49 +00:00
Nikita Mikhaylov
80d2686013 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ts-engine 2024-08-06 13:12:03 +02:00
Alexey Milovidov
6a3d4152d7 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-08-06 03:29:50 +02:00
Alexey Milovidov
3419b916a9
Merge pull request #66457 from AVMusorin/add-play-now-param
Allow run query instantly in play
2024-08-06 00:50:51 +00:00
Nikita Mikhaylov
6f025090eb Merge branch 'master' of github.com:ClickHouse/ClickHouse into ts-engine 2024-08-05 17:46:14 +02:00
Yarik Briukhovetskyi
9b06753bb7
Merge branch 'master' into hive_style_partitioning 2024-08-05 17:02:27 +02:00
Alexey Milovidov
f601b2870e
Merge pull request #65978 from azat/keeper-config-cleanup
Remove default values for certificateFile/privateKeyFile/dhParamsFile in keeper config (to avoid annoying errors in logs)
2024-08-05 12:25:48 +00:00
vdimir
7add8ecc7a
Merge pull request #67135 from azat/local/config-from-home
Read configuration for clickhouse-local from ~/.clickhouse-local
2024-08-05 09:44:22 +00:00
Azat Khuzhin
eed2edd7db Comment certificateFile/privateKeyFile/dhParamsFile in keeper config
Otherwise you will get annoying messages at startup:

    2024.07.02 10:03:38.331593 [ 1 ] {} <Error> CertificateReloader: Cannot obtain modification time for certificate file /etc/clickhouse-keeper/server.crt, skipping update. errno: 2, strerror: 0
    2024.07.02 10:03:38.331658 [ 1 ] {} <Error> CertificateReloader: Cannot obtain modification time for key file /etc/clickhouse-keeper/server.key, skipping update. errno: 2, strerror: 0
    2024.07.02 10:03:38.341085 [ 1 ] {} <Error> CertificateReloader: Poco::Exception. Code: 1000, e.code() = 0, SSL context exception: Error loading private key from file /etc/clickhouse-keeper/server.key: error:80000002:system library::No such file or directory

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-04 16:20:42 +02:00
Alexey Milovidov
3efa208680
Merge pull request #67729 from ClickHouse/fix-typo
Fix a typo
2024-08-03 23:04:41 +00:00
Alexey Milovidov
6a20f777f6
Merge pull request #67428 from ClickHouse/enable-text-log
Enable `text_log` by default
2024-08-03 23:02:40 +00:00
Alexey Milovidov
8b39486e21 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-08-04 00:59:31 +02:00
Alexey Milovidov
a2b1131cc8 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-08-03 20:19:49 +02:00
Alexey Milovidov
65bba77771 Fix typo 2024-08-03 18:30:33 +02:00
Vitaly Baranov
03ebab2ca5 Refactor factory of PrometheusRequestHandler to make extending it easier. 2024-08-03 16:20:23 +02:00
Alexey Milovidov
090fb59194 Automatic field width of chart parameters 2024-08-03 02:20:58 +02:00
Alexey Milovidov
eeb8c1caac Improve margins when there are many parameters 2024-08-03 02:06:53 +02:00
Alexey Milovidov
a99f9bb603 Focus on the mass editor 2024-08-03 01:50:27 +02:00
Alexey Milovidov
95659de265 Fix invalid detection of an empty result 2024-08-03 01:45:41 +02:00
Alexey Milovidov
a6f9dd4447 Improve dashboard 2024-08-03 01:35:10 +02:00
Alexey Milovidov
a431ab3e4b Improve dashboard 2024-08-03 01:31:02 +02:00
Igor Nikonov
76847d9b4c Fix(asan) : access destroyed shared context from handleCrash() 2024-08-02 22:43:05 +00:00
pufit
0ec292a65f Revert "Revert "FuzzQuery table function""
This reverts commit ff44b206
2024-08-02 00:32:01 -04:00
Alexey Milovidov
26e42036b3 Merge branch 'master' into enable-text-log 2024-07-31 22:46:56 +02:00
Yarik Briukhovetskyi
fac73a0944
Merge branch 'master' into hive_style_partitioning 2024-07-31 18:25:08 +02:00
Raúl Marín
850b7f71fb
Merge pull request #66528 from Algunenano/getSettingsCopy
Rename Context::getSettings()
2024-07-31 09:55:21 +00:00
Yakov Olkhovskiy
adf7ee1c7a merge master 2024-07-30 23:05:45 +00:00
Nikita Mikhaylov
14d0cc2bf3
Merge pull request #67228 from ClickHouse/drop-tables-even-faster
Cleanup code and speedup table removal
2024-07-30 22:50:36 +00:00
Alexey Milovidov
52ce61a006 Merge branch 'master' into enable-text-log 2024-07-30 20:18:25 +02:00
Sergei Trifonov
05f1d122b1
Merge pull request #67232 from azat/dashboard-from-config-resubmit
Add ability to load dashboards for system.dashboards from config
2024-07-30 13:18:22 +00:00
Nikita Mikhaylov
61cf7668c7
Merge pull request #66549 from ClickHouse/client-base-application
Uninteresting change: introducing `ClientApplicationBase`
2024-07-30 12:50:23 +00:00
Yarik Briukhovetskyi
f0da5c528f
Merge branch 'master' into hive_style_partitioning 2024-07-30 11:49:14 +02:00
Antonio Andelic
2ea4bfe04d
Merge pull request #67098 from ClickHouse/add-numactl
Try calculating available memory if ClickHouse is bound to subset of NUMA nodes
2024-07-30 08:30:58 +00:00
Alexey Milovidov
a70571762f Enable text_log by default 2024-07-30 10:08:35 +02:00
Yakov Olkhovskiy
c1f45f632b merge master 2024-07-30 05:12:43 +00:00
Nikita Mikhaylov
2aafd71146 Moved settings to ServerSettings and made the table drop even faster
(cherry picked from commit e1eb542dcc2b9fbc6a470a3cd9a183e79c86d7c7)
2024-07-30 00:39:29 +02:00
Nikita Mikhaylov
1c9d60ca97 Refactoring 2024-07-29 17:28:03 +00:00
Kruglov Pavel
813f4015db
Merge branch 'master' into json-data-type 2024-07-29 13:08:51 +02:00
Antonio Andelic
ba1c191331
Update programs/keeper/Keeper.cpp
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2024-07-29 11:47:57 +02:00
wxybear
906d709d84
clickhouse-client/local: make multi-query mode the default 2024-07-29 09:44:59 +00:00
Raúl Marín
4fab47aa54 Merge remote-tracking branch 'blessed/master' into getSettingsCopy 2024-07-29 11:31:43 +02:00
Alexey Milovidov
099cdab82e Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-28 23:21:37 +02:00
Alexey Milovidov
47af56e9c0
Merge pull request #67290 from ClickHouse/test-keeper-map-add-retries
Add retries to test `02911_backup_restore_keeper_map`
2024-07-28 16:48:18 +02:00
Antonio Andelic
a9b947d9ac Extract common 2024-07-28 11:51:09 +02:00
Antonio Andelic
6f2d25cc39 Merge branch 'master' into add-numactl 2024-07-28 11:29:26 +02:00
Alexey Milovidov
61cc5a1e54 Add retries to test 02911_backup_restore_keeper_map 2024-07-27 23:17:38 +02:00
Alexey Milovidov
d6c0f4d4a5 Merge branch 'master' into fix-bad-test-gerasimchuk 2024-07-27 22:59:58 +02:00
Vitaly Baranov
b64c781457
Merge pull request #67133 from vitlibar/fix-context-race-in-clickhouse-local
Use a separate client context in clickhouse-local
2024-07-27 20:12:24 +00:00
Alexey Milovidov
23cd9f2224 Fix bad test @Demilivor 2024-07-27 17:18:45 +02:00
Vitaly Baranov
554cf91f4b Add missing call applyCmdOptions(). 2024-07-27 14:43:26 +02:00
Vitaly Baranov
46218b68ff Initialize the client_context after quota_key in clickhouse-client. 2024-07-27 06:32:26 +02:00
Azat Khuzhin
870ec237bb Add ability to load dashboards for system.dashboards from config
One of the obvious reasons is to allow rendering them with readonly
user, which is not possible right now, due to usage of merge() function
there.

Another one, is to add some custom metrics.

Note, that once set, they overrides the default dashboards preset.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-26 21:21:09 +02:00
Vitaly Baranov
0cf0437196 Use separate client context in clickhouse-local 2024-07-26 13:26:15 +02:00
Antonio Andelic
71a5a42f8f Merge branch 'master' into read-cgroup-memory-usage-async-metrics 2024-07-26 11:17:54 +02:00
Antonio Andelic
287cce7d21 Fixes 2024-07-26 09:20:15 +02:00
Antonio Andelic
cd4b56b031 Merge branch 'master' into add-numactl 2024-07-26 08:22:41 +02:00
Azat Khuzhin
5ea867231b Read configuration for clickhouse-local from ~/.clickhouse-local
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-25 17:09:35 +02:00
Antonio Andelic
670413a69d
Merge pull request #67016 from ClickHouse/static-order-mess
Try to fix exception logging in destructors of static objects
2024-07-25 13:46:22 +00:00
Antonio Andelic
2988e13050 Free bitmask 2024-07-25 13:55:01 +02:00
Antonio Andelic
6557387148 Try calcualting memory with numactl if membind used 2024-07-25 11:49:02 +02:00
Antonio Andelic
67567fcff4 Fix build 2024-07-24 19:51:22 +02:00
Raúl Marín
ff44b20661
Revert "FuzzQuery table function" 2024-07-24 14:51:48 +02:00
Alexey Milovidov
3631bf4872 Fix tidy 2024-07-24 14:45:58 +02:00
Alexey Milovidov
089b6fd579 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-24 10:18:20 +02:00
Antonio Andelic
d78cfd030f Use cgroups as source 2024-07-23 10:33:12 +02:00
Alexey Milovidov
0d2459f0de JavaScript 2024-07-22 16:18:48 +02:00
Alexey Milovidov
af53fd96a7 JavaScript Programming 2024-07-22 16:18:48 +02:00
Alexey Milovidov
02704bc5cc Different 2024-07-22 16:18:48 +02:00
Alexey Milovidov
eb4cddd139 Allow run=1 to save space 2024-07-22 16:18:48 +02:00
Alexey Milovidov
11aee643ad Convert to bool 2024-07-22 16:18:48 +02:00
Alexey Milovidov
85afb1757e Rename variables 2024-07-22 16:18:48 +02:00
Aleksandr Musorin
85241b3b8e Allow run query instantly in play
Automatically execute the query after the page loads if the
`play_now=true` parameter is present. By default, the query does not
execute automatically.

Reason:

While it might be acceptable to click `Run` once or twice, it becomes
tedious when using the play service frequently as a simple frontend to
generate and open multiple links. This change eliminates the need to
click `Run` every time.
2024-07-22 16:18:48 +02:00
Antonio Andelic
1c3f7d0fd0 Small fix 2024-07-22 15:18:13 +02:00
Antonio Andelic
1d1dc9c7ad
Merge branch 'master' into read-cgroup-memory-usage-async-metrics 2024-07-21 10:37:01 +01:00
Yakov Olkhovskiy
dac5996dda Merge branch 'master' into ft-chunked-protocol 2024-07-20 23:01:56 +00:00
Kruglov Pavel
74670e7d20
Merge branch 'master' into json-data-type 2024-07-20 20:52:51 +02:00
Alexey Katsman
32d3ebf799
Merge pull request #66526 from alexkats/gwp
Don't start GWP allocations until init is finished
2024-07-20 16:53:53 +00:00