Commit Graph

637 Commits

Author SHA1 Message Date
Vitaliy Lyudvichenko
cf24f6e2d1 Implemented draft version of clickhouse-local service. 2016-11-09 22:03:47 +03:00
Vladimir Chebotarev
cdaece7dfa : More specific usage of static libraries. [#METR-21516] 2016-11-09 21:49:01 +03:00
Vladimir Chebotarev
e2ceb63c54 libcommon, libre2, tools: Fixed build under OS X Sierra. [#METR-21516] 2016-11-03 15:41:13 +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
Alexey Milovidov
15b369bd08 More instrumentation [#METR-23272]. 2016-10-24 16:47:15 +03:00
Alexey Milovidov
98e36c68da Leader election: more safe [#METR-23272]. 2016-10-24 16:08:07 +03:00
Alexey Milovidov
6e49241120 Better [#METR-23272]. 2016-10-24 14:44:34 +03:00
Alexey Milovidov
9af5ce1e3b Separate compilation of ProfileEvents; comments [#METR-23237]. 2016-10-24 05:02:37 +03:00
Alexey Milovidov
39f2527012 Fixed memory leak [#METR-2944]. 2016-10-23 10:41:26 +03:00
Alexey Milovidov
8b1d686254 Whitespaces [#METR-2944]. 2016-10-23 09:58:26 +03:00
Alexey Milovidov
afcd933237 Probably better [#METR-23198]. 2016-10-23 06:46:51 +03:00
alexey-milovidov
812f392ad3 Merge pull request #119 from yandex/basedaemon-fix
Basedaemon fix destructor
2016-09-26 17:59:27 +04: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
Alexander Prudaev
174b9a806d merge clickhouse into metrika repo 2016-09-14 16:20:17 +03:00
Pavel Kartavyy
b04cb69e21 libdaemon: add tryGetInstance [#METR-22622] 2016-09-06 21:46:01 +03:00
Alexey Arno
882d40889b dbms: Better [#METR-18510] 2016-09-01 17:03:42 +03:00
Alexey Arno
6c064ab55b dbms: Better comment [#METR-18510] 2016-09-01 13:24:06 +03:00
Alexey Arno
4db7b09ee3 dbms: Better comment [#METR-18510] 2016-09-01 12:58:56 +03:00
Alexey Arno
b62b499a9c dbms: fixed race condition in SingleBarrier [#METR-18510] 2016-09-01 11:58:49 +03:00
Yuri Dyachenko
99f91e93ba renamed: libs/libcommon/include/ext/share_ptr_helper.hpp -> libs/libcommon/include/ext/shared_ptr_helper.hpp 2016-08-30 22:31:50 +03:00
Yuri Dyachenko
81df630c68 fix comment 2016-08-30 22:31:26 +03:00
Yuri Dyachenko
94a2186dde rename ext::share_ptr_helper -> ext::shared_ptr_helper 2016-08-30 22:27:15 +03:00
Yuri Dyachenko
e5825f790f use std::enable_shared_from_this for IStorage 2016-08-29 16:28:34 +03:00
Yuri Dyachenko
065b02494a add -Wold-style-cast 2016-08-26 22:55:11 +03:00
Vasily Okunev
1cac1e7d69 Common get_revision function. 2016-08-25 20:55:25 +03:00
alexey-milovidov
9148209bc2 Merge pull request #80 from yandex/metrica-sync2
Metrica sync2
2016-08-23 18:18:19 +04:00
Pavel Kartavyy
38102a356c StrongTypedef: fixed bug with same type. Supported only moved types like unique_ptr 2016-08-23 13:41:08 +03:00
Pavel Kartavyy
ba9cf229cd dbms: remove unused headers 2016-08-22 18:07:02 +03:00
Pavel Kartavyy
8b6a8a133b dbms: fix build 2016-08-22 17:55:49 +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
Alexey Milovidov
453c5e1528 Fixed build [#METR-2807]. 2016-08-19 20:03:23 +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
9c8697655e build: fix build after merge with clickhouse repo 2016-08-18 14:17:07 +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
9a07830dbb Removed useless code (experimental) [#METR-2944]. 2016-08-02 04:46:05 +03:00
Alexey Milovidov
1c25aa3b9d Removed useless code [#METR-2944]. 2016-08-01 23:03:55 +03:00
Alexey Milovidov
6d6c22f92e Allow to start under thread sanitizer [#METR-2944]. 2016-07-30 07:44:04 +03:00
Alexey Milovidov
ea734b6bee Removed compatibility layer with OLAPServer [#METR-2944]. 2016-07-30 04:08:00 +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
Pavel Kartavyy
5199873d12 logbroker-import: faster balancing 2016-07-14 14:42:51 +03:00
Alexey Milovidov
55ed2904f4 Allowed for certain aggregate functions to have case insensitive names for compatibility [#METR-22087]. 2016-07-14 08:22:09 +03:00
Pavel Kartavyy
aaf4207c38 logbroker-import: develop partition release 2016-07-13 17:14:05 +03:00
Pavel Kartavyy
34b27dbbe4 logbroker-import: limited number of workers 2016-07-12 13:41:37 +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
76abce1ce0 zkutil::Lock: add comment 2016-07-08 15:01:59 +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
Alexey Milovidov
cb83414021 Addition to prev. revision [#METR-2944]. 2016-06-27 11:08:39 +03:00
Alexey Milovidov
93954476bc Addition to prev. revision [#METR-2944]. 2016-06-27 10:47:08 +03:00
Alexey Milovidov
50994f0458 Addition to prev. revision [#METR-2944]. 2016-06-27 10:16:36 +03:00
Alexey Milovidov
96805d4c2a Addition to prev. revision [#METR-2944]. 2016-06-27 10:15:48 +03:00
Alexey Milovidov
d578fae595 Addition to prev. revision [#METR-2944]. 2016-06-27 10:13:54 +03:00
Alexey Milovidov
67890d185a Addition to prev. revision [#METR-2944]. 2016-06-27 09:52:27 +03:00
Alexey Milovidov
30ce038312 Added option for compatibility with older glibc versions (experimental) [#METR-2944]. 2016-06-27 09:34:10 +03:00
Alexey Milovidov
6ba6d01491 Using in-tree zookeeper client library [#METR-21848]. 2016-06-26 11:16:13 +03:00
Pavel Kartavyy
2435af6e31 MultiVersion: add ctor, set from unique_ptr 2016-06-14 14:45:42 +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
Pavel Kartavyy
075129850b zkutil: improve Ops description 2016-06-14 14:45:36 +03:00
Pavel Kartavyy
894daaccf3 zookeeper: add describe method for operations 2016-06-14 14:45:35 +03:00
Pavel Kartavyy
2a15df5364 zkutil::Lock: fixed bug if lock was moved 2016-06-14 14:44:34 +03:00
Pavel Kartavyy
2e67346026 logbroker-import: fix build [#METR-19530]
fix build
2016-06-14 14:44:33 +03:00
Pavel Kartavyy
3122b21a44 StrongTypedef: specialize std::hash 2016-06-14 14:44:32 +03:00
Pavel Kartavyy
69e1a0ab2f strong_typedef: fix build 2016-06-14 14:44:30 +03:00
Pavel Kartavyy
4e94c68bbb logbroker-import: add CommitMaker, ZooKeeperState [#METR-19530] 2016-06-14 14:44:26 +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
90acaf81e5 zkutil: add missed library 2016-06-08 17:40:46 +03:00
Pavel Kartavyy
2416f1bd91 create_revision: change regexp 2016-06-08 17:40:17 +03:00
Pavel Kartavyy
ebafc24121 BaseDaemon: waitForTerminationRequest() use sigaction instead of sigwait 2016-06-08 17:39:19 +03:00
Vladimir Chebotarev
7f942e782c libcommon: removed pure attribute from JSON [#METR-21516] 2016-06-02 01:43:43 +03:00
Alexey Milovidov
c518abe882 Get rid of Poco::SharedPtr [#METR-21503]. 2016-05-28 20:31:50 +03:00
Alexey Milovidov
d4eba7602d Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:26:29 +03:00
Alexey Milovidov
6917fe9d16 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:24:59 +03:00
Alexey Milovidov
6776cb7dec Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:24:27 +03:00
Alexey Milovidov
0d51b4e3c8 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:21:16 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +03:00
Alexey Milovidov
39d87694be Fixed error [#METR-20000]. 2016-05-28 03:32:37 +03:00
Alexey Milovidov
a8ca56ecc0 Better [#METR-2944]. 2016-05-28 03:22:09 +03:00
Alexey Milovidov
29f013ce8a Better [#METR-2944]. 2016-05-28 03:16:28 +03:00
Vladimir Chebotarev
da45ac3d30 libmysqlxx: Proper target_link_libraries [#METR-20000] 2016-05-23 17:05:17 +03:00
Alexey Milovidov
052b3d5154 Fixed build for autotests [#METR-20000]. 2016-05-23 03:56:34 +03:00
Vladimir Chebotarev
d37437b3a8 cmake, libtcmalloc: Using of tcmalloc, build fixes [#METR-XXXXX] 2016-05-22 22:04:19 +03:00
Vladimir Chebotarev
b427b21289 libdaemon: Flag for task failure indication [#METR-5408] 2016-05-12 22:40:23 +03:00
Alexey Milovidov
31ed033fbb Fixed leader election in completely different way to allow many replicas in single ClickHouse instance (that is used in tests) [#METR-20132]. 2016-04-09 05:03:44 +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
1969504052 Fixed leader election [#METR-20132]. 2016-03-29 18:31:24 +03:00
Alexey Arno
fc728d4249 dbms: Added forgotten file. [#METR-18510] 2016-03-25 16:57:33 +03:00
Alexey Arno
99ef0820f7 dbms: Improved fault tolerance with regards to ZooKeeper. [#METR-18510] 2016-03-25 15:53:10 +03:00
Alexey Arno
776a0e3041 dbms: Improved fault tolerance with regards to ZooKeeper. [#METR-18510] 2016-03-25 15:21:10 +03:00
Alexey Arno
32a38485e6 Merge 2016-03-25 14:48:45 +03:00