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
kssenii
73f16ee9ee
Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs
2021-05-26 23:08:08 +03:00
kssenii
31107816bb
fs::absolute to fs::canonical
2021-05-24 20:37:54 +03:00
vdimir
fce6156e04
Use bool_switch instead of value<bool> for 'force' option in Install.cpp
2021-05-24 16:53:30 +03:00
Benjamin Naecker
57fd59b73b
Adds support for building on Solaris-derived systems
...
This commit adds a number of changes to platform-detection and
compile-time directives required to support building ClickHouse on
Solaris-derived systems, most notably illumos.
2021-04-28 16:32:41 -07:00