Commit Graph

254 Commits

Author SHA1 Message Date
Alexey Milovidov
0343deca56 Fixed build 2020-01-10 21:35:39 +03:00
Alexey Milovidov
ab677b5ad0 Removed some trash 2020-01-10 19:47:56 +03:00
Alexey Milovidov
6e50290ec6 Merge branch 'master' into weiqxu-master 2020-01-10 19:41:29 +03:00
alexey-milovidov
14563da602
Merge pull request #8447 from amosbird/c++20
C++20
2019-12-31 21:06:41 +03:00
Weiqing Xu
de122fc282 Fix it removes PID file by mistake In Daemon
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

In Daemon mode, when the user start a new clickhouse, if there is old
runing process and the pid is same with the value in PID file, it will
not start. However it also remove the PID file of the old runing process by
mistake.

In this fix, it will not remove the pid file of old runing process when
it start failed.
2019-12-31 16:52:25 +08:00
Mikhail Nacharov
d6cd202860 refs #8443 fix logging 2019-12-29 18:08:33 +05:00
Amos Bird
bbc736f2d9
c++20! 2019-12-29 03:08:25 +08:00
Alexey Milovidov
f7d9ada51c Addition to prev. revision 2019-12-23 23:26:11 +03:00
Alexey Milovidov
9d631c2c77 Add query_id to crash messages 2019-12-23 23:19:49 +03:00
Alexey Milovidov
239451a24d Merge branch 'master' into system-stack-trace 2019-12-23 19:41:23 +03:00
Alexey Milovidov
48d126e88a Removed unrelated changes 2019-12-22 23:19:29 +03:00
Alexey Milovidov
9c868c910a Simplification 2019-12-22 23:17:16 +03:00
Alexey Milovidov
e0000bef98 Added "system.stack_trace" table (development) 2019-12-22 20:20:33 +03:00
alesapin
a175ea5b73 Add coverage file flush for clickhouse-server when std::atexit is not called. Also slightly improved logging in stateless tests with coverage. 2019-12-18 13:43:40 +03:00
Ivan Lezhankin
2118b33d9a Replace SIGRTMIN with SIGTSTP 2019-12-02 20:29:19 +03:00
Ivan Lezhankin
0e276ad887 Fix build 2019-12-02 14:29:52 +03:00
Ivan Lezhankin
4f56e03729 Use SIGRTMIN instead of SIGPROF for user debugging purposes 2019-12-02 13:50:57 +03:00
alexey-milovidov
b2e80b0cd9
Merge branch 'master' into query_masking 2019-09-03 22:58:15 +03:00
Alexey Milovidov
d5f8e0347f Better setup of default time zone from configuration file 2019-08-28 20:11:11 +03:00
Alexey Milovidov
306878c7a0 Write symbolized stack trace on failure one line at a time and uncached 2019-08-18 01:39:26 +03:00
Alexey Milovidov
cf525890da Handle faults in printing stack trace 2019-08-18 00:42:47 +03:00
Alexey Milovidov
71dc0f29c2 Always print non-symbolized stack trace in addition to the full stack trace. 2019-08-18 00:27:25 +03:00
Alexey Milovidov
081f1bedc2 Allowed to use SIGPROF to print stack traces for debugging purposes 2019-08-18 00:13:38 +03:00
Alexey Milovidov
2cd669fa1d Minor improvement 2019-08-17 23:33:50 +03:00
Alexey Milovidov
048ac1dde2 Removed "already_signal_handled" guard, because it is not actual 2019-08-17 23:26:11 +03:00
Alexey Milovidov
5830526fa1 Slightly better information messages 2019-08-11 23:37:53 +03:00
Alexey Milovidov
372c4d89b2 Enabled line numbers in stack traces 2019-07-30 01:26:44 +03:00
alexey-milovidov
a7cbbd4e4a
Update BaseDaemon.cpp 2019-07-25 23:17:17 +03:00
Alexander Kuzmenkov
399799d838 In debug version on Linux, increase OOM score.
This way, clickhouse is killed first, and not some important service.
2019-07-25 19:09:19 +03:00
Mikhail Filimonov
9c2ae4513d SensitiveDataMasker 2019-07-19 10:22:42 +02:00
Nikita Lapkov
b8585a5630 refactor and comments 2019-07-05 13:48:47 +00:00
Nikita Lapkov
0f579860f7 Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler 2019-07-04 22:13:51 +00:00
filimonov
ea2f0dd844
fix macos build 2019-07-02 08:37:57 +02:00
Alexey Milovidov
5c721ea711 Style 2019-07-02 03:19:56 +03:00
Nikita Lapkov
5286ab97fd refactor and comments 2019-07-01 22:11:11 +00:00
Nikita Lapkov
f8d2b5effd introduce Backtrace class 2019-06-28 18:06:38 +00:00
Nikita Lapkov
92309eed3e Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-06-27 14:07:44 +00:00
Nikita Lapkov
7cff36fbfc Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler 2019-06-26 11:46:04 +00:00
proller
09f3d68f6e Use logging in clickhouse-local. Use config options in command line in clickhouse-client (#5540)
* Try fix macos server run

* Doc macos build
 # Please enter the commit message for your changes. Lines starting

* CLICKHOUSE-3957 start wip

* tests wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* Making logger for clickhouse-local

* fixes

* wip

* wip

* wip

* wip

* clean

*      cf

* wip

* fix

* Update CMakeLists.txt

* Update argsToConfig.h

* Update argsToConfig.cpp

* Update ExtendedLogChannel.h

* Update OwnPatternFormatter.cpp
2019-06-14 17:00:37 +03:00
Nikita Lapkov
3b54fde8a7 replace StackTrace with Backtrace 2019-05-30 10:30:24 +00:00
Nikita Lapkov
ab69128e1d introduce Backtrace class 2019-05-14 22:15:23 +00:00
Nikita Lapkov
aaa3156f81 Merge branch 'update_libunwind' into query-poor-mans-profiler 2019-05-12 16:22:36 +00:00
Nikita Lapkov
6dbe205b55 Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler 2019-05-12 16:16:30 +00:00
Nikita Lapkov
9cd108b6d6 Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-05-12 13:40:17 +00:00
proller
0e0a0f6ee6 CLICKHOUSE-4511 Fix forcerestart with systemd 2019-05-06 15:12:18 +03:00
proller
ba4687e110
Cmake: dont use LINK_MODE (but use BUILD_SHARED_LIBS) (#5091) 2019-04-24 12:06:28 +03:00
proller
29c3433322
Freebsd build fixes (#5083) 2019-04-23 15:51:27 +03:00
Nikita Lapkov
26c4df9d9c Merge remote-tracking branch 'upstream/master' into update_libunwind 2019-04-21 09:24:48 +00:00
proller
525726a5e2
Remove pocoext (#5036) 2019-04-17 20:36:58 +03:00
proller
1b020827f0 Move Poco/Ext/ThreadNumber.h to common/getThreadNumber.h (#5016) 2019-04-17 17:53:54 +03:00