Commit Graph

52 Commits

Author SHA1 Message Date
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
Alexey Milovidov
0e818311e0 Clarifications [#CLICKHOUSE-2] 2018-01-17 21:10:38 +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
proller
bcb230ebc6 Fix incudes, move code from daemon/OwnPatternFormatter.h 2017-04-27 08:40:27 +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
Alexey Milovidov
4f44445ff0 Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//' 2017-03-31 19:00:30 +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
Pavel Kartavyy
5107cd94b3 support absence of BaseDaemon in OwnPatternFormatter 2017-02-07 19:37:56 +03:00
Pavel Kartavyy
6d48eacbff update usage of OwnPatternFormatter 2017-02-07 15:24:28 +03:00
Pavel Kartavyy
b61bd0b96b Merge commit '84e4fb00bd0373058bfc091d2d19a8034df7cc93' into update-clickhouse
Conflicts:
	metrica/src/ClickHouse/libs/libdaemon/src/BaseDaemon.cpp
2017-02-06 17:57:47 +03: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
d78e1dfa8c test-helpers: fix build 2016-10-04 19:46:27 +03:00
Pavel Kartavyy
b6118b1581 Test::initLogger(): use custom formatter in logging. supports logname, timestamp etc. [#METR-22785] 2016-10-04 12:58:38 +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
Pavel Kartavyy
ba9cf229cd dbms: remove unused headers 2016-08-22 18:07:02 +03:00
Pavel Kartavyy
6e7bb0cd65 Merge branch 'master' into METR-19530
Conflicts:
	metrica/src/CMakeLists.txt
	metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
	metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
	metrica/src/libs/CMakeLists.txt
	metrica/src/libs/liblogbroker-client/src/LogBroker.cpp
	metrica/src/libs/liblogbroker-log-import/include/logbroker-log-import/LogBrokerLogImportTask-inl.h
	metrica/src/libs/libstatdaemons/include/statdaemons/write_destinations/ClickHouseCluster.h
	metrica/src/programs/cleanerd/src/config.xml
	metrica/src/programs/deduplicatord/src/Task.cpp
	metrica/src/programs/visit-log-processor/src/VisitLogHandler.h
	metrica/src/tools/ssqls/templates/header.tpl
2016-08-19 17:15:58 +03:00
Pavel Kartavyy
f9af920679 Merge commit '80e8c38c280f60d11ede1833908e3f68344e1d08' 2016-08-18 12:36:38 +03:00
Alexey Milovidov
d72d9733a8 Fixed warnings on clang [#METR-2944]. 2016-08-07 19:25:31 +03:00
Alexey Vasiliev
1bef561c32 code reviewed [#MOBMET-3538] 2016-07-29 15:50:19 +03:00
Alexey Vasiliev
8aebb9396f deduplicatord: supported layers [#MOBMET-3538] 2016-07-28 12:37:21 +03:00
Pavel Kartavyy
01cee7b3ce graphite: move daemon specific functions to statdaemond [#METR-19530] 2016-06-14 14:45:39 +03:00
Pavel Kartavyy
8ad40e5d4c write statistic to graphite 2016-06-14 14:45:37 +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
Pavel Kartavyy
eca42536d8 dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon 2016-02-09 20:06:50 +03:00
Dmitry Galuza
c2fbf804a8 ███████████, awaps-import: minor fixes
rename graphite metrics
fix logging
fix merge bug
fix BindingType = 3
fix MobilePageIDs
fix Counters parsing on BidingType = 0
2016-02-03 18:10:28 +03:00
Pavel Kartavyy
34545cfdac Merge 2016-01-22 14:48:31 +03:00
Vsevolod Orlov
ea301e6304 Fix unexpected 'one_min' [#MOBMET-3053] 2016-01-21 11:01:41 +03:00
Pavel Kartavyy
07399b2915 Merge 2016-01-19 15:41:14 +03:00