Commit Graph

150 Commits

Author SHA1 Message Date
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
Alexey Zatelepin
fccbc82c24 translate comments 2017-03-19 21:58:12 +04:00
Alexey Zatelepin
faadab3034 Allow including config elements from ZooKeeper [#CLICKHOUSE-2794] 2017-03-19 21:58:12 +04:00
Alexey Milovidov
d605bfdc9d Using internal boost library [#METR-2944]. 2016-12-12 07:57:09 +03:00
Alexey Milovidov
9c8f4f02c4 Using internal boost library [#METR-2944]. 2016-12-12 07:27:57 +03:00
Alexey Milovidov
fc43827a6c Preparation [#METR-2944]. 2016-12-12 06:33:34 +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
afcd933237 Probably better [#METR-23198]. 2016-10-23 06:46:51 +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
Pavel Kartavyy
5199873d12 logbroker-import: faster balancing 2016-07-14 14:42:51 +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
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
2e67346026 logbroker-import: fix build [#METR-19530]
fix build
2016-06-14 14:44:33 +03:00
Alexey Milovidov
c518abe882 Get rid of Poco::SharedPtr [#METR-21503]. 2016-05-28 20:31:50 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +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
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
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
9371fd1923 Fixing build on clang [#METR-2807]. 2016-03-07 07:07:08 +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
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
4e61ade0d1 Merge 2016-01-13 18:55:02 +03:00
Alexey Milovidov
13c7d0983a dbms: cutting dependency [#METR-2944].. 2016-01-12 00:46:36 +03:00
Pavel Kartavyy
74bf058379 zkutil: build fix [#METR-18346] 2015-12-25 12:10:17 +03:00
Pavel Kartavyy
db6e6a2842 zkutil::KeeperException: add isHardwareError [#METR-18346] 2015-12-21 12:55:56 +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
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