Commit Graph

72 Commits

Author SHA1 Message Date
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 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
c469b726c1 Merge 2015-10-13 15:38:38 +03:00
Alexey Milovidov
2cb2850ca9 dbms: fixed error with system.zookeeper table [#METR-18410]. 2015-10-13 14:16:32 +03:00
Pavel Kartavyy
e596f53a6a ZooKeeper: throw correct exception code in get method [#METR-16142] 2015-10-01 15:24:44 +03:00
Alexey Milovidov
1f6def094f dbms: fixed build [#METR-18202]. 2015-09-29 22:19:54 +03:00
Alexey Milovidov
f9c018035a Addition to prev. revision [#METR-18139]. 2015-09-23 23:51:01 +03:00
Alexey Milovidov
2954f106a8 Addition to prev. revision [#METR-18138]. 2015-09-23 04:26:48 +03:00
Alexey Milovidov
d53f173478 dbms: quorum inserts: development [#METR-16779]. 2015-09-11 05:13:59 +03:00
Pavel Kartavyy
541f051cd1 zkutil: remove ctor [#METR-17045] 2015-07-01 11:55:31 +03:00
Pavel Kartavyy
67944de74e zookeeper: add createOrUpdate method [#METR-15514] 2015-06-10 11:15:30 +03:00
Pavel Kartavyy
8d0e842dde zkutil: add remove with retries [#METR-16024] 2015-05-18 15:38:50 +03:00
Alexey Milovidov
e4bd9b1dec dbms: cut another dependency [#METR-2944]. 2015-04-16 10:22:29 +03:00
Pavel Kartavyy
d4de29beb2 ███████████: use one instance of zookeeper [#METR-14731]
Probably two instances of zookeeper can cause reordering of operations.
2015-01-22 13:33:20 +03:00
Alexey Milovidov
40d28a78e1 zkutil: fixed error with async. interface [#METR-14296]. 2014-12-14 07:38:11 +03:00
Alexey Milovidov
bd107656dc dbms: style [#METR-2944]. 2014-11-30 10:02:36 +03:00
Alexey Milovidov
c013925329 dbms: style [#METR-2944]. 2014-11-30 10:01:00 +03:00
Pavel Kartavyy
1ee06f5e17 zkutil: limited sleep time [#METR-13884] 2014-11-27 15:25:23 +03:00
Pavel Kartavyy
21b59eeb0d style fix [#METR-13884] 2014-11-26 21:58:51 +03:00
Pavel Kartavyy
7aa585af85 daemons: set big session timeouts in daemons which doesn't use any locks [#METR-13884] 2014-11-26 21:58:31 +03:00
Alexey Milovidov
43ff614c79 Tiny modification (tnx. hertz) [#METR-2807]. 2014-10-18 21:53:18 +04:00
Alexey Milovidov
ef82933bb3 zkutil: Async interface: development [#METR-2944]. 2014-10-17 00:05:26 +04:00
Alexey Milovidov
c1966ab09a Asynchronous interface to ZK (development) [#METR-2944]. 2014-10-16 05:46:56 +04:00
Alexey Milovidov
c2e4662ad7 Changed boost:: to std:: for bind, ref/cref, thread, shared_ptr [#METR-2807]. 2014-10-16 05:21:03 +04:00
Pavel Kartavyy
7bb049e4e0 Merge 2014-10-02 20:07:18 +04:00
Alexey Milovidov
0ea4691107 Merge 2014-09-12 04:32:27 +04:00
Pavel Kartavyy
3258e4a160 Merge 2014-08-21 19:08:48 +04:00
Michael Kolupaev
5e0e9bbc00 Merge 2014-08-11 18:05:42 +04:00
Pavel Kartavyy
dbe5ce0cc0 zkutil::Lock more robust [#METR-10969] 2014-08-06 17:24:44 +04:00
Pavel Kartavyy
00074ffaa5 robust requests to clickhouse [#METR-10969] 2014-08-06 17:24:44 +04:00
Michael Kolupaev
1ca69dcd7b zkutil: try* methods throw exception on connection loss and timeout. [#METR-10202] 2014-07-18 20:50:51 +04:00
Michael Kolupaev
42ec19a1e1 zkutil: removed unused typedef. [#METR-2807] 2014-07-08 18:41:19 +04:00
Michael Kolupaev
039858e3f7 zkutil: fixed a bug, removed unused code. [#METR-10202] 2014-07-08 16:45:47 +04:00
Michael Kolupaev
8d928558dc zkutil: a little better error message. [#METR-2807] 2014-07-08 14:13:40 +04:00
Michael Kolupaev
b40f8bd8d5 Merge 2014-07-07 13:51:42 +04:00
Michael Kolupaev
861eee9163 Merge 2014-07-03 16:15:43 +04:00
Pavel Kartavyy
c9dca1bc61 zkutil: better processing for ConnectionLoss [#METR-11178] 2014-07-02 19:08:04 +04:00
Michael Kolupaev
82d34fa1e9 Merge 2014-07-02 13:21:41 +04:00
Pavel Kartavyy
b2f029dc55 libzkutil: wait when ConnectionLoss happened [#METR-11178] 2014-07-01 19:04:27 +04:00
Pavel Kartavyy
93b9844f03 CommonChunkProcessor: avoid duplication of written data if removing chunks from ZK failed [#METR-11178] 2014-07-01 19:04:27 +04:00
Pavel Kartavyy
9feab97b19 ███████████: write recount requests robustly [#METR-11718] 2014-07-01 19:04:27 +04:00
Pavel Kartavyy
0eedb5ee84 zkutil: changed exception policy [#METR-10969] 2014-07-01 19:04:26 +04:00