Commit Graph

136691 Commits

Author SHA1 Message Date
Alexey Milovidov
7ecd67fc27
Merge pull request #60811 from ClickHouse/new-private-runners
New private runners
2024-03-05 04:45:16 +03:00
Alexey Milovidov
4aba9eb6e5
Update 03003_prql_panic.sh 2024-03-05 04:44:20 +03:00
Alexey Milovidov
8aeffa0356
Merge pull request #60765 from Avogar/fix-crash-in-input-join
Fix crash when using input() in INSERT SELECT JOIN
2024-03-05 04:32:50 +03:00
Alexey Milovidov
7604b3886a
Merge pull request #60796 from Algunenano/fatal_fuzz
Include multiline logs in fuzzer fatal.log report
2024-03-05 04:02:25 +03:00
Alexey Milovidov
f96db5acd3
Merge pull request #60812 from ClickHouse/pcset
Move userspace page cache settings to the correct section of SettingsChangeHistory.h
2024-03-05 03:59:56 +03:00
Alexey Milovidov
8e200f5c0c
Merge pull request #60807 from ClickHouse/aarch64-profiler
Aarch64 profiler
2024-03-05 03:57:45 +03:00
Nikita Mikhaylov
822ef975a5 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fuzzer-gdb 2024-03-05 01:30:54 +01:00
Nikita Mikhaylov
e715ff622d Better 2024-03-05 00:52:13 +01:00
Nikolai Kochetov
819e7bfc77 Merge branch 'master' into refactor-system-one-block 2024-03-04 21:03:45 +00:00
Azat Khuzhin
d5825ec80d Faster (almost 2x) mutexes (was slower due to ThreadFuzzer)
Recently I noticed that DB::injection() pops up in perf top, so let's
optimize it slightly:
- Add -fomit-frame-pointer -momit-leaf-frame-pointer explicitly --
  almost 0 effect
- Add ALWAYS_INLINE for ThreadFuzzer::isStarted() (just in case)
- Disable ThreadFuzzer if non of env variables had been set, this is
  needed to avoid extra checks in DB::injection()
- Add ALWAYS_INLINE for ThreadFuzzer::injection()

And here are some results for ThreadFuzzer test:
- before:   elapsed 6.27368 / test time 654 ms
- after:    elapsed 3.14167 / test time 325 ms
- disabled: elapsed 2.46666 / test time 263 ms

*But note, it is still slower then with ThreadFuzzer disabled.*

Note, that this numbers for AMD 5975WX, for server with 2x Xeon Silver
4216 2.10:
- before:   elapsed 12.109  / test time 1325 ms
- after:    elapsed 10.506  / test time 1101 ms
- disabled: elapsed 8.41043 / test time 917 ms

P.S. I've also tried with the same glibc version as server had - zero
changes.

Refs: https://gist.github.com/azat/51a5fcc3a40af9f678906a3a6e14e079
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-04 21:14:26 +01:00
Michael Kolupaev
24505ba9b3 Move userspace page cache settings to the correct section of SettingsChangeHistory.h 2024-03-04 19:36:38 +00:00
Azat Khuzhin
dc7ea2f90a
Add a test for PRQL panics
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-04 11:32:18 -08:00
Raúl Marín
6ac4f60caa
Merge pull request #60764 from Algunenano/i59655
Fix crash in arrayEnumerateRanked
2024-03-04 20:22:30 +01:00
Mikhail f. Shiryaev
a6caace5ec
Add a new runner type 2024-03-04 20:03:45 +01:00
Raúl Marín
680bb3392e More missing trash 2024-03-04 20:01:27 +01:00
Mikhail f. Shiryaev
bd2b0b4338
Export only str and bool for build configs 2024-03-04 20:01:26 +01:00
Raúl Marín
37891660be More missing resets 2024-03-04 20:01:03 +01:00
Raúl Marín
b86fcf0e7d Add missing compression clone() in ASTQueryWithOutput 2024-03-04 19:53:18 +01:00
Igor Nikonov
ee4e5b1592 Merge remote-tracking branch 'origin/master' into use-minmax-indices-always-first 2024-03-04 18:29:05 +00:00
Nikolai Kochetov
d209508753 Fixing style. 2024-03-04 18:26:42 +00:00
Maximilian Roos
e257f1d455
Merge branch 'master' into prql-panic 2024-03-04 10:12:41 -08:00
Kruglov Pavel
4bdafed801
Merge pull request #60420 from HowePa/format_case_insensitive
Make all format names case insensitive.
2024-03-04 19:09:10 +01:00
Nikolai Kochetov
47d8f039e5 Cleanup VirtualColumnUtils 2024-03-04 18:01:12 +00:00
avogar
9a05461680 Better exception message 2024-03-04 17:49:33 +00:00
Nikolai Kochetov
2d8ca99860 Refactor more system storages. 2024-03-04 17:48:47 +00:00
Igor Nikonov
d3c42b5a24 Fix test flakiness
+ make index_granularity stable, it's randomized in tests
2024-03-04 17:36:06 +00:00
avogar
70abdf7a41 Small improvements in JSON schema inference 2024-03-04 17:32:22 +00:00
Alexey Milovidov
ff2882c707 Fix query profiler on AArch64 2024-03-04 18:16:38 +01:00
Raúl Marín
6e579e6bfa Use awk since it's much simpler 2024-03-04 18:15:53 +01:00
Alexey Milovidov
a7430004b3 Fix real time query profiler on AArch64 2024-03-04 18:13:49 +01:00
Brokenice0415
cc1c3f2da3 add a keeper setting leadership_expiry 2024-03-05 00:54:25 +08:00
Raúl Marín
0149b8893a Include multiline logs in fuzzer fatal.log report 2024-03-04 17:42:06 +01:00
Igor Nikonov
48745c95cc
Merge pull request #60485 from ClickHouse/fix-test-custom-key-load-balancing
Fix: test_parallel_replicas_custom_key_load_balancing
2024-03-04 17:31:53 +01:00
avogar
70acf7a930 Support files without format extension in Filesystem database 2024-03-04 16:16:58 +00:00
Raúl Marín
96826ee8e1
Merge pull request #60362 from Algunenano/parallel_replicas_cte_2
Force reanalysis if parallel replicas changed
2024-03-04 17:16:17 +01:00
Sema Checherinda
71029373f2
Merge pull request #60748 from Beetelbrox/fjurado/dont-add-metadata-headers-to-unsupported-multipart-steps
Prevent setting custom metadata headers on unsupported multipart upload operations
2024-03-04 17:04:33 +01:00
Alexey Milovidov
6fa2d4a199
Merge pull request #60723 from ClickHouse/analyzer-fix-test
Fix a test with Analyzer
2024-03-04 19:01:54 +03:00
Alexey Milovidov
6875d12591
Merge pull request #60724 from ClickHouse/remove-two-tests-from-tech-debt
Two tests are fixed with Analyzer
2024-03-04 19:00:47 +03:00
Alexey Milovidov
0d3271e548
Merge pull request #60727 from ClickHouse/allow-enums-and-strings
Make String a supertype for strings and enums
2024-03-04 18:58:58 +03:00
Alexey Milovidov
ce6dec65cf
Merge pull request #60729 from ClickHouse/remove-more-live-view
Remove more code from LIVE VIEW
2024-03-04 18:58:21 +03:00
Alexey Milovidov
bc0cf83668
Merge pull request #60738 from ClickHouse/sql-json-remove-nonsense
Remove nonsense from SQL/JSON
2024-03-04 18:57:50 +03:00
Alexey Milovidov
558cde5e80
Merge pull request #60731 from ClickHouse/fix-buffer-overflow-in-compression-codec-multiple
Fix buffer overflow in CompressionCodecMultiple
2024-03-04 18:57:01 +03:00
Alexey Milovidov
ba51508ee9
Merge pull request #60733 from ClickHouse/alexey-milovidov-patch-8
Update build.md
2024-03-04 18:56:45 +03:00
Antonio Andelic
fb8241c651 Better 2024-03-04 16:36:46 +01:00
Azat Khuzhin
081ed8de2a Use 64-bit capabilities if available
This will fix the following warning in dmesg:

    capability: warning: `clickhouse-serv' uses 32-bit capabilities (legacy support in use)

P.S. I'm not even sure that the fallback code is useful, since
_LINUX_CAPABILITY_VERSION_3 had been added long time ago, in Linux
2.6.26 (Released 13 July 2008)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-04 16:20:45 +01:00
Jordi Villar
b72507fdf6 Simplify test now that the cause is clear 2024-03-04 16:17:03 +01:00
Nikolai Kochetov
f421d3d571
Merge pull request #60515 from ClickHouse/cleanup-lazy-format-always
PullingAsyncPipelineExecutor cleanup
2024-03-04 15:54:53 +01:00
Alexey Milovidov
de6c5d3a40
Merge pull request #60552 from ClickHouse/pc2
Userspace page cache again
2024-03-04 17:47:35 +03:00
Yong Wang
8d106f6c70 Fix_max_query_size_for_kql_compound_operator : update test case for better readability 2024-03-04 06:38:13 -08:00
avogar
d7de634123 Update test 2024-03-04 14:37:49 +00:00