Alexey Milovidov
7bee9f650e
Removed old logic, when paths in graphite could use something other than FQDN [#MTRSADMIN-2700].
2017-02-16 22:46:22 +03:00
Alexey Milovidov
b5d5fcc17d
Merge branch 'master' of github.com:yandex/ClickHouse
2017-02-14 15:12:44 +03:00
Alexey Milovidov
b4a47af61d
Style [#CLICKHOUSE-2].
2017-02-14 15:12:23 +03:00
proller
ed659bb64e
Create core dir: dont crash if have no permissions ( #486 )
...
* Create core dir: dont crash if have no permissions
* debian postinst: Fix changing owner of old /opt/clickhouse
* space
* fix
* fix
2017-02-14 16:11:46 +04:00
alexey-milovidov
cee5ab01fb
Merge branch 'master' into merge_with_metrika
2017-02-11 00:27:15 +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
Alexey Zatelepin
7522cecd67
differentiate setrlimit error messages
2017-02-07 09:28:53 +04:00
Pavel Kartavyy
224ba16dcb
use project source and binary dirs instead of global dirs
2017-02-06 18:15:19 +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
9c3133deac
wip
2017-01-25 16:17:13 +03:00
Alexey Milovidov
6ec9380510
Allow to set server timezone from configuration file [#CLICKHOUSE-2765].
2017-01-22 15:53:24 +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
proller
29475c94c0
Reorganize includes, less depends in .h files
2017-01-16 22:47:11 +03: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
proller
4bc003c4c1
Porting to freebsd: initial, compile ok, most tests ok.
2016-12-24 01:03:10 +00:00
Alexey Milovidov
fc43827a6c
Preparation [#METR-2944].
2016-12-12 06:33:34 +03:00
Alexey Milovidov
6fbf550387
Write microseconds to log [#METR-22327].
2016-11-18 02:29:22 +03:00
Vladimir Smirnov
d36f52502e
Make it compilable on OS X
...
It's still hackish and dirty, but server and client compies.
Server starts, but throwes meaningless exception on any query.
Client seems to be working fine.
Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01: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
Alexander Prudaev
a1c8008f2d
fix segfault in BaseDamon destructor [#METR-22887].
2016-09-26 15:34:54 +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
2032acd557
Merge commit 'e960efd5e63e4de51151724db92e6c2548aa88d9'
...
Conflicts:
metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
2016-08-22 17:22:27 +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 Milovidov
6d6c22f92e
Allow to start under thread sanitizer [#METR-2944].
2016-07-30 07:44:04 +03:00
Alexey Vasiliev
1bef561c32
code reviewed [#MOBMET-3538]
2016-07-29 15:50:19 +03:00
Alexey Vasiliev
ab78f8d0bf
GraphiteWriter: fixed invalid storage type of variable [#MOBMET-3538]
2016-07-29 11:00:16 +03:00
Alexey Vasiliev
8aebb9396f
deduplicatord: supported layers [#MOBMET-3538]
2016-07-28 12:37:21 +03:00
Alexey Milovidov
8922aafc39
Fixed error when 'core_dump,size_limit' configuration parameter has no effect [#BSDEV-55590].
2016-07-24 02:03:28 +03:00
alexey-milovidov
4cb7924b1e
Merge pull request #47 from yandex/change-signal
...
terminate sends SIGTERM instead of SIGINT
2016-07-11 21:24:37 +03:00
Pavel Kartavyy
5ad60a21ef
BaseDaemon: add missed throw
2016-07-09 00:20:44 +03:00
Pavel Kartavyy
6bdc4ac851
BaseDaemon: change terminate signal to SIGTERM.
...
gdb catches SIGINT and by default don't pass it to daemon
2016-07-08 13:26:58 +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
f8ed64a4ee
statdaemons: add environment detector
2016-06-14 14:45:37 +03:00
Alexey Milovidov
abbb80ddd9
Modifications for address sanitizer [#METR-2944].
2016-06-10 21:58:04 +03:00
Pavel Kartavyy
ab88279577
BaseDaemon: terminate on double SIGINT
2016-06-10 15:01:14 +03:00
Pavel Kartavyy
c4017da0d8
BaseDaemon: improve message
2016-06-09 12:59:39 +03:00
Pavel Kartavyy
f901ffe116
BaseDaemon: add missed space
2016-06-09 12:59:39 +03:00
Pavel Kartavyy
ebafc24121
BaseDaemon: waitForTerminationRequest() use sigaction instead of sigwait
2016-06-08 17:39:19 +03:00
Alexey Milovidov
4c7eb03b63
Using std::shared_ptr for data types [#METR-21503].
2016-05-28 13:35:44 +03:00
Vladimir Chebotarev
b427b21289
libdaemon: Flag for task failure indication [#METR-5408]
2016-05-12 22:40:23 +03:00
Alexey Milovidov
1e73f2690e
Addition to prev. revision [#CSADMIN-10464].
2016-03-31 23:16:09 +03:00
Alexey Milovidov
961bdfdaa0
Allowed to use FQDN for server name in Graphite metrics [#CSADMIN-10464].
2016-03-31 23:13:56 +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
aa9df68e3c
BaseDaemon: can configure core_dump size
2016-02-24 17:08:11 +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
Alexey Milovidov
df1d66e51a
Removed sensitive data.
2016-02-08 00:58:58 +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
0ebeda8f8a
Fix unexpected 'one_min' #2 [#MOBMET-3053]
2016-01-21 11:04:03 +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
Alexey Milovidov
3b3dab716a
dbms: porting to aarch64 [#METR-19609].
2016-01-16 04:38:07 +03:00
Alexey Milovidov
bffc6ce8bd
dbms: better [#TESTIRT-8223].
2016-01-15 23:37:56 +03:00
Alexey Milovidov
6692460249
dbms: addition to prev. revision [#METR-17973].
2016-01-15 07:13:00 +03:00
Alexey Milovidov
015039c2f7
dbms: addition to prev. revision [#METR-17973].
2016-01-15 07:03:45 +03:00