Commit Graph

5196 Commits

Author SHA1 Message Date
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
Kirill Nikiforov
e5119ce61f
fix joins and rename ENABLE_MONGODB -> USE_MONGODB 2024-08-04 00:51:27 +03: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
Pablo Marcos
27cada2017 Merge branch 'master' into system-query-metric-log 2024-08-02 13:23:31 +00:00
pufit
0ec292a65f Revert "Revert "FuzzQuery table function""
This reverts commit ff44b206
2024-08-02 00:32:01 -04:00
Kirill Nikiforov
114d214ba4
fix tests and seg fault 2024-08-01 21:56:56 +03:00
Alexey Milovidov
26e42036b3 Merge branch 'master' into enable-text-log 2024-07-31 22:46:56 +02:00
serxa
184c156e09 Merge branch 'master' into fix-use-concurrency-control 2024-07-31 17:21:55 +00:00
Yarik Briukhovetskyi
fac73a0944
Merge branch 'master' into hive_style_partitioning 2024-07-31 18:25:08 +02:00
vdimir
90d2d36209
Merge branch 'master' into pr/allmazz/63279 2024-07-31 12:09:46 +00:00
Raúl Marín
850b7f71fb
Merge pull request #66528 from Algunenano/getSettingsCopy
Rename Context::getSettings()
2024-07-31 09:55:21 +00:00
serxa
384e2ff399 Merge branch 'master' into fix-use-concurrency-control 2024-07-31 07:25:16 +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
vdimir
7eddb93935
Merge branch 'master' into pr/allmazz/63279 2024-07-30 10:54:45 +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
Kirill Nikiforov
c23e3d8663
Merge branch 'master' into mongodb_refactoring 2024-07-27 15:33:46 +03: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
Julia Kartseva
54428becb3 add keystroke interceptor 2024-07-24 04:11:35 +00: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
Pablo Marcos
ba8f82e6cf Merge branch 'master' into system-query-metric-log 2024-07-21 15:25:58 +00: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
Julia Kartseva
1ea72d3453 Merge remote-tracking branch 'upstream/master' into interactive-metrics-table 2024-07-20 01:35:30 +00:00
Pablo Marcos
a561899da0 Rename system.query_log_metric to system.query_metric_log
Seems I had at the very beginning a brainfart and started using
query_log_metric instead of query_metric_log and it went on and on
:facepalm
2024-07-19 14:13:15 +00:00
Alex Katsman
eb51dc8980 Don't start GWP allocations until init is finished 2024-07-19 13:34:50 +00:00
Han Fei
424b96011c Merge branch 'master' into hanfei/keeperrocks 2024-07-19 11:25:01 +00:00
Raúl Marín
cb66bfa5e9 Merge remote-tracking branch 'blessed/master' into getSettingsCopy 2024-07-19 11:41:14 +02:00
Pablo Marcos
fd24e5b6f4 Merge branch 'master' into system-query-metric-log 2024-07-19 08:45:21 +00:00
Raúl Marín
68cd15a18c Merge remote-tracking branch 'blessed/master' into getSettingsCopy 2024-07-18 14:25:10 +02:00
Nikita Mikhaylov
03e6085ef4
Merge pull request #66694 from ClickHouse/fix-something
Fix something around clang-tidy
2024-07-18 09:46:38 +00:00
Antonio Andelic
9a43183eb3 Finish background memory thread 2024-07-18 10:40:47 +02:00
Pablo Marcos
f6b98de6c7 Merge branch 'master' into system-query-metric-log 2024-07-18 08:19:52 +00:00
Antonio Andelic
c413e7a494 Merge branch 'master' into read-cgroup-memory-usage-async-metrics 2024-07-18 09:01:54 +02:00
Antonio Andelic
21009577d8 Dedicated memory background thread 2024-07-18 09:01:20 +02:00
Alexey Milovidov
4217d029c0 Fix something 2024-07-18 03:33:36 +02:00
Alexey Milovidov
f7ca8513d0
Merge branch 'master' into uninteresting-changes 2024-07-17 18:30:19 +02:00
Antonio Andelic
97f4ec2adb Read cgroup memory usage in async metrics thread 2024-07-17 16:59:35 +02:00
Han Fei
aebadce491 Merge branch 'master' into hanfei/keeperrocks 2024-07-17 13:52:15 +00:00
Alexey Milovidov
e672353913 Merge branch 'master' into format-settings-parsing 2024-07-17 07:01:04 +02:00
Yakov Olkhovskiy
452d463d77
Merge pull request #65238 from peacewalker122/master
feat: support accept_invalid_certificate in client's config
2024-07-17 03:54:39 +00:00
Alexey Milovidov
f5db89faa2 Merge branch 'update-tidy-for-clang-19' into format-settings-parsing 2024-07-17 05:53:36 +02:00
Alexey Milovidov
d62d1fd73f Merge branch 'update-tidy-for-clang-19' into uninteresting-changes 2024-07-17 05:51:46 +02:00
Yakov Olkhovskiy
f07a395bf1 Merge branch 'master' into ci-fuzzer-enable 2024-07-17 03:43:57 +00:00
Julia Kartseva
132ba9c749 Merge remote-tracking branch 'upstream/master' into interactive-metrics-table 2024-07-17 00:44:54 +00:00
Alexey Milovidov
86db32054e Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-17 01:04:39 +02:00
Pablo Marcos
ca77e7252f Add query_log_metric to config samples 2024-07-16 12:40:05 +00:00
avogar
0ef65fbd13 Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-data-type 2024-07-16 10:09:27 +00:00
Yakov Olkhovskiy
b69978b5df Merge remote-tracking branch 'upstream/master' 2024-07-16 05:54:33 +00:00
Julia Kartseva
8b567d63b0 Merge remote-tracking branch 'upstream/master' into interactive-metrics-table 2024-07-16 01:08:37 +00:00
Yakov Olkhovskiy
7de367d692 Merge branch 'master' into ci-fuzzer-enable 2024-07-15 20:58:42 +00:00
Alexander Tokmakov
09dc79ad3a Merge branch 'master' into reject_poco 2024-07-15 20:17:28 +02:00
Yarik Briukhovetskyi
4a7c52900a
Merge branch 'master' into hive_style_partitioning 2024-07-15 19:05:21 +02:00
Alexey Milovidov
6eb2b18c69 Merge branch 'master' into uninteresting-changes 2024-07-15 18:36:27 +02:00
Pablo Marcos
10945fe108 Add documentation for system.query_log_metric 2024-07-15 14:23:20 +00:00
Nikita Taranov
7fe35a83b6 impl 2024-07-15 14:26:30 +01:00
Raúl Marín
b2466466d4 Rename Context::getSettings() 2024-07-15 14:28:12 +02:00
Pablo Marcos
9b36d0b61c Add system.query_log_metric table 2024-07-15 09:45:41 +00:00
Raúl Marín
e4f348acc7
Merge pull request #66404 from Algunenano/mergetree_private
Untangle setting headers
2024-07-15 08:49:05 +00:00
Yakov Olkhovskiy
e55fcb3265 add docs to client xml config 2024-07-15 01:48:55 +00:00
Yakov Olkhovskiy
12ca7c3641 Merge remote-tracking branch 'upstream/master' 2024-07-15 01:34:53 +00:00
Alexey Milovidov
904874fe14 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-14 21:33:02 +02:00
Alexey Milovidov
39e3356bc0 Merge branch 'master' into uninteresting-changes 2024-07-14 21:32:01 +02:00
Yakov Olkhovskiy
698b5ce7fa Merge branch 'master' into ci-fuzzer-enable 2024-07-14 05:31:56 +00:00
Yakov Olkhovskiy
0fc14520c8 add server termination on exit 2024-07-13 23:06:37 +00:00
Alexey Milovidov
c322c6b423
Merge pull request #66398 from azat/play-elapsed
Add query elapsed time for non-default format in play UI
2024-07-13 21:30:56 +00:00
Alexey Milovidov
7f8eba785d Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-13 22:45:40 +02:00
Alexey Milovidov
96d3c31190
Update play.html 2024-07-13 18:51:00 +02:00
Alexey Milovidov
9745a5dd74 Merge branch 'master' into format-settings-parsing 2024-07-12 23:19:54 +02:00
avogar
11d56a08cd Fix clickhouse-format 2024-07-12 20:16:47 +00:00
Yakov Olkhovskiy
1836a69b33 Merge branch 'master' into ft-chunked-protocol 2024-07-12 15:43:25 +00:00
serxa
bf125d5da6 Merge branch 'master' into fix-use-concurrency-control 2024-07-12 08:44:12 +00:00
Alexander Tokmakov
243edcc8aa add logs and metrics about rejected connections in Poco 2024-07-12 01:11:18 +02:00
Raúl Marín
e559899193 Random missing headers 2024-07-12 00:00:47 +02:00
Raúl Marín
1b75b8f4eb Merge remote-tracking branch 'blessed/master' into mergetree_private 2024-07-11 19:58:54 +02:00
Azat Khuzhin
cdb3b3f2aa Add query elapsed time for non-default format in play UI
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-11 16:43:20 +02:00
Raúl Marín
9e599576ab Hide Settings object from Context.h 2024-07-11 14:00:05 +02:00
Alexey Milovidov
344630e5c4 Merge branch 'master' into uninteresting-changes 2024-07-11 04:58:38 +02:00
Alexey Milovidov
8fe50f5a8f Merge branch 'master' into named-collections-in-clickhouse-local 2024-07-11 04:56:10 +02:00
Yarik Briukhovetskyi
052520fa03
Merge branch 'master' into hive_style_partitioning 2024-07-10 19:46:07 +02:00
yariks5s
a751719a33 fixes due to review 2024-07-10 17:44:06 +00:00
Raúl Marín
314174013b Reduce dependencies on ServerSettings.h 2024-07-10 18:10:19 +02:00
Han Fei
664d45c247 Merge branch 'master' into hanfei/keeperrocks 2024-07-10 13:03:00 +00:00
Yakov Olkhovskiy
2794b7bf84 defaults to notchunked, add docs to server's and client's configs 2024-07-10 00:20:11 +00:00
Han Fei
027c855fcb Merge branch 'master' into hanfei/keeperrocks 2024-07-09 23:13:48 +00:00
Yakov Olkhovskiy
9db80a6e2d more testing with chunked 2024-07-09 17:47:05 +00:00
Raúl Marín
a339dd020f Reduce dependencies on MergeTreeSettings.h 2024-07-09 19:39:41 +02:00
Konstantin Bogdanov
053228eea1
Empty user when JWT is set 2024-07-08 17:29:32 +02:00
Yarik Briukhovetskyi
4cee6fb039
Merge branch 'master' into hive_style_partitioning 2024-07-08 16:11:27 +02:00
Daniil Ivanik
d00b12d0a9
Merge pull request #64446 from divanik/divanik/fix_clickhouse_disks_2
Interactive client for clickhouse-disks
2024-07-08 09:00:15 +00:00
Antonio Andelic
1a192a8369
Merge pull request #65563 from azat/keeper-configs-fixes
Fix clickhouse-keeper with not system-wide directories and provide override for local development
2024-07-08 07:34:08 +00:00
Yarik Briukhovetskyi
e646713122
Merge branch 'ClickHouse:master' into hive_style_partitioning 2024-07-07 21:55:39 +02:00
Alexey Milovidov
ac2d5261d7 Merge branch 'master' into uninteresting-changes 2024-07-07 12:51:56 +02:00
Alexey Milovidov
310ee5061c Merge branch 'master' of github.com:ClickHouse/ClickHouse into named-collections-in-clickhouse-local 2024-07-07 12:49:15 +02:00
Alexey Milovidov
17c6b97cbc Fix error 2024-07-06 03:16:13 +02:00
Yakov Olkhovskiy
a9aaa2ab78 Merge remote-tracking branch 'origin/master' into ci-fuzzer-enable 2024-07-06 00:48:09 +00:00
Alexey Milovidov
d02863ebb3 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-06 02:20:21 +02:00
Alexey Milovidov
c7c77a3322 Merge branch 'named-collections-in-clickhouse-local' of github.com:ClickHouse/ClickHouse into named-collections-in-clickhouse-local 2024-07-06 02:04:57 +02:00
Alexey Milovidov
d183e3adc9 Merge branch 'master' into named-collections-in-clickhouse-local 2024-07-06 01:32:43 +02:00
Alexey Milovidov
278f2bb14f Merge branch 'master' of github.com:ClickHouse/ClickHouse into format-settings-parsing 2024-07-05 22:57:11 +02:00
pufit
4195ce2183
Merge branch 'master' into pufit/startup-scripts 2024-07-05 13:52:58 -04:00
Anton Popov
907a365926
Merge pull request #66098 from CurtizJ/better-sanitizer-message
More precise warning message about sanitizers
2024-07-05 14:15:28 +00:00
Alexey Milovidov
dbcc2c6979 Merge branch 'master' into format-settings-parsing 2024-07-05 15:53:23 +02:00
Yarik Briukhovetskyi
8bd3a3c59d
Merge branch 'master' into hive_style_partitioning 2024-07-05 14:56:11 +02:00
yariks5s
942f7d7532 fixes after review 2024-07-05 12:44:31 +00:00
pufit
0a5ee12f0b
Merge pull request #62103 from ClickHouse/pufit/fuzz-query
FuzzQuery table function
2024-07-04 20:46:47 +00:00
Antonio Andelic
ec6739120c
Merge pull request #66041 from ClickHouse/try-disabling-jemalloc-background-threads
Try disabling jemalloc background threads
2024-07-04 20:30:39 +00:00
kssenii
d6050a85fe Merge remote-tracking branch 'origin/master' into fix-read-settings-in-index-loading 2024-07-04 20:01:41 +02:00
Anton Popov
93afc8e613 more precise warning message about sanitizers 2024-07-04 15:11:29 +00:00
divanik
4815f0d6ff Resolve conflicts 2024-07-04 14:09:43 +00:00
divanik
eff9fd519d Merge sth 2024-07-04 13:52:05 +00:00
divanik
b4be9d5c6f Fix address 2024-07-04 13:40:36 +00:00
Antonio Andelic
975e8ee14a
Merge pull request #65910 from ClickHouse/keeper-remove-standalone-build
Remove standalone Keeper build
2024-07-04 12:14:42 +00:00
Antonio Andelic
613ed1ebbf Merge branch 'master' into try-disabling-jemalloc-background-threads 2024-07-04 13:58:26 +02:00
Antonio Andelic
c93d8cbb66 Fixes 2024-07-04 13:57:47 +02:00
Han Fei
36e51f3ce0 Merge branch 'master' into hanfei/keeperrocks 2024-07-04 11:46:26 +00:00
Kseniia Sumarokova
15ad290ae4
Merge branch 'master' into named-collections-in-clickhouse-local 2024-07-04 12:19:58 +02:00
Kseniia Sumarokova
76a819649b
Merge branch 'master' into fix-read-settings-in-index-loading 2024-07-04 11:51:02 +02:00
Alexey Milovidov
bf312f200c DatabaseOverlay: add support for rename 2024-07-04 05:24:42 +02:00
Alexey Milovidov
943fc28e1e Merge branch 'master' into atomic-database-in-clickhouse-local 2024-07-04 02:50:05 +02:00
Alexey Milovidov
2b3f1ef3aa
Merge pull request #65556 from azat/dashboard-user-from-url
Parse user from URL for dashboard.html (useful for sharing)
2024-07-04 00:45:07 +00:00
Antonio Andelic
86056a8fdc
Merge pull request #66028 from ClickHouse/remove-scary-jemalloc-log
Remove scary jemalloc log
2024-07-03 16:59:04 +00:00
Antonio Andelic
5875694669 Fix includes 2024-07-03 18:48:32 +02:00
kssenii
5252ca59ca Merge remote-tracking branch 'origin/master' into fix-read-settings-in-index-loading 2024-07-03 18:00:46 +02:00
Antonio Andelic
07f51e02ed Reuse some checks 2024-07-03 16:54:09 +02:00
Antonio Andelic
cddd2312fb Merge branch 'master' into keeper-remove-standalone-build 2024-07-03 16:23:31 +02:00
Kseniia Sumarokova
dd9bf6d792
Merge pull request #65738 from RodolpheDuge/fix_odbc_nullable_fields
fix ODBC table with nullable fields
2024-07-03 09:43:47 +00:00
Antonio Andelic
c86cdbb243 Remove scary jemalloc log 2024-07-03 11:05:34 +02:00
pufit
497ab310be Merge branch 'master' into pufit/fuzz-query
# Conflicts:
#	src/Storages/registerStorages.cpp
2024-07-03 00:02:54 -04:00
Kseniia Sumarokova
e45a905904
Update LocalServer.cpp 2024-07-02 11:52:51 +02:00
Alexey Milovidov
4f61f530bd Named collections in clickhouse-local 2024-07-02 11:22:05 +02:00
Azat Khuzhin
2991e27183 Parse user from URL for dashboard.html (useful for sharing)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-07-02 07:38:39 +02:00
divanik
242b553253 Change unique_ptr creation to shared_ptr 2024-07-01 17:35:07 +00:00
divanik
a163007325 Change creation criteria of a local disk 2024-07-01 15:33:34 +00:00
Antonio Andelic
b0bbc9c810 Fix symlinks 2024-07-01 16:01:57 +02:00
divanik
9e92aed2de Correct style check 2024-07-01 13:24:13 +00:00
kssenii
ba1a23d0ea Remove default constructor of ReadSettings 2024-07-01 14:54:51 +02:00
divanik
fee7da5ed3 Corrected tests 2024-07-01 12:46:17 +00:00
divanik
bb0b93f77d Change wrong implementations of copy and move 2024-07-01 11:11:16 +00:00
divanik
90601e0a1d Merge branch 'divanik/fix_clickhouse_disks_2' of github.com:divanik/ClickHouse; branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-07-01 11:10:05 +00:00
Antonio Andelic
4a9daa202d Remove Keeper standalone build 2024-07-01 11:24:45 +02:00
Antonio Andelic
6b47171f2c Keeper binary with different entrypoint 2024-07-01 10:52:08 +02:00
Yakov Olkhovskiy
7f528cc1a0 fix client, fix tests 2024-07-01 06:02:41 +00:00
Alexey Milovidov
488767e601 Uninteresting changes 2024-07-01 02:38:42 +02:00
Alexey Milovidov
41c493ad0c Merge branch 'master' into atomic-database-in-clickhouse-local 2024-06-30 20:59:08 +02:00
Alexey Milovidov
02928bb207 Use Atomic database by default in clickhouse-local 2024-06-30 05:09:53 +02:00
Alexey Milovidov
4b3e7a6651 Merge branch 'master' into format-settings-parsing 2024-06-29 21:57:01 +02:00
Alexey Milovidov
042c43e48f Merge branch 'master' into local-memory-limit 2024-06-29 21:45:10 +02:00
Alexey Milovidov
a922b57ccc
Merge pull request #65532 from ClickHouse/no-jemalloc-message
Do not print jemalloc message at startup
2024-06-29 13:50:20 +00:00
Alexey Milovidov
9113981d0c Merge branch 'master' into dont-load-outdated-parts-on-readonly 2024-06-29 04:38:44 +02:00
Alexey Milovidov
6b912425f9 Merge branch 'master' into no-jemalloc-message 2024-06-29 04:34:40 +02:00
Alexey Milovidov
0a493b88f2 Merge branch 'master' into format-settings-parsing 2024-06-29 04:25:34 +02:00
Alexey Milovidov
c6e9894473 Merge branch 'master' into local-memory-limit 2024-06-29 04:19:12 +02:00
Alexander Tokmakov
4748e2929f
Merge pull request #65570 from ClickHouse/keeper_az
Improve ZooKeeper load balancing
2024-06-28 22:57:20 +00:00
Nikita Mikhaylov
191aad6b53
Merge pull request #65669 from ClickHouse/client-refactoring
Miscellaneous and insignificant changes around Client/ClientBase.
2024-06-28 11:44:40 +00:00
Kseniia Sumarokova
6236d9d66f
Merge branch 'master' into fix-read-settings-in-index-loading 2024-06-28 12:27:14 +02:00
divanik
7d4293f6f8 Make commands more profound 2024-06-28 00:21:19 +00:00
Nikita Taranov
f838c25d20
Merge pull request #65705 from ClickHouse/fix_linkage
Fix duplicate symbol linkage error
2024-06-27 23:02:09 +00:00
Nikita Taranov
b8e803218c remote shart 2024-06-27 13:32:23 +01:00
vdimir
77bdd5da8d
Merge branch 'master' into mongodb_refactoring 2024-06-27 12:24:04 +02:00
vdimir
27a72fd5c4
Merge branch 'master' into pufit/startup-scripts 2024-06-27 12:14:33 +02:00
János Benjamin Antal
0a79bd6bf7
Merge pull request #65559 from azat/fix-console_log_level
Fix logger.console_log_level (never works)
2024-06-27 08:51:12 +00:00
Rodolphe Dugé de Bernonville
c8bca3135d fix odbc and nullable fields 2024-06-27 09:55:24 +02:00
divanik
a67d468eaa Forbid unregistered options 2024-06-26 17:25:43 +00:00
divanik
5cebec8152 fix some issues 2024-06-26 15:59:15 +00:00
Yakov Olkhovskiy
57ea611876
Merge branch 'master' into ft-chunked-protocol 2024-06-26 10:12:38 -04:00
divanik
b387a8d86a Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-26 13:18:15 +00:00
Nikita Taranov
89a8925f80 impl 2024-06-26 12:02:15 +01:00
Robert Schulze
12bf75ce4d
Merge pull request #65547 from den-crane/fix/DEFAULT_MARK_CACHE_MAX_SIZE
Synchronize `MARK_CACHE_SIZE` value in default settings and config
2024-06-26 10:52:07 +00:00
Konstantin Bogdanov
665b4a9d1d
Merge pull request #62829 from ClickHouse/jwt-auth-in-client
Support JWT in `clickhouse-client`
2024-06-26 07:56:28 +00:00
Alexey Milovidov
628359ddc9 Add memory limit for clickhouse-local by default 2024-06-26 02:29:04 +02:00
Alexander Tokmakov
43cb2f6af7 remove trash 2024-06-26 02:03:22 +02:00
Alexey Milovidov
0f07ad4b1e Merge branch 'master' into no-jemalloc-message 2024-06-25 23:59:07 +02:00
Alexey Milovidov
ad5a3f533f Merge branch 'master' into dont-load-outdated-parts-on-readonly 2024-06-25 22:24:08 +02:00
divanik
5da4b69d57 Tried to fix tests 2024-06-25 17:20:42 +00:00
Nikita Mikhaylov
782669a9fd Refactor 2024-06-25 14:23:37 +00:00
alesapin
12a129d838
Merge pull request #65545 from ClickHouse/add_customizeable_config_reloader_interval
Add ability to change config reload interval
2024-06-25 14:18:54 +00:00
Alexey Milovidov
3b149d1e0b Merge branch 'master' into format-settings-parsing 2024-06-25 03:18:37 +02:00
Alexey Milovidov
029b24388b Merge branch 'master' into no-jemalloc-message 2024-06-25 03:11:38 +02:00
Alexey Milovidov
eda9b9d874 Do not load inactive parts on readonly disks 2024-06-25 01:37:46 +02:00
kssenii
f48e0da696 Fix ReadSettings 2024-06-24 18:32:38 +02:00
Sema Checherinda
fb2f0e78f7
Merge pull request #63985 from ianton-ru/protocols-tls-extend-params
More parameters for tls layer in protocols
2024-06-24 12:41:56 +00:00
divanik
45507dd7d7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-24 09:58:31 +00:00
alesapin
fc10bf544f Merge remote-tracking branch 'origin/master' into add_customizeable_config_reloader_interval 2024-06-24 11:38:02 +02:00
Robert Schulze
d6dfbe2762
Merge remote-tracking branch 'ClickHouse/master' into fix/DEFAULT_MARK_CACHE_MAX_SIZE 2024-06-24 09:16:49 +00:00
Kirill Nikiforov
edb3d0ab42
fix ssl, fix after master merge 2024-06-24 00:45:15 +03:00
Robert Schulze
322ab9f0d0
Merge pull request #65584 from rschu1ze/comp_expr_cache_settings
Show compiled expressions cache settings in `system.server_settings`
2024-06-23 20:30:20 +00:00
Denny Crane
a6a3991f39 comment out more default settings 2024-06-23 16:51:36 -03:00
Alexey Milovidov
73286bad85 Merge branch 'master' into format-settings-parsing 2024-06-23 21:36:50 +02:00
Alexey Milovidov
8d75fd53b2 Merge branch 'master' of github.com:ClickHouse/ClickHouse into no-jemalloc-message 2024-06-23 21:34:55 +02:00
Yakov Olkhovskiy
4240cb98fd
Merge branch 'master' into ft-chunked-protocol 2024-06-23 14:27:45 -04:00
Alexey Milovidov
d2e230744d
Merge pull request #65494 from ClickHouse/strict-parsing-in-keeper-client
Strict parsing in keeper client
2024-06-23 19:22:06 +02:00
Alexey Milovidov
602fa5cbad Fix error 2024-06-23 17:28:54 +02:00
Robert Schulze
4e1a68f33d
Show compiled expressions cache settings size in system.server_settings 2024-06-23 10:55:52 +00:00
Alexey Milovidov
e064171a68 Fix errors 2024-06-23 03:58:11 +02:00
Alexander Tokmakov
6b994b81a1 fix 2024-06-23 03:35:58 +02:00
Alexey Milovidov
c21cce7a04 Merge branch 'master' into format-settings-parsing 2024-06-23 03:14:51 +02:00
Azat Khuzhin
6dc68983e7 Fix keeper with non-system-wide directories
Otherwise it still tries to access default system-wide directory on
config reloading:

    2024.06.22 20:36:19.860615 [ 31600 ] {} <Error> Application: std::exception. Code: 1001, type: std::__1::__fs::filesystem::filesystem_error, e.what() = filesystem error: in create_directories: Permission denied ["/var/lib/clickhouse-keeper"], Stack trace (when copying this message, always include the lines below):

    0. /src/ch/clickhouse/contrib/llvm-project/libcxx/include/exception:141: std::runtime_error::runtime_error(String const&) @ 0x0000000016f16a17
    1. /src/ch/clickhouse/contrib/llvm-project/libcxx/include/string:1499: std::system_error::system_error(std::error_code, String const&) @ 0x0000000016f1d09f
    2. /src/ch/clickhouse/contrib/llvm-project/libcxx/include/__filesystem/filesystem_error.h:42: std::__fs::filesystem::filesystem_error::filesystem_error[abi:v15000](String const&, std::__fs::filesystem::path const&, std::error_code) @ 0x000000000b639ed2
    3. /src/ch/clickhouse/contrib/llvm-project/libcxx/include/__filesystem/filesystem_error.h:90: void std::__fs::filesystem::__throw_filesystem_error[abi:v15000]<String&, std::__fs::filesystem::path const&, std::error_code const&>(String&, std::__fs::filesystem::path const&, std::error_code const&) @ 0x0000000016ebaf96
    4. /src/ch/clickhouse/contrib/llvm-project/libcxx/src/filesystem/filesystem_common.h:173: std::__fs::filesystem::detail::(anonymous namespace)::ErrorHandler<bool>::report(std::error_code const&) const @ 0x0000000016ebe416
    5. /src/ch/clickhouse/contrib/llvm-project/libcxx/src/filesystem/operations.cpp:1030: std::__fs::filesystem::__create_directories(std::__fs::filesystem::path const&, std::error_code*) @ 0x0000000016ebec3d
    6. /src/ch/clickhouse/contrib/llvm-project/libcxx/src/filesystem/filesystem_common.h:161: std::__fs::filesystem::__create_directories(std::__fs::filesystem::path const&, std::error_code*) @ 0x0000000016ebed0e
    7. /src/ch/clickhouse/contrib/llvm-project/libcxx/include/string:1499: DB::ConfigProcessor::savePreprocessedConfig(DB::ConfigProcessor::LoadedConfig&, String) @ 0x00000000128362b3
    8. /src/ch/clickhouse/contrib/llvm-project/libcxx/include/string:1499: DB::ConfigReloader::reloadIfNewer(bool, bool, bool, bool) @ 0x000000001283c085
    9. /src/ch/clickhouse/src/Common/Config/ConfigReloader.cpp:33: DB::ConfigReloader::ConfigReloader(std::basic_string_view<char, std::char_traits<char>>, std::vector<String, std::allocator<String>> const&, String const&, zkutil::ZooKeeperNodeCache&&, std::shared_ptr<Poco::Event> const&, std::function<void (Poco::AutoPtr<Poco::Util::AbstractConfiguration>, bool)>&&, bool) @ 0x000000001283b457
    10. /src/ch/clickhouse/contrib/llvm-project/libcxx/include/__functional/function.h:818: ? @ 0x000000000b686ecd
    11. /src/ch/clickhouse/base/poco/Util/src/Application.cpp:0: Poco::Util::Application::run() @ 0x0000000014afb156
    12. /src/ch/clickhouse/programs/keeper/Keeper.cpp:165: DB::Keeper::run() @ 0x000000000b68317e
    13. /src/ch/clickhouse/base/poco/Util/src/ServerApplication.cpp:132: Poco::Util::ServerApplication::run(int, char**) @ 0x0000000014b0faf2
    14. /src/ch/clickhouse/programs/keeper/Keeper.cpp:0: mainEntryClickHouseKeeper(int, char**) @ 0x000000000b68227e
    15. /src/ch/clickhouse/programs/main.cpp:0: main @ 0x00000000061d6204
    16. ? @ 0x00007ffff7dc2c88
    17. ? @ 0x00007ffff7dc2d4c
    18. _start @ 0x00000000061d502e

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-06-22 20:50:27 +02:00
Azat Khuzhin
b013d95fd5 Provide keeper override for local development (rewrite path to current directory)
The same way like clickhouse-server has

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-06-22 20:50:27 +02:00
Alexey Milovidov
36037d28f8 Merge branch 'master' into no-jemalloc-message 2024-06-22 20:30:59 +02:00
Azat Khuzhin
ba99955f11 Add missing logger directives into config.xml
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-06-22 17:54:14 +02:00
Denny Crane
a902d37615 resolve ambiguity in MARK_CACHE_SIZE default settings 2024-06-21 15:39:57 -03:00
alesapin
104dc8fa3e Fix server settings 2024-06-21 19:16:27 +02:00
divanik
504cc3b090 Fix some tests 2024-06-21 16:27:21 +00:00
alesapin
0dc01f4a94 Add ability to change config reload interval 2024-06-21 18:24:20 +02:00
Alexey Milovidov
9dcaade3bb Merge branch 'master' into format-settings-parsing 2024-06-21 16:02:53 +02:00
Alexey Milovidov
54c0bdee09 Fix style 2024-06-21 16:00:20 +02:00
Alexey Milovidov
5c541af995 Do not print jemalloc message at startup 2024-06-21 15:15:13 +02:00
Pablo Marcos
932e4bf982
Merge pull request #65381 from pamarcos/system-error-log
Add system.error_log
2024-06-21 13:04:23 +00:00
divanik
d933d63c3b Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-21 12:22:10 +00:00
pufit
3786ca72d0 docs, review fixes 2024-06-21 02:02:30 -04:00
Konstantin Bogdanov
610b97d344
Merge pull request #65510 from ClickHouse/local/prompt-without-hostname
clickhouse-local: remove hostname from prompt
2024-06-21 01:52:55 +00:00
pufit
e1248d8d4d Merge branch 'master' into pufit/startup-scripts
# Conflicts:
#	src/Core/ServerSettings.h
2024-06-20 21:32:11 -04:00
Konstantin Bogdanov
3b7d69a2fe
Remove hostname from clickhouse-local prompt 2024-06-21 00:46:33 +02:00
Sema Checherinda
e36a641a80 Merge branch 'master' into protocols-tls-extend-params 2024-06-20 19:02:12 +02:00
Pablo Marcos
71f8937abd Merge branch 'master' into system-error-log 2024-06-20 16:33:44 +00:00
Alexey Milovidov
a447a25a9d Strict parsing in Keeper client 2024-06-20 15:17:05 +02:00
Alexey Milovidov
5edf7dd9df Strict parsing in Keeper client 2024-06-20 15:13:20 +02:00
divanik
b4ba760874 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-19 12:57:05 +00:00
Kseniia Sumarokova
784f66cf2f
Merge pull request #65239 from ClickHouse/tracing-try-2
Initialize global profiler for Poco::ThreadPool (needed for keeper, etc)
2024-06-19 09:00:46 +00:00
Konstantin Bogdanov
db541b95c7
Fix client failure 2024-06-19 04:29:47 +02:00
Konstantin Bogdanov
782bb68a48
Lint 2024-06-19 04:29:47 +02:00
Konstantin Bogdanov
28756a493e
Refactor with exceptions 2024-06-19 04:29:47 +02:00
Konstantin Bogdanov
f2583db8a1
Support JWT in clickhouse-client 2024-06-19 04:29:46 +02:00
Alexey Milovidov
11d54f4809 Pass-through settings from the client 2024-06-18 15:18:53 +02:00
alesapin
85771099f4
Merge pull request #64061 from ClickHouse/workload-for-merges
Workload classification for merges and mutations
2024-06-18 10:17:27 +00:00
Pablo Marcos
216d26987a Add test and config changes for system.error_log 2024-06-18 08:37:40 +00:00
Pablo Marcos
0ae0ca1a95 Add system.error_log that flushes periodically system.errors to disk 2024-06-18 08:37:40 +00:00
divanik
6f841d89e7 Fix tests 2024-06-17 17:41:28 +00:00
divanik
253d745ac5 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/fix_clickhouse_disks_2 2024-06-17 11:41:59 +00:00
Alexey Milovidov
204b27d0f0 Merge branch 'master' into async-load-by-default 2024-06-17 05:21:13 +02:00
Sergei Trifonov
a17d9d92d7
Merge branch 'master' into workload-for-merges 2024-06-14 18:35:43 +02:00
divanik
752bd00784 Corrected problems and tests 2024-06-14 13:54:12 +00:00
divanik
4ace4006d2 Add documentation for new features in interactive client 2024-06-14 13:02:41 +00:00
Kseniia Sumarokova
321f62d257
Merge pull request #64412 from ClickHouse/unite-storages3-and-disks3-settings
Refactor s3 settings (move settings parsing into single place)
2024-06-14 12:35:47 +00:00
Alexander Tokmakov
bc8c8ffd55
Merge pull request #64986 from ClickHouse/fix_init_order
Fix initialization order (ServerUUID/ZooKeeper)
2024-06-14 12:32:05 +00:00
divanik
2824ca64e0 Tests and code style 2024-06-14 11:06:56 +00:00
divanik
b8992f0397 Create integration test 2024-06-13 19:14:16 +00:00
kssenii
fb32a99578 Initialize global trace collector for Poco::ThreadPool 2024-06-13 19:20:58 +02:00
Daniel Anugerah
4489795502 feat: support accept_invalid_certificate in client's config 2024-06-14 00:40:44 +08:00
Duc Canh Le
82f12ac006 Merge branch 'master' into fix_keeper_default_global_pool
Fix CI
2024-06-13 15:16:58 +00:00
Kseniia Sumarokova
ef8810a60d
Merge branch 'master' into unite-storages3-and-disks3-settings 2024-06-13 14:24:04 +02:00
serxa
08a293a91f Merge branch 'master' into workload-for-merges 2024-06-11 21:33:25 +00:00
Antonio Andelic
f51ed35200 Merge branch 'master' into fix-gwp-asan 2024-06-11 16:57:50 +02:00
divanik
78325c89cc Change help message 2024-06-10 16:17:36 +00:00