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
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
Alexey Milovidov
48d126e88a
Removed unrelated changes
2019-12-22 23:19:29 +03:00
Alexey Milovidov
e0000bef98
Added "system.stack_trace" table (development)
2019-12-22 20:20:33 +03: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
proller
263e69e861
Build fixes (FreeBSD port) ( #4397 )
2019-02-15 14:46:07 +03:00
objatie_groba
5f0eec91a3
Minor code style fix. V2
2019-02-02 17:23:48 +03:00
objatie_groba
92cc7b0ef8
Minor code style fix
2019-02-02 16:54:30 +03:00
objatie_groba
f1d90515a1
First try
2019-02-02 15:26:07 +03:00
proller
f1791e94e2
Do not write preprocessed configs to /etc/ ( #2443 )
2018-11-27 19:11:46 +03:00
Alexey Milovidov
ab5d76fc42
Fixed error introduced in #3553 and prevent it happening
2018-11-21 23:56:37 +03:00
Alexey Milovidov
06187e9a98
Comments [#CLICKHOUSE-2]
2018-11-21 20:27:13 +03:00
cekc
76c79929c3
fix typo in BaseDaemon doc
...
daemon has --errorlog-file cmd option, not --error-file
2018-09-21 16:42:32 +03:00
Alexey Milovidov
e6e1ff4284
Enabling -Winconsistent-missing-destructor-override [#CLICKHOUSE-2]
2018-08-26 04:30:13 +03:00
Alexey Milovidov
328c1387c0
Removed Poco::NumberFormatter [#CLICKHOUSE-2]
2018-08-20 22:35:04 +03:00
alesapin
53b23e0113
CLICKHOUSE-3878: Add inherited fd's closing function
2018-08-12 15:23:22 +03:00
alesapin
dd01eb6b40
CLICKHOUSE-3878: Add odbc-bridge first version
2018-08-07 20:57:44 +03:00
Alexandr Krasheninnikov
8d273e776b
Syslog logging support
2018-06-01 20:45:03 +03:00
proller
caf83a650e
libs: compiling with msvc2017 ( #1996 )
...
* Allow use bundled *ssl library
* fix
* Add submodule
* Fixes
* fix
* fixes
* fixes
* fix
* fix
* update poco
* fix warnings
* fix
* fix
* Build fixes
* Build fixes
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* add bat
* no zookeeper in dbms
* update boost
* fixes
* fixes
* fix
* fix
* fix
* fix
* try fix
* try fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Better
* fix
* dh verbose
* fix
* dh verbose
* fix
* clean
* Update LocalDate.h
* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
proller
d6a1f8470f
CLICKHOUSE-3553 Rebuild loggers on every config change ( #1973 )
...
* Macos test fix
* Fix freebsd build
* CLICKHOUSE-3553 Rebuild loggers on every config change
* rename clickhouse_common_configprocessor -> clickhouse_common_config; move Server/ConfigReloader.cpp -> Common/Config/
* CLICKHOUSE-3553 Set new level to all loggers on reload
* Dont use hash
* Update BaseDaemon.h
2018-02-28 23:34:25 +03:00
proller
d97b2edc7c
Make separate libs Common/ZooKeeper and Common/ConfigProcessor ( #1749 )
...
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed: dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h
* Fix space
* Fix data in system.build_options
* merge
* merge
2018-01-15 22:07:47 +03:00
Andrey Urusov
d21a2a057b
Graphite simplification
2017-11-23 13:29:11 +03:00
Alexey Milovidov
01e8adbfff
Removed "experimental" namespace [#CLICKHOUSE-2].
2017-11-20 07:15:43 +03:00
Vladimir Chebotarev
87cc80c30e
libdaemon: Moved default graphite config name to constant. [#CHEBOTAREV-14]
2017-08-24 16:37:27 +03:00
Alexey Milovidov
4687a2730d
Allow to override umask in config [#CLICKHOUSE-2].
2017-08-18 04:00:13 +03:00
Vadim Skipin
e6344f9048
Extract handlers to allow reuse
2017-08-10 06:13:15 +03:00
aprudaev
1cd217ba56
Fix reload configuration memory leak ( #892 )
...
* On reload remove previous configuration from LayeredConfiguration.
* fix build
2017-06-19 16:31:55 +03:00
Alexey Milovidov
41e97787e3
Less dependencies [#CLICKHOUSE-2].
2017-04-16 08:40:17 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
09e3134bf4
Revert "Using C++17 [#CLICKHOUSE-3]."
...
This reverts commit 431a735efe
.
2017-04-01 11:51:30 +03:00
Alexey Milovidov
ecb0b87bd8
Using C++17 [#CLICKHOUSE-3].
2017-04-01 11:51:30 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
proller
670e98fa92
allow several <graphite> targets ( #603 )
...
* allow several <graphite> targets
* fix
* fix
* Adjustable parts
* changelog version
* fix
* changelog
* Style fixes
* attachSystemTables
* config describe
* fixes
* fixes
2017-03-21 23:08:09 +04:00
proller
d98c95ddcd
fix build
2017-03-20 22:18:10 +03:00
Alexey Zatelepin
faadab3034
Allow including config elements from ZooKeeper [#CLICKHOUSE-2794]
2017-03-19 21:58:12 +04:00
proller
7201e2846a
Freebsd doc and build fix. finding Poco_NetSSL_OpenSSL removed (not used) ( #370 )
...
* Freebsd doc and build fix. finding Poco_NetSSL_OpenSSL removed (not used)
* fix override
2017-01-19 22:53:29 +04:00
Alexey Milovidov
415c588af0
Fixed error on clang [#CLICKHOUSE-2].
2017-01-14 12:16:23 +03:00
proller
ee3882f251
Allow link with external libs: poco, tcmalloc
2017-01-13 14:25:44 +03:00
proller
1649b003a0
Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811]
2017-01-09 16:42:29 +03:00
Alexey Milovidov
fc43827a6c
Preparation [#METR-2944].
2016-12-12 06:33:34 +03:00
Pavel Kartavyy
2f6b489ec2
daemon: add comments
2016-09-21 16:30:27 +03:00
Pavel Kartavyy
b04cb69e21
libdaemon: add tryGetInstance [#METR-22622]
2016-09-06 21:46:01 +03:00
Alexey Milovidov
d72d9733a8
Fixed warnings on clang [#METR-2944].
2016-08-07 19:25:31 +03:00
Pavel Kartavyy
ab88279577
BaseDaemon: terminate on double SIGINT
2016-06-10 15:01:14 +03:00
Pavel Kartavyy
ebafc24121
BaseDaemon: waitForTerminationRequest() use sigaction instead of sigwait
2016-06-08 17:39:19 +03:00
Vladimir Chebotarev
b427b21289
libdaemon: Flag for task failure indication [#METR-5408]
2016-05-12 22:40:23 +03:00
Alexey Milovidov
7b9d9631de
Removed few 'possibly lost' and 'still reachable' memory [#METR-2944].
2016-03-04 05:25:04 +03:00
Pavel Kartavyy
ea82b9d55f
daemon: make getTaskManager to be protected
2016-02-24 17:08:11 +03:00
Pavel Kartavyy
31ece973db
BaseDaemon: add logRevision method
2016-02-10 10:54:34 +03:00