Raúl Marín
2fb21c0e5f
Fix builds
2025-12-18 19:28:02 +01:00
Raúl Marín
a8d196b58d
Remove StackTrace.h from Exception.h
2025-12-18 12:04:33 +01:00
Azat Khuzhin
2e630bb588
Improve --help for status/start/restart/stop
2025-09-15 08:53: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
Azat Khuzhin
24d4607d21
clickhouse-stop: kill only processes that are passed via pid file
2025-06-07 17:21:20 +02:00
Azat Khuzhin
0fea21845d
clickhouse-stop: ignore pid file does not exist only during polling
2025-06-07 17:21:20 +02:00
Azat Khuzhin
8e2a8a33ce
clickhouse-stop: fix message for killing
2025-06-07 17:21:20 +02:00
Nikita Mikhaylov
ee12273297
Improve the SSH protocol
2025-03-18 14:53:35 +01:00
Alexey Milovidov and GitHub
b999483404
Merge pull request #73827 from ClickHouse/install-better-message
...
Better message during installation
2024-12-27 17:31:47 +00:00
Alexey Milovidov
ff7f242ebf
Ask before output binary data into terminal
2024-12-26 07:31:10 +01:00
Alexey Milovidov
f1e59ccfbe
Better message during installation
2024-12-25 08:04:55 +01:00
Sema Checherinda
f1ab911910
cancel or finalize write buffer
2024-11-11 11:37:12 +01:00
Konstantin Bogdanov
67c1e89d90
Apply linter changes
2024-10-06 12:29:20 +02:00
Alexey Milovidov
224e1940ae
Useless changes
2024-05-09 03:58:34 +02:00
Alexander Tokmakov
91d4284bdf
don't allow relative paths when installing
2024-04-15 16:21:09 +02:00
Robert Schulze
752a69b6dd
Minor fixups
2024-04-10 17:37:24 +00:00
yokofly
e4cb27eda3
fix macOS binary install
...
the usr/bin is not suitable for macOS
https://superuser.com/questions/933019/sudo-cant-create-file-in-usr-bin-in-el-capitan
after apply this patch, we can `sudo ./clickhouse --install` on MacOS
2024-04-10 21:27:48 +08:00
Alexey Milovidov
a6dbaf5408
dhparams are not enabled by default
2024-04-06 21:45:26 +02: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
a585ae60a8
English (somewhat incomplete)
2024-02-09 00:30:29 +01:00
Alexey Milovidov
1b91b7b999
Better logs in CI and non-interactive install
2024-02-09 00:16:15 +01:00
Raúl Marín
b269f87f4c
Better text_log with ErrnoException
2023-12-15 19:27:56 +01:00
Alexey Milovidov
d2560f2197
Make clickhouse-local and clickhouse-client available under short names for usability
2023-11-12 02:42:51 +01:00
Mikhail f. Shiryaev
3655df0f40
Attempt to address reset ENV in init.d script
2023-08-14 16:32:52 +02:00
Alexey Milovidov
1e467867e6
Attempt to fix LTO
2023-07-24 00:03:40 +02:00
Alexey Milovidov
00d6f2ee08
Use incbin for resources, part 1
2023-07-23 06:11:03 +02:00
Alexey Milovidov and GitHub
98ae9be734
Revert "Added tests for ClickHouse apps help and fixed help issues"
2023-04-21 01:54:34 +03:00
Yatsishin Ilya
b5b65d2149
Merge remote-tracking branch 'origin' into clickhouse-help
2023-04-11 11:24:48 +00:00
Alexey Milovidov
345b33dc1f
Slightly optimize Install
2023-04-10 04:15:13 +02:00
Yatsishin Ilya
26aacd3d2d
Merge remote-tracking branch 'origin/master' into clickhouse-help
2023-03-28 16:57:58 +00:00
Nikolay Degterinsky
8851b2b8f6
Add options --link and -y to clickhouse install
2023-03-22 12:53:22 +00:00
Yatsishin Ilya
45c5275bfb
Merge remote-tracking branch 'origin/master' into clickhouse-help
2023-03-14 17:27:25 +00:00
Mike Kot
9920a52c51
use std::lerp, constexpr hex.h
2023-03-07 22:50:17 +00:00
Yatsishin Ilya
f7b6de9fa6
I like style check
2023-01-31 13:14:24 +00:00
Yatsishin Ilya
ce553a2888
I like style check
2023-01-31 12:51:33 +00:00
Yatsishin Ilya
98edb9f06b
Update help for clickhouse tools and add test
2023-01-31 12:19:37 +00:00
Alexey Milovidov
e98f217b87
Better diagnostics on stop
2022-12-26 12:15:58 +01:00
Azat Khuzhin
6381feb46d
Add ability to increase timeout for clickhouse start/stop/restart
...
Increasing timeout may help in case of slow server (debug, sanitizers).
Signed-off-by: Azat Khuzhin <[email protected] >
2022-11-27 09:40:39 +01:00
Azat Khuzhin
4e76629aaf
Fixes for -Wshorten-64-to-32
...
- lots of static_cast
- add safe_cast
- types adjustments
- config
- IStorage::read/watch
- ...
- some TODO's (to convert types in future)
P.S. That was quite a journey...
v2: fixes after rebase
v3: fix conflicts after #42308 merged
Signed-off-by: Azat Khuzhin <[email protected] >
2022-10-21 13:25:19 +02:00
Evgeny Konkov
b08ab05fbb
fix typo in comment
2022-09-28 12:28:59 +03:00
Alexey Milovidov and GitHub
f8d2735b66
Update Install.cpp
2022-09-27 23:35:22 +03:00
Evgeny Konkov
0c9d7a8054
replace back clickhouse su with sudo in start command in order to respect limits in /etc/security/limits.conf
2022-09-27 21:57:56 +03:00
ce0508e223
Increase open files limit ( #41345 )
...
Co-authored-by: Nikita Mikhaylov <[email protected] >
2022-09-16 12:41:36 +02:00
Robert Schulze
e8b3f56733
Limit suppression to a specific warning
2022-08-21 18:24:17 +00:00
Alexey Milovidov
74e1f4dc61
Fix clang-tidy
2022-08-20 17:09:20 +02:00
Alexander Tokmakov
6f5a7c3bf7
fix a bug with symlinks detection
2022-08-15 12:30:47 +02:00
kssenii
7520bfeab7
Fix
2022-06-16 19:50:09 +02:00
Robert Schulze
1a0b5f33b3
More consistent use of platform macros
...
cmake/target.cmake defines macros for the supported platforms, this
commit changes predefined system macros to our own macros.
__linux__ --> OS_LINUX
__APPLE__ --> OS_DARWIN
__FreeBSD__ --> OS_FREEBSD
2022-06-10 10:22:31 +02:00
Alexey Milovidov
2f93f11144
Maybe better
2022-05-23 02:03:13 +02:00