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 <a.khuzhin@semrush.com>
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 <a.khuzhin@semrush.com>
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
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
Eugene Konkov
ce0508e223
Increase open files limit ( #41345 )
...
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
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
Alexey Milovidov
a8506f6604
Merge branch 'master' into allow-setuid-inside-clickhouse
2022-05-11 03:14:28 +02:00
Alexander Tokmakov
92d423c478
print stacks if wa cannot terminate server in stress tests
2022-05-09 19:43:51 +02:00
Alexey Milovidov
c95f22e64d
Merge branch 'master' into allow-setuid-inside-clickhouse
2022-05-07 00:21:47 +03:00
Robert Schulze
b24ca8de52
Fix various clang-tidy warnings
...
When I tried to add cool new clang-tidy 14 warnings, I noticed that the
current clang-tidy settings already produce a ton of warnings. This
commit addresses many of these. Almost all of them were non-critical,
i.e. C vs. C++ style casts.
2022-04-20 10:29:05 +02:00
Alexey Milovidov
e704e8d5d7
Allow to drop privileges at startup
2022-04-17 00:09:20 +02:00
Alexey Milovidov
24c94777f5
Allow server to bind to low-numbered ports
2022-03-21 03:32:05 +01:00
Alexey Milovidov
fc246dc568
Allow server to bind to low-numbered ports
2022-03-21 03:30:13 +01:00
Alexey Milovidov
ff31a2c9e0
Add symlinks to keeper
2022-01-27 01:23:18 +03:00
Alexey Milovidov
f41f7b6b92
Fix error
2022-01-06 05:21:03 +03:00
Alexey Milovidov
75116c69c6
Better messages
2022-01-06 04:26:02 +03:00
Alexey Milovidov
5e6f1f1f5f
Add support for start
2022-01-06 04:08:56 +03:00
Alexey Milovidov
dba9bf0f29
Support for creating users
2022-01-06 02:30:41 +03:00
Alexey Milovidov
269aa9404b
Maybe better
2022-01-05 22:59:22 +03:00
Alexey Milovidov
0139820ac4
Improve install on FreeBSD #33384
2022-01-05 22:33:02 +03:00
Alexey Milovidov
29d28c531f
Move code around to avoid dlsym on Musl
2021-12-24 12:25:27 +03:00
alexey-milovidov
42787cfa60
Merge pull request #31802 from pkit/fix_setcap
...
fix setcap in docker
2021-11-30 05:49:03 +03:00
Denis Glazachev
b591cf49a3
Set permissions on config files under config.d/
...
Do not create config files under config.d/ if already exist
2021-11-26 19:21:29 +03:00
Constantine Peresypkin
2f50642be9
fix setcap in docker
...
Fixes #31784
2021-11-25 16:24:24 +02:00
alexey-milovidov
15b9d65221
Merge pull request #30662 from azat/conf-clickhouse
...
Switch everything left from `<yandex>` to `<clickhouse>`
2021-10-31 14:56:51 +03:00
alexey-milovidov
48ca14b895
Update Install.cpp
2021-10-31 12:33:42 +03:00
Teja Srivastasa
661c288f49
Merge branch 'teja/30672' of github.com:tejasrivastav/ClickHouse into teja/30672
2021-10-30 22:22:13 +02:00
Teja Srivastasa
cd14be90aa
fix unresolved pid
2021-10-30 22:18:33 +02:00
alexey-milovidov
1824bd76e5
Update Install.cpp
2021-10-29 22:49:28 +03:00
Teja
68e771f849
Update Install.cpp
2021-10-29 21:30:55 +02:00
Teja
6dd605cc13
update out statement
2021-10-29 21:26:44 +02:00
Teja Srivastasa
a4b653fdca
Update installation success message #30672
2021-10-29 02:00:57 +02:00
Azat Khuzhin
573994a4ed
clickhouse-install: switch <yandex> to <clickhouse>
2021-10-26 08:52:32 +03:00
Denis Glazachev
ceb98cf42f
Add comments
2021-10-17 03:04:53 +04:00
Denis Glazachev
329d81a0ef
Various fixes to install procedure
2021-10-16 20:03:45 +03:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
Alexey Milovidov
2b19510288
Apply a patch from Azat
2021-09-25 02:37:30 +03:00
Kseniia Sumarokova
b4840bc4a9
Merge pull request #25280 from kssenii/bridges-constraints
...
Privilege drop and resource constraints for bridge processes
2021-06-16 22:13:16 +03:00
kssenii
b152d7589f
Bridge contsraints
2021-06-15 01:01:10 +00:00
Alexey Milovidov
22bd65996c
Fix TOCTOU in Install
2021-06-15 00:58:29 +03:00