Commit Graph

136436 Commits

Author SHA1 Message Date
Antonio Andelic
e0fa26ece3
Merge pull request #60806 from Brokenice0415/add-leadership-expiry-setting
Support `leadership_expiry_ms` in  Keeper's settings
2024-03-06 09:05:50 +01:00
Nikolai Kochetov
b040eadaa1
Merge pull request #60510 from ClickHouse/refactor-system-one-block
Refactor StorageSystemOneBlock
2024-03-06 08:55:50 +01:00
Antonio Andelic
a39c00aab5
Merge pull request #60849 from ClickHouse/avoid-stackoverflow-s3
Remove recursion when reading from S3
2024-03-06 08:51:43 +01:00
jsc0218
9a99780d2c
Merge pull request #59698 from bigo-sg/opt_column_filter
Reduce peak memory while executing filter
2024-03-05 20:36:46 -05:00
robot-clickhouse
040c37012e
Merge pull request #60866 from joclement/correct-csv-docs
Correct csv docs
2024-03-06 00:57:23 +01:00
Alexey Milovidov
456157939c
Merge pull request #60823 from azat/thread-fuzzer
Faster (almost 2x) mutexes (was slower due to ThreadFuzzer)
2024-03-06 00:07:50 +03:00
Robert Schulze
9ace8a4a40
Merge pull request #60521 from rschu1ze/clang-tidy-hdr
Enforce clang-tidy in `programs/` and `utils/` headers
2024-03-05 21:01:27 +01:00
Robert Schulze
8735c40ab2
Merge pull request #60514 from rschu1ze/show-index-sorting
Fix wacky primary key sorting in `SHOW INDEX`
2024-03-05 20:59:11 +01:00
Nikita Mikhaylov
48bea29611
Merge pull request #60654 from ClickHouse/fuzzer-gdb
Try to run fuzzer under gdb
2024-03-05 18:52:13 +01:00
vdimir
a8eeb899e3
Merge pull request #58278 from liuneng1994/optimize-all-join
Lazy build join output to improve performance of ALL join
2024-03-05 16:35:27 +01:00
Mikhail f. Shiryaev
ec72800d78
Merge pull request #60383 from nickitat/upd_liburing
Enable testing with `io_uring` back
2024-03-05 15:26:35 +01:00
Nikolai Kochetov
97f955fcde Fix sanitizers 2024-03-05 14:10:46 +00:00
Joris Clement
b791ced86f
docs: typo
With https://github.com/ClickHouse/ClickHouse/pull/39423 allowing the
the usage of single quotes was disabled by default. Adapt the
documentation accordingly.
2024-03-05 14:50:24 +01:00
Joris Clement
0bedd98bb7
style: trailing whitespace 2024-03-05 14:50:23 +01:00
Raúl Marín
af3b16a79d
Merge pull request #60853 from Algunenano/fix_reportr
Fix fuzzer report
2024-03-05 14:02:36 +01:00
Yarik Briukhovetskyi
d93dd98b66
Merge pull request #60672 from yariks5s/fix_int_div_decimal_with_datetime
Fix `intDiv` for decimal and date arguments
2024-03-05 13:41:08 +01:00
Mikhail f. Shiryaev
705311edb9
Merge pull request #60857 from ClickHouse/auto/v23.3.20.27-lts
Update version_date.tsv and changelogs after v23.3.20.27-lts
2024-03-05 13:40:27 +01:00
Brokenice0415
3058e59950 update notices 2024-03-05 20:06:39 +08:00
robot-clickhouse
23ec4d4c6e Update version_date.tsv and changelogs after v23.3.20.27-lts 2024-03-05 11:53:19 +00:00
Mikhail f. Shiryaev
bc48b296c8
Merge pull request #60851 from ClickHouse/auto/v23.8.10.43-lts
Update version_date.tsv and changelogs after v23.8.10.43-lts
2024-03-05 12:36:25 +01:00
Max K
5d115dc438
Merge pull request #60850 from ClickHouse/ci_fix_build_report_for_backport_branch
CI: Fix pending status for build report in backports
2024-03-05 12:27:54 +01:00
Robert Schulze
2c0b399c1f
Merge remote-tracking branch 'rschu1ze/master' into show-index-sorting 2024-03-05 11:27:32 +00:00
Robert Schulze
b5a7ef5fd3
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-hdr 2024-03-05 11:24:28 +00:00
Kruglov Pavel
be13d8eb39
Merge pull request #60499 from ClickHouse/Avogar-patch-1
Cancel PipelineExecutor properly in case of exception in spawnThreads
2024-03-05 12:06:29 +01:00
Antonio Andelic
0bd4c6afa0 Use while-loop 2024-03-05 11:53:51 +01:00
Nikolai Kochetov
ee3edf2589 Fix system parts _state 2024-03-05 10:40:45 +00:00
Raúl Marín
738c481cce Fix fuzzer report 2024-03-05 10:36:42 +00:00
Kruglov Pavel
9546b3f5fb
Merge pull request #60808 from Avogar/json-ambg-tuple-inference
Small improvements in JSON schema inference
2024-03-05 11:36:28 +01:00
robot-clickhouse
edf2dc9168 Update version_date.tsv and changelogs after v23.8.10.43-lts 2024-03-05 10:20:57 +00:00
Max Kainov
a6f5323c38 CI: Fix pending status for build report in backports
#do_not_test
2024-03-05 10:09:17 +00:00
Antonio Andelic
09924899ea
Merge pull request #60769 from ClickHouse/catch-finalize-exception
Catch exceptions on finalize in `InterserverIOHTTPHandler`
2024-03-05 08:28:59 +01:00
Alexey Milovidov
2b85498940
Merge pull request #60520 from ClickHouse/sync-with-private-2
Synchronize metrics and Keeper
2024-03-05 07:52:03 +03:00
Alexey Milovidov
211d7f8047
Merge pull request #60715 from ClickHouse/mark-one-setting-as-obsolete
Mark one setting as obsolete
2024-03-05 07:00:03 +03:00
Alexey Milovidov
3b381fa0cc
Merge branch 'master' into mark-one-setting-as-obsolete 2024-03-05 04:58:54 +03:00
Alexey Milovidov
c8b0f9967f
Merge pull request #60749 from ClickHouse/fix-wrong-order-keeper
Fix `test_keeper_back_to_back/test.py::test_concurrent_watches`
2024-03-05 04:55:26 +03:00
Alexey Milovidov
ec495853a5
Merge pull request #60768 from Algunenano/2024a
Update tzdata to 2024a
2024-03-05 04:53:39 +03:00
Alexey Milovidov
fb9250a1ac
Merge pull request #60775 from azat/fix-32-bit-capabilities
Use 64-bit capabilities if available
2024-03-05 04:52:27 +03:00
Alexey Milovidov
570692fe83
Merge branch 'master' into json-ambg-tuple-inference 2024-03-05 04:50:39 +03:00
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
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
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