Azat Khuzhin
83d2266271
Dynamic memory_limit_mb for TSan (should fix OOMs for TSan stateless jobs)
...
Otherwise after using different type of instances (in particular VMs
with 32GiB of RAM for sequential stateless runs), clickhouse-server may
got KILLed by OOM killer [1], and it should be TSan internal memory.
[1]: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=85698&sha=528856cc8dba02ab2b6ecb7024ac6e23b0e4fc8a&name_0=PR&name_1=Stateless%20tests%20%28amd_tsan%2C%20sequential%2C%201%2F2%29
2025-08-18 15:31:55 +02:00
Konstantin Bogdanov
260122b0a0
Improve error message for functions unavailable in FIPS mode
2025-08-06 03:52:46 +02:00
Azat Khuzhin
44542fc967
Use __*san_default_options() over *SAN_OPTIONS env vars
2025-07-27 19:19:37 +02:00
Robert Schulze
2e57b6afaa
Merge remote-tracking branch 'ClickHouse/master' into ahmadov/fst-dump-tree
2025-06-30 18:06:33 +00:00
Elmi Ahmadov
17a161dddd
Add README and include more information in output
2025-06-30 16:51:17 +02:00
Elmi Ahmadov
5269d47e92
Add new tool to inspect and dump the FST index tree
...
The new tool can inspect the number of states and dump the FST tree in a
dotgraph representation.
2025-06-26 14:04:12 +00:00
Alexey Milovidov
28c73e3c44
Allow writing ch dig
2025-06-25 02:57:47 +02:00
Azat Khuzhin
b2b4040023
Bundle chdig into clickhouse binary
...
Previously it was only shipped as part of the client package, now it
will be bundled into the binary, and will be available as:
- clickhouse chdig
- clickhouse-chdig
- chdig
Note, that since now chdig will not be linked, we can remove all
quirks for this, that has been done in #79666
2025-06-23 17:06:25 +02:00
Antonio Andelic
4289db0e4a
Add keeper-utils which contains utility tools for Keeper
2025-06-11 20:29:48 +02:00
Alexey Milovidov
7e477ab063
clickhouse/ch aliases can invoke clickhouse-client if connection parameters are specified
2025-06-08 06:03:28 +02:00
Konstantin Bogdanov
c850301603
Explicit OpenSSL cleanup in main.cpp
2025-05-19 16:53:47 +02:00
Konstantin Bogdanov
c4abcb9542
Lint
2025-04-14 16:47:38 +02:00
Konstantin Bogdanov
cd4a3a556d
Proper fix
2025-04-14 00:47:15 +02:00
Konstantin Bogdanov
25af85cd7d
Fix
2025-04-13 23:35:26 +02:00
Konstantin Bogdanov
66e818caf9
Lint
2025-04-10 21:33:00 +02:00
Konstantin Bogdanov
678acbafdc
Fix OpenSSL early init
2025-04-10 21:33:00 +02:00
Konstantin Bogdanov
cc0563e0d8
Hope this fixes msan/tsan
2025-04-10 21:33:00 +02:00
Konstantin Bogdanov
3a9843161e
Try fix tests
2025-04-10 21:32:59 +02:00
Raúl MarÃn
510570386f
Continue hiding Exception.h
2025-02-17 18:53:53 +01:00
8ebae42772
Update programs/main.cpp
...
Co-authored-by: Alexander Gololobov <[email protected] >
2025-02-03 17:44:16 +01:00
Antonio Andelic
a34e7815bb
Ignore some jemalloc messages
2025-02-03 16:22:48 +01:00
Nikita Mikhaylov
9c094a9959
Fixed FreeBSD build
2024-12-09 21:35:31 +00:00
Nikita Mikhaylov
5514403584
Better CMake
2024-12-09 21:35:31 +00:00
Nikita Mikhaylov
6024e34bef
Return order to clickhouse-applications
2024-12-09 21:35:31 +00:00
Nikita Mikhaylov
ec5830c857
Fix fasttest
2024-12-09 21:35:31 +00:00
Nikita Mikhaylov
dc7bc42223
Moved some of utils to programs
2024-12-09 21:35:31 +00:00
Raúl MarÃn
e50265bae5
Optimize includes of Exception.h
2024-12-02 22:26:41 +01:00
Raúl MarÃn
4fb38411c1
Only accept regular files
2024-11-07 19:06:36 +01:00
Raúl MarÃn
07b480c1e4
Implicitly treat a file argument as --queries-file
2024-11-07 14:44:31 +01:00
Antonio Andelic
5875694669
Fix includes
2024-07-03 18:48:32 +02:00
Antonio Andelic
07f51e02ed
Reuse some checks
2024-07-03 16:54:09 +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
Robert Schulze
18d432f44c
Reapply "Remove some unnecessary UNREACHABLEs"
...
This reverts commit 5a868304c0 .
2024-05-29 13:37:47 +00:00
Alexander Tokmakov and GitHub
5a868304c0
Revert "Remove some unnecessary UNREACHABLEs"
2024-05-27 11:38:22 +02:00
Robert Schulze
0d3aeddc93
Merge remote-tracking branch 'rschu1ze/master' into unreachable-unreachable
2024-05-22 07:25:00 +00:00
Robert Schulze
2909e6451b
Move StringUtils.h/cpp back to Common/
2024-05-19 09:39:36 +00:00
Robert Schulze
53e992af4f
Remove some unnecessary UNREACHABLEs
2024-05-17 11:46:07 +00:00
Alexey Milovidov
95f12ef274
Useless changes
2024-05-09 01:08:33 +02:00
Alexey Milovidov
d7d38b14e8
Fix tests
2024-04-30 04:21:44 +02:00
Alexey Milovidov
fae8080130
Allow using clickhouse-local with a positional argument
2024-04-28 04:39:56 +02:00
Azat Khuzhin
5caa89a2b3
Fix completion of available ClickHouse tools
...
Now clickhouse --help/ch --help will print --help for clickhouse-local,
let's use just "clickhouse help" to get help with list of available
tools in clickhouse binary itself.
Signed-off-by: Azat Khuzhin <[email protected] >
2024-04-09 15:37:56 +02:00
Alexey Milovidov
1a61da1bae
Replace getFuzzerData with query text fuzzer in clickhouse-local
2024-03-18 02:17:24 +01:00
Alexey Milovidov
44e918bc67
Revive getFuzzerData
2024-03-17 16:22:33 +01:00
Nikita Mikhaylov
2bc4d27ac6
Bye bye
2024-03-07 19:24:39 +00:00
Azat Khuzhin
7fb31fe160
Remove ability to disable generic clickhouse components
...
Components like client/server/... are very generic, and there is no
point in disabling them, since it does not reduce amount of compiled
code a lot anyway (just a few modules for entrypoints, everything else
is already included in the clickhouse binary), and eventually they are
just symlinks to the clickhouse binary.
But there are few, that requires extra libraries, like ODBC bridge or
keeper components (and there is also standalone keeper binary compiled
with musl), those had been kept.
Also add some descriptions for some utils and change exit code to 0 for
--help.
Signed-off-by: Azat Khuzhin <[email protected] >
2024-02-12 11:10:00 +01:00
Alexey Milovidov
1caef19143
Maybe better
2024-01-16 09:44:52 +01:00
Alexey Milovidov
e13ca48bce
Better dump on exit
2024-01-15 05:13:43 +01:00
Alexey Milovidov
30c3629090
An option to dump coverage to a file at exit
2024-01-15 00:36:44 +01:00
Azat Khuzhin
d899384ea1
Interpret binary without name as clickhouse-local
...
By "without name" I mean either of this:
- without arguments (except for the argv[0])
- or with arguments starts with dash
This should improve usability, and better ad of the clickhouse-local.
v2: clarify with comment
Signed-off-by: Azat Khuzhin <[email protected] >
2023-12-29 13:23:19 +01:00