Commit Graph

142566 Commits

Author SHA1 Message Date
Azat Khuzhin
94041d193c Fix SIGSEGV due to CPU/Real profiler
The problem was due to incorrect unwinding due from signal handlers,
which leads to incorrect DWARF (FDE/CIE) interpretation.

After this patch I was not able to reproduce the crash for couple of
hours, while before it was very stable (I've reduced the minimal
threshold for query_profiler_real_time_period_ns), using simply:

    $ clickhouse-benchmark --port 19000 -q "SELECT * FROM remote('127.{1..10}', system, one)" --query_profiler_real_time_period_ns=1

Note, I'm using here remote() for fibers, that has stack with guard
pages that helps with reproducing the crash more faster.

P.S. I also have another implementation of this fix, without patching
unwind and using info from signal context directly, and even though it
is better, because you don't need to trip extra frames and you can use
all the 45 frames for something useful, it is too complex, so let's go
with a simpler patch first, and I think it could be even backported.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-15 18:22:59 +02:00
Nikolai Kochetov
7f05ccaddf Update lambda execution name. Fix query tree hash calculation in case of empty database. 2024-05-15 16:20:42 +00:00
Anton Ivashkin
e9d2b54de6 Reformat test file 2024-05-15 18:17:50 +02:00
Tomer Shafir
2a87f01890
fix io_uring.xml 2024-05-15 19:15:53 +03:00
Nikita Taranov
af84e3e1a9 fix 2024-05-15 17:13:32 +01:00
Yarik Briukhovetskyi
04dd58430a
style fix 2024-05-15 18:09:33 +02:00
yariks5s
0619b0921f removed memory from automata, refactored the code 2024-05-15 15:56:24 +00:00
Alexander Gololobov
4de7773783 Properly calculate number of nodes in subtree 2024-05-15 17:50:46 +02:00
Raúl Marín
fc5961eaa7 Full tidy fix 2024-05-15 17:31:41 +02:00
Alexander Gololobov
a5a614bff7 Traverse supernode tree because it can have other supernodes inside 2024-05-15 17:30:17 +02:00
Alexander Gololobov
8bf5dd9a97 Handle concurrent deletion on nodes 2024-05-15 17:28:47 +02:00
Han Fei
7e1211035a fix tests 2024-05-15 17:24:56 +02:00
vdimir
80f39c44d3
Remove unnecessary logging statements in MergeJoinTransform.cpp 2024-05-15 15:15:15 +00:00
copperybean
47dfeaa487 fix comments
Change-Id: I2677dc20fc515bbbe91f54154fc4c081f164758e
2024-05-15 23:11:05 +08:00
Alexey Milovidov
4ee342c9c3
Merge pull request #63810 from ClickHouse/trailing-comma-in-values
Allow trailing commas in the `Values` format
2024-05-15 14:55:00 +00:00
Alexey Milovidov
5242bf67c4
Merge pull request #63804 from ClickHouse/regexp-better-usability
Improve usability of the `Regexp` format
2024-05-15 14:48:32 +00:00
Alexey Milovidov
12eee94bfa
Merge pull request #63801 from ClickHouse/make-token-iterator-lazy-as-it-should-be
Make `TokenIterator` lazy as it should be
2024-05-15 14:46:41 +00:00
Alexey Milovidov
90ddb47dac
Merge pull request #63802 from ClickHouse/fix-binary-symbols
Follow-up for the `binary_symbols` table in CI
2024-05-15 14:44:26 +00:00
Alexey Milovidov
af0e185d51
Merge pull request #63803 from ClickHouse/trailing-comma-insert
Allow trailing commas in the columns list in INSERT query
2024-05-15 17:27:46 +02:00
Blargian
1be205e3f4 Update anova documentation 2024-05-15 16:22:25 +02:00
Nikita Taranov
30bee3324c impl 2024-05-15 15:15:14 +01:00
Nikolai Kochetov
c93f363be8 Another attempt. 2024-05-15 13:56:56 +00:00
Nikita Mikhaylov
330af1c37a
Merge pull request #63806 from jkartseva/add-endpoint-subpath-to-plain-rw
Add `endpoint_subpath` S3 URI setting
2024-05-15 13:50:43 +00:00
Nikita Mikhaylov
8ec20e5e40
Merge pull request #63786 from ClickHouse/keywords-suggestion
Fix suggestions loading for old version of ClickHouse server
2024-05-15 13:49:57 +00:00
Blargian
4483da06e8 Update rowNumberInXYZ functions 2024-05-15 15:42:40 +02:00
Han Fei
36974a5423 address comments 2024-05-15 15:41:43 +02:00
Nikolai Kochetov
c83322525b
Merge pull request #63753 from ClickHouse/support-cast-from-empty-array-to-map-nothing
Allow cast from Array(Nothing) to Map(Nothing, Nothing)
2024-05-15 13:38:54 +00:00
MikhailBurdukov
ae10e7ded1 Remove data from all disks after DROP with Lazy database. 2024-05-15 13:09:00 +00:00
vdimir
bcd1c4fd28
Merge pull request #63755 from ClickHouse/vdimir/pmj_join_non_procssed_clash
Fix ILLEGAL_COLUMN in partial_merge join
2024-05-15 12:46:30 +00:00
Alexander Gololobov
6b6374feb8
fix typo 2024-05-15 14:38:10 +02:00
Alexander Sapin
0d00f73a1f Disable test for specialed intel codec on arm 2024-05-15 14:37:38 +02:00
Alexander Sapin
e17646f68e Fix test_short_strings_aggregation for arm 2024-05-15 14:27:35 +02:00
Shaun Struwig
12e512c70d
Delete tests/queries/0_stateless/0.2973_parse_crlf_with_tsv_files.reference
Removed mispelled file
2024-05-15 14:15:45 +02:00
Han Fei
171bf4f201 Merge branch 'master' into hanfei/fix-intersection 2024-05-15 13:59:52 +02:00
robot-clickhouse
fb65c168a7 Automatic style fix 2024-05-15 11:54:56 +00:00
Raúl Marín
3f789bbfa3 Review comments 2024-05-15 13:53:02 +02:00
Alexander Sapin
a9f724e10a Remove empty files 2024-05-15 13:52:53 +02:00
Alexander Sapin
a3283e0cb3 Fix test_disk_types for aarch64 2024-05-15 13:46:19 +02:00
Kruglov Pavel
413be14c43
Merge branch 'master' into dynamic-data-type 2024-05-15 13:43:04 +02:00
avogar
a09bb5f0b7 Fix tests 2024-05-15 11:42:11 +00:00
Sema Checherinda
c860e19380 clickhouse disks reads server configs 2024-05-15 13:41:34 +02:00
Igor Nikonov
7a929963f1
Merge pull request #63776 from ClickHouse/fix-redundant-distinct-with-window
Fix: remove redundant distinct with window functions
2024-05-15 11:37:48 +00:00
Antonio Andelic
73e11cda7b Move to common 2024-05-15 13:28:49 +02:00
Raúl Marín
3eeb43297d Fix clang tidy 2024-05-15 13:26:43 +02:00
Yarik Briukhovetskyi
00c886133d
Merge pull request #63516 from zhongyuankai/group_array_limit_size
Add server setting `aggregate_function_group_array_has_limit_size`
2024-05-15 11:05:24 +00:00
Yarik Briukhovetskyi
1041af2be8
Merge pull request #63783 from yariks5s/update_settings_history
Changed the previous value of `output_format_pretty_preserve_border_for_multiline_string` setting
2024-05-15 11:01:38 +00:00
Alexander Sapin
45b1f4fe8f Merge branch 'fix_catboost_test' of github.com:ClickHouse/ClickHouse into fix_catboost_test 2024-05-15 12:45:16 +02:00
Alexander Sapin
2a6962c78c Merge remote-tracking branch 'origin/master' into fix_catboost_test 2024-05-15 12:44:44 +02:00
Kseniia Sumarokova
cd90655fa5
Merge pull request #63638 from ClickHouse/account-failed-files-in-ttl-and-files-limit-for-s3queue
S3Queue: account failed files in tracked_file_ttl_sec and traked_files_limit
2024-05-15 10:29:24 +00:00
Antonio Andelic
d4b3581792 Allow allocation during job data destructor call 2024-05-15 12:08:16 +02:00