Commit Graph

152 Commits

Author SHA1 Message Date
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
9af5ce1e3b Separate compilation of ProfileEvents; comments [#METR-23237]. 2016-10-24 05:02:37 +03:00
Alexey Arno
882d40889b dbms: Better [#METR-18510] 2016-09-01 17:03:42 +03:00
Alexey Arno
b62b499a9c dbms: fixed race condition in SingleBarrier [#METR-18510] 2016-09-01 11:58:49 +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
Alexey Milovidov
1c25aa3b9d Removed useless code [#METR-2944]. 2016-08-01 23:03:55 +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
76abce1ce0 zkutil::Lock: add comment 2016-07-08 15:01:59 +03:00
Pavel Kartavyy
2a15df5364 zkutil::Lock: fixed bug if lock was moved 2016-06-14 14:44:34 +03:00
Alexey Milovidov
c518abe882 Get rid of Poco::SharedPtr [#METR-21503]. 2016-05-28 20:31:50 +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 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
Alexey Milovidov
974f18c38e zkutil: minor changes [#METR-20145]. 2016-03-09 22:59:27 +03:00
Evgeniy Gatov
bb7c564c7c libzkutil/RWLock: removed duplicated code [#METR-18510] 2016-03-08 21:40:37 +03:00
Evgeniy Gatov
6aa4d59400 Merge 2016-03-08 20:52:42 +03:00
Alexey Arno
0f35ecc357 dbms: Code cleanup. [#METR-18510] 2016-03-08 16:46:00 +03:00
Alexey Milovidov
ebf5b3afdd Merge 2016-03-07 05:21:16 +03:00
Alexey Arno
aeb14a7855 dbms: More locking improvements. [#METR-18510] 2016-03-03 19:22:10 +03:00
Alexey Arno
3b9ea20c91 dbms: More locking improvements. [#METR-18510] 2016-03-03 19:20:19 +03:00
Pavel Kartavyy
4e2a760474 Merge 2016-03-03 18:38:13 +03:00
Alexey Arno
d21060c35b dbms: Locking performance and correctness improvements. [#METR-18510] 2016-03-03 17:37:15 +03:00
Alexey Arno
6efc98d1f3 Merge 2016-03-01 20:47:53 +03:00
Alexey Milovidov
59fd4f9d06 Attempt to fix an error with yielding leadership [#METR-20132]. 2016-02-19 23:35:25 +03:00
Alexey Milovidov
df1d66e51a Removed sensitive data. 2016-02-08 00:58:58 +03:00
Alexey Milovidov
345b4b91f7 dbms: preparation [#METR-17973]. 2016-02-05 04:31:09 +03:00
Alexey Milovidov
e5d4149ca4 Merge 2016-01-28 04:00:42 +03:00
Alexey Milovidov
67a07205b7 Merge 2016-01-28 04:00:27 +03:00
Alexey Milovidov
5c90d7d45c Merge 2016-01-26 05:00:25 +03:00
Alexey Milovidov
085dd9f90a Merge 2016-01-26 04:56:42 +03:00
Alexey Arno
ae2f7c7613 Merge 2016-01-26 03:30:18 +03:00
Alexey Milovidov
6d50fb4b44 dbms: fixed quorum inserts; improved performance of ordinary inserts [#METR-16779]. 2016-01-24 08:00:24 +03:00
Alexey Arno
a3ea32b985 Merge 2016-01-21 19:30:05 +03:00
Pavel Kartavyy
217663dc5d Merge 2016-01-14 14:35:58 +03:00
Alexey Milovidov
d95139d6f3 dbms: tiny improvement [#METR-2944]. 2016-01-14 00:33:42 +03:00
Pavel Kartavyy
74bf058379 zkutil: build fix [#METR-18346] 2015-12-25 12:10:17 +03:00
Pavel Kartavyy
a910893edc zkutil::Lock: unlock doesn't throw if zookeeper in unrecoverable state [#METR-18346] 2015-12-21 12:54:08 +03:00
Pavel Kartavyy
915fbd16a6 zkutil::Lock: store ZooKeeperHandler if lock is locked to prevent reinitialization of zookeeper session [#METR-18346] 2015-12-18 14:22:03 +03:00
Pavel Kartavyy
c8bc21d032 ZooKeeperHolder: add debug message [#METR-18346] 2015-12-15 13:09:06 +03:00
Pavel Kartavyy
75142c5d41 daemons: use zkutil::Lock::tryCheck [#METR-18346] 2015-12-15 13:01:52 +03:00
Pavel Kartavyy
3dd3eca409 zkutil::Lock: add tryCheck method which down't throw if lock was stolen [#METR-18346] 2015-12-15 13:01:52 +03:00
Pavel Kartavyy
9c064a1440 zookeeper: use ZookeeperHolder in statdaemons [#METR-18346] 2015-12-15 13:01:51 +03:00
Pavel Kartavyy
4afceba26c zkutil::Lock: use ZooKeeperHolder [#METR-18346] 2015-12-15 13:01:51 +03:00
Pavel Kartavyy
ad29c8c42c ZooKeeperHolder: changed interface [#METR-18346] 2015-12-15 13:01:51 +03:00
Pavel Kartavyy
d3be463a7d ZooKeeperHolder: add comparison to nullptr [#METR-18346] 2015-12-15 13:01:51 +03:00
Pavel Kartavyy
7ddc267dd6 zkutil: add ZooKeeperHolder to hold one instance of zookeeper and reinit session if there is no reference on it [#METR-18346] 2015-12-15 13:01:50 +03:00