Commit Graph

2099 Commits

Author SHA1 Message Date
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
Alexey Milovidov
61cc5a1e54 Add retries to test 02911_backup_restore_keeper_map 2024-07-27 23:17:38 +02:00
Alexey Milovidov
23cd9f2224 Fix bad test @Demilivor 2024-07-27 17:18:45 +02:00
Kirill Nikiforov
c23e3d8663
Merge branch 'master' into mongodb_refactoring 2024-07-27 15:33:46 +03: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
Antonio Andelic
287cce7d21 Fixes 2024-07-26 09:20:15 +02: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
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
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
Pablo Marcos
fd24e5b6f4 Merge branch 'master' into system-query-metric-log 2024-07-19 08:45:21 +00:00
Antonio Andelic
9a43183eb3 Finish background memory thread 2024-07-18 10:40:47 +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
Antonio Andelic
97f4ec2adb Read cgroup memory usage in async metrics thread 2024-07-17 16:59:35 +02:00
Alexey Milovidov
f5db89faa2 Merge branch 'update-tidy-for-clang-19' into format-settings-parsing 2024-07-17 05:53:36 +02:00
Pablo Marcos
ca77e7252f Add query_log_metric to config samples 2024-07-16 12:40:05 +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
Pablo Marcos
10945fe108 Add documentation for system.query_log_metric 2024-07-15 14:23:20 +00: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
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
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
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
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
Yakov Olkhovskiy
2794b7bf84 defaults to notchunked, add docs to server's and client's configs 2024-07-10 00:20:11 +00:00
Raúl Marín
a339dd020f Reduce dependencies on MergeTreeSettings.h 2024-07-09 19:39:41 +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
Anton Popov
93afc8e613 more precise warning message about sanitizers 2024-07-04 15:11:29 +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
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
c86cdbb243 Remove scary jemalloc log 2024-07-03 11:05:34 +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
Alexey Milovidov
0a493b88f2 Merge branch 'master' into format-settings-parsing 2024-06-29 04:25:34 +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
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
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
Alexander Tokmakov
43cb2f6af7 remove trash 2024-06-26 02:03:22 +02: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
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
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
Denny Crane
a6a3991f39 comment out more default settings 2024-06-23 16:51:36 -03:00
Robert Schulze
4e1a68f33d
Show compiled expressions cache settings size in system.server_settings 2024-06-23 10:55:52 +00:00
Alexey Milovidov
c21cce7a04 Merge branch 'master' into format-settings-parsing 2024-06-23 03:14:51 +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
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
pufit
3786ca72d0 docs, review fixes 2024-06-21 02:02:30 -04:00
pufit
e1248d8d4d Merge branch 'master' into pufit/startup-scripts
# Conflicts:
#	src/Core/ServerSettings.h
2024-06-20 21:32:11 -04: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
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
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
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
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
kssenii
fb32a99578 Initialize global trace collector for Poco::ThreadPool 2024-06-13 19:20:58 +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
kssenii
571ddb66df Merge remote-tracking branch 'origin/master' into named-collecitons-in-keeper 2024-06-10 13:17:32 +02:00
Antonio Andelic
c2c5992434 Merge branch 'master' into fix-gwp-asan 2024-06-10 12:50:08 +02:00
Antonio Andelic
25fa5d87f3
Merge pull request #64896 from ClickHouse/fix-global-trace-collector
Fix global trace collector
2024-06-10 09:09:07 +00:00
Antonio Andelic
ee46c82dc2 Merge branch 'master' into fix-gwp-asan 2024-06-10 09:39:13 +02:00
Alexander Tokmakov
01ece14035 fix initialization order (ServerUUID/ZooKeeper) 2024-06-07 16:23:40 +02:00
serxa
7594e06ea2 Merge branch 'master' into workload-for-merges 2024-06-07 13:58:41 +00:00
Azat Khuzhin
833f031721 Handle logs from rocksdb by ClickHouse internal logging
Someone may not know about /path/to/rocksdb/LOG, and besides it requires
an access to data dir, instead of logs dir.

v2: fix use-after-free due to destruction order (https://s3.amazonaws.com/clickhouse-test-reports/64856/8cefc1a1ba5ddfdda033694a14e1f1847d497092/stateless_tests__asan__[2_4]/stderr.log)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-06-06 17:47:39 +02:00
Antonio Andelic
bfb1c4c793 better 2024-06-06 11:29:42 +02:00
Antonio Andelic
1d3cf17053 Fix global trace collector 2024-06-06 11:18:31 +02:00
pufit
86bbcb0037 Startup scripts 2024-06-06 01:42:07 -04:00
Alexey Milovidov
7c76341e03 Merge branch 'master' into async-load-by-default 2024-06-05 04:49:58 +02:00
Antonio Andelic
b2c0917925 Merge branch 'master' into fix-gwp-asan 2024-06-04 09:15:02 +02:00
Raúl Marín
ee416a6862
Merge pull request #63723 from Algunenano/ifunction_column_size
Add a bunch of important asserts
2024-06-03 14:04:02 +00:00
Antonio Andelic
5df91804f6 Add probability setting for GWPAsan 2024-06-03 11:54:37 +02:00
kssenii
0571485ef6 Merge remote-tracking branch 'origin/master' into named-collecitons-in-keeper 2024-05-30 19:45:01 +02:00
kssenii
83c0c9bcde Move everything to NamedCollecitonFactory 2024-05-30 19:43:05 +02:00
Pratima Patel
3bfe259ea0 Fix the documentation for config property users_without_row_policies_can_read_rows which is true by default now as per pull request 58584 2024-05-30 08:52:00 -04:00
Robert Schulze
7f4c68c0b8
Port internal changes back to public repo 2024-05-29 08:45:28 +00:00
serxa
c04d7bc2b7 Merge branch 'master' into workload-for-merges 2024-05-28 10:44:59 +00:00
Robert Schulze
2680683863
Merge pull request #64110 from rschu1ze/redundant-inline
Throw out some `inline`s
2024-05-28 09:55:56 +00:00
Alexander Tokmakov
3ee2307024
Revert "Refactoring of Server.h: Isolate server management from other logic" 2024-05-27 10:04:19 +02:00
Robert Schulze
4d642a0e6c
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-26 20:43:41 +00:00
TTPO100AJIEX
251010f109 Move protocol-server and inter-server management into separate classes
Co-authored-by: Alex Koledaev <ax3l3rator@gmail.com>
2024-05-24 02:14:26 +03:00
Anton Ivashkin
983fa64e4f Fix CertificateReloader usage for custom protocols 2024-05-23 17:53:23 +02:00
Robert Schulze
f584807359
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-22 21:05:27 +00:00
Sergei Trifonov
dd22140b57
Merge branch 'master' into fix-use-concurrency-control 2024-05-22 11:36:20 +02:00
Raúl Marín
2e1f2565ea Merge remote-tracking branch 'blessed/master' into ifunction_column_size 2024-05-21 12:33:56 +02:00
Francisco Javier Jurado Moreno
e1caea6ab5 Split attached table count into attached tables, views and dictionaries 2024-05-21 11:29:07 +02:00
Robert Schulze
a14e58ab88
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-21 05:15:35 +00:00
Robert Schulze
113bb00005
Fix clang-tidy "-readability-redundant-inline-specifier" 2024-05-19 10:23:58 +00:00
Robert Schulze
2909e6451b
Move StringUtils.h/cpp back to Common/ 2024-05-19 09:39:36 +00:00
serxa
96e19ac548 add merge_workload and mutation_workload settings for server and merge tree 2024-05-17 17:10:40 +00:00
Raúl Marín
698c53b60f Better 2024-05-16 14:05:12 +02:00
Han Fei
171bf4f201 Merge branch 'master' into hanfei/fix-intersection 2024-05-15 13:59:52 +02:00
Sergei Trifonov
e8d43fa572
Merge pull request #63404 from ClickHouse/fix-oklch-for-firefox
Workaround for `oklch()` inside canvas bug for firefox
2024-05-10 12:05:35 +00:00
Han Fei
116055b532 refine load part logic 2024-05-08 15:04:16 +02:00
serxa
48d6c3760d workaround for oklch() inside canvas bug for firefox 2024-05-06 12:05:37 +00:00
Alexey Milovidov
ed1bbd0bd0 Merge branch 'master' into local-less-directories 2024-05-03 02:35:44 +02:00
alesapin
eacbf5fe10 Fix premature server listen for connections 2024-04-30 14:32:03 +02:00
Alexey Milovidov
39118ef461 Hopefully better 2024-04-27 18:47:03 +02:00
Konstantin Bogdanov
38e8b4991e
Undo breaking change 2024-04-22 00:01:33 +02:00
Anton Popov
f09d0b6536
Merge pull request #62608 from CurtizJ/azure-retries
Better retries in azure sdk
2024-04-19 12:01:42 +00:00
jsc0218
7525b2acf4
Merge pull request #60117 from jsc0218/TableEngineGrant_version2
TableEngineGrant_version2
2024-04-18 14:30:34 +00:00
Anton Popov
b50117780c Merge remote-tracking branch 'upstream/master' into HEAD 2024-04-17 13:05:46 +00:00
János Benjamin Antal
599e928e1f
Merge pull request #61997 from azat/sentry-logical-error
[RFC] Send LOGICAL_ERRORs to sentry
2024-04-16 12:26:42 +00:00
Robert Schulze
7dc05d092b
Merge remote-tracking branch 'rschu1ze/master' into be-less-boring-32 2024-04-15 16:35:10 +00:00
Robert Schulze
2a3b5bd74d
Merge pull request #58956 from AVMusorin/kafka-settings
Separate consumer/producer settings for Kafka
2024-04-15 15:11:19 +00:00
Anton Popov
9e54a833ed fix build 2024-04-12 18:41:40 +00:00
Anton Popov
47c653f87c better retries in azure sdk 2024-04-12 15:39:14 +00:00
Azat Khuzhin
f1cb1f80b6 Make sending LOGICAL_ERRORs to sentry configurable
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-11 15:56:26 +02:00
Alexander Tokmakov
d8e97b51bf Merge branch 'master' into cannot_allocate_thread 2024-04-10 21:21:42 +02:00
Nikita Taranov
a2147b8ded
Merge branch 'master' into keep_alive_max_reqs 2024-04-09 21:32:36 +02:00
Robert Schulze
dca6e0abbd
Fix the build (after boringssl submodule removal) 2024-04-08 11:02:41 +00:00
alesapin
e514a8b49d Merge remote-tracking branch 'origin/master' into try_global_trace_collector 2024-04-05 12:40:25 +02:00
Alexander Tokmakov
c53b20a770 fix 2024-04-03 20:57:12 +02:00
Alexander Tokmakov
98ac8031e0 add fault injection 2024-04-03 19:49:23 +02:00
jsc0218
ee589f8a8b Merge remote-tracking branch 'origin/master' into TableEngineGrant_version2 2024-04-03 17:17:33 +00:00
yariks5s
ca27cf3fde fix mapper for gcs 2024-04-03 16:38:41 +00:00
alesapin
f5c5146153 [RFC] Try to add global Real and CPU trace collector 2024-04-02 18:04:53 +02:00