Commit Graph

237 Commits

Author SHA1 Message Date
Alexey Milovidov
55f6e9eccc dbms: addition [#METR-18410]. 2015-10-13 13:04:30 +03:00
Alexey Milovidov
a06096f7a5 dbms: ZooKeeper async functions: added support for NULL values [#METR-18410]. 2015-10-13 12:57:59 +03:00
Pavel Kartavyy
2163af290a Merge 2015-10-08 16:21:23 +03:00
Alexey Milovidov
918422ad48 Moved files [#METR-17973]. 2015-10-05 04:35:28 +03:00
Alexey Milovidov
feec229066 Moved files [#METR-17973]. 2015-10-05 04:26:43 +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
23cb9c7fcd dbms: fixed error in async interface to ZooKeeper [#METR-18088]. 2015-09-22 00:37:34 +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
d6e101ae4b Merge 2015-06-16 17:46:24 +03:00
Pavel Kartavyy
dd05019fe2 cloud: fix error [#METR-15514] 2015-06-10 15:44:55 +03:00
Pavel Kartavyy
e201f39f7f Zookeeper: style fix 2015-06-10 15:28:42 +03:00
Pavel Kartavyy
67944de74e zookeeper: add createOrUpdate method [#METR-15514] 2015-06-10 11:15:30 +03:00
Evgeniy Gatov
775812734d Merge 2015-05-28 18:00:53 +03:00
Andrey Mironov
ff4fb2784a zkutil: rework KeeperException to minimize repetition, set non-zero return code for KeeperException, process ZSESSIONMOVED as unrecoverable 2015-05-26 17:40:36 +03:00
Evgeniy Gatov
1086668e6e Merge 2015-05-18 17:29:14 +03:00
Pavel Kartavyy
8d0e842dde zkutil: add remove with retries [#METR-16024] 2015-05-18 15:38:50 +03:00
Evgeniy Gatov
9880c62839 libzkutil: tiny [#METR-13470]. 2015-04-22 20:56:27 +03:00
Alexey Milovidov
dd4cef4781 dbms: fixed build [#METR-2944]. 2015-04-16 10:32:40 +03:00
Alexey Milovidov
e4bd9b1dec dbms: cut another dependency [#METR-2944]. 2015-04-16 10:22:29 +03:00
Pavel Kartavyy
ef08ca1f96 ███████████: better loggind and tiny fixes [#METR-15299] 2015-03-17 16:59:25 +03:00
Pavel Kartavyy
23ef0b9787 zkutil: add Increment [#METR-15299]
███████████: write clicks to cloud [#METR-15299]
2015-03-17 16:59:24 +03:00
Alexey Milovidov
dac230aa9e Fixed build with boost 1.57 [#METR-2944]. 2015-02-04 08:15:32 +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
1be4bd0663 Fixed errors in clang (part 1) [#METR-2807]. 2015-01-21 06:56:28 +03:00
Pavel Kartavyy
1de925d879 ███████████: fixed small errrors and better logging [#METR-13222] 2014-12-26 16:43:18 +03:00
Alexey Milovidov
40d28a78e1 zkutil: fixed error with async. interface [#METR-14296]. 2014-12-14 07:38:11 +03:00
Alexey Milovidov
52304c68e7 zkutil: modified test [#METR-14296]. 2014-12-14 05:23:19 +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
Pavel Kartavyy
8e801e7163 zkutil: fixed bug 2014-10-31 16:12:50 +03:00
Pavel Kartavyy
d93b251fa4 ███████████: restart if unrecoverable error happened [#METR-10969] 2014-10-30 16:28:45 +03:00
Pavel Kartavyy
07d29d10a7 zookeeper: shuffle servers for better balancing 2014-10-21 17:46:46 +04:00
Alexey Milovidov
43ff614c79 Tiny modification (tnx. hertz) [#METR-2807]. 2014-10-18 21:53:18 +04:00
Alexey Milovidov
58fb17ae88 zkutil: additions [#METR-2944]. 2014-10-17 02:03:38 +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
Alexey Milovidov
0d4390c176 zkutil: fixed error [#METR-13153]. 2014-10-10 03:12:10 +04:00
Pavel Kartavyy
7bb049e4e0 Merge 2014-10-02 20:07:18 +04:00
Pavel Kartavyy
458eb3086c zookeeper: fixed error when createIfNotExists can throw error due to netwrok error 2014-09-24 17:02:47 +04:00
Alexey Milovidov
0ea4691107 Merge 2014-09-12 04:32:27 +04:00
Alexey Milovidov
1af0c1a524 dbms: instrumenting ZooKeeper [#METR-12725]. 2014-09-12 00:34:41 +04:00
Pavel Kartavyy
b62e0ed395 Merge 2014-09-04 18:59:00 +04:00
Alexey Milovidov
e54969e251 zkutil: added missing comma to exception message [#METR-12572]. 2014-09-03 05:18:11 +04:00
Pavel Kartavyy
3258e4a160 Merge 2014-08-21 19:08:48 +04:00
Pavel Kartavyy
245d2c1a29 zkutil::Lock fixed minor issue [#METR-10969] 2014-08-15 14:20:34 +04:00
Pavel Kartavyy
35a3ce7daf ███████████: better logging [#METR-10969] 2014-08-14 23:27:18 +04:00
Pavel Kartavyy
0e59aa4bf1 Lock: can write lock message [#METR-10969] 2014-08-13 17:41:08 +04:00
Michael Kolupaev
5e0e9bbc00 Merge 2014-08-11 18:05:42 +04:00
Michael Kolupaev
dd90d58dff zkutil: avoiding segfault in multi on session expiration. [#METR-12236] 2014-08-11 15:24:10 +04:00
Michael Kolupaev
971636f733 added files missing in previous commit. [#METR-12236] 2014-08-11 14:59:56 +04:00
Michael Kolupaev
eaf4a79f11 Merge 2014-08-08 16:53:59 +04:00
Michael Kolupaev
336f9f5beb zkutil_test: fixed set query. [#METR-2807] 2014-08-08 13:04:33 +04:00
Pavel Kartavyy
2d3b023996 build-fix after rebase [#METR-10969] 2014-08-06 17:24:44 +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
Pavel Kartavyy
1024697bf7 zk: fix debug level [#METR-10969] 2014-08-06 17:24:42 +04:00
Pavel Kartavyy
b9e4f25a94 bugfixes [#METR-10969] 2014-08-06 17:24:42 +04:00
Pavel Kartavyy
54ce386586 build fix after merge: [#METR-10969] 2014-08-06 17:24:42 +04:00
Pavel Kartavyy
c8594e6646 FileCloudQueueProcessor: added selection of layer [#METR-10969] 2014-08-06 17:24:41 +04:00
Michael Kolupaev
2854ed49da Merge 2014-07-28 18:50:51 +04:00
Alexey Milovidov
94ed780065 ███████████: intrusive: development [#METR-12050]. 2014-07-26 08:12:43 +04:00
Michael Kolupaev
a6e8c35ba8 Merge 2014-07-25 11:49:02 +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
977a8932a0 zkutil: removeRecursive works faster and more reliably when there are thousands of chilren. [#METR-2807] 2014-07-18 18:44:56 +04:00
Michael Kolupaev
e320d6c35c zkutil: logging an error when watch leak is suspected. [#METR-10202] 2014-07-18 16:25:24 +04:00
Michael Kolupaev
2f14b3b025 zkutil: fixed race conditions. [#METR-11886] 2014-07-18 15:53:24 +04:00
Michael Kolupaev
8f394dd852 Merge 2014-07-14 15:45:34 +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
3b59ecfba4 zkutil: a small simplification. [#METR-2807] 2014-07-07 18:51:31 +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
Michael Kolupaev
faafb36596 Merge 2014-07-01 19:58:25 +04:00
Pavel Kartavyy
b2f029dc55 libzkutil: wait when ConnectionLoss happened [#METR-11178] 2014-07-01 19:04:27 +04:00
Pavel Kartavyy
499420f2cd improvements [#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
Pavel Kartavyy
0cd5c39456 zk: added retry to exists [#METR-11718] 2014-07-01 19:04:26 +04:00
Michael Kolupaev
5f1fa12ee4 zkutil: fixed segfault on connection loss. [#METR-10202] 2014-07-01 12:50:03 +04:00
Michael Kolupaev
b642bcd4ca fixed LeaderElection. [#METR-10202] 2014-06-30 16:19:55 +04:00
Michael Kolupaev
4d22313fb2 fixed zkutil_test_commands, updated .gitignore. [#METR-10202] 2014-06-30 15:48:11 +04:00
Michael Kolupaev
2c8c1c4abe zkutil_test: fixed build. [#METR-10202] 2014-06-30 15:38:33 +04:00
Michael Kolupaev
501aa63cf9 zkutil: Poco::Event instead of futures. [#METR-10202] 2014-06-30 15:33:06 +04:00
Michael Kolupaev
33a88e83ae fixed zkutil_test. [#METR-2807] 2014-06-30 11:58:16 +04:00
Michael Kolupaev
4baf5626cd small logging improvements. [#METR-10202] 2014-06-27 21:58:26 +04:00
Michael Kolupaev
9c7b5555fd zkutil: fixed tryGet 2014-06-27 16:08:15 +04:00
Pavel Kartavyy
7e1bb082bf added retries when operation timeout happens 2014-06-11 21:29:04 +04:00
Pavel Kartavyy
b7161359de build fix 2014-06-11 21:29:04 +04:00
Pavel Kartavyy
07861aca9b zkutil: use apache C client library instead of libzkcpp 2014-06-11 21:29:04 +04:00
Michael Kolupaev
3aad8dad8f Merge 2014-05-27 16:08:40 +04:00
Pavel Kartavyy
44cac6fb1a zkutil: maybe recursive delay using multi will be faster 2014-05-19 13:21:57 +04:00
Michael Kolupaev
ca6f5df30e zkutil: tiny logging improvement. [#METR-2807] 2014-05-16 19:54:39 +04:00
Pavel Kartavyy
c39737b755 zkcpp: timeout if zk session is expired [#METR-11085] 2014-05-13 23:01:03 +04:00
Michael Kolupaev
2765b93851 Merge 2014-05-13 14:16:33 +04:00
Michael Kolupaev
90e93b171d Merge 2014-05-13 14:10:26 +04:00
Alexey Milovidov
f855ff1803 zkutil_test: fixed error [#METR-10687]. 2014-05-08 23:03:22 +04:00
Alexey Milovidov
6e83aa2253 zkutil_test: added history support [#METR-10687]. 2014-05-08 22:50:31 +04:00
Alexey Milovidov
19078df53c zkutil_test: added support for quoted data [#METR-10687]. 2014-05-08 22:48:34 +04:00
Michael Kolupaev
be5a9cf820 Merge 2014-05-08 17:27:18 +04:00
Michael Kolupaev
a6d0c9693e dbms: development. [#METR-10202] 2014-05-08 17:27:18 +04:00
Michael Kolupaev
0b7928f6a9 Merge 2014-05-07 17:58:20 +04:00
Michael Kolupaev
db9263f5f3 zkutil: not blocking calls if session is expired. [#METR-10202] 2014-04-22 15:20:03 +04:00
Michael Kolupaev
ad3954a28a zkutil: explained a test. [#METR-10202] 2014-04-22 15:20:02 +04:00
Michael Kolupaev
052b2bd83b zkcpp: added test showing that zkcpp blocks calls forever after session expiration. [#METR-10202] 2014-04-22 15:20:02 +04:00
Michael Kolupaev
c2b556f51b Merge 2014-04-22 14:43:18 +04:00
Pavel Kartavyy
72edd15363 ███████████: added writing files to zookeeper [#METR-10172] 2014-04-21 16:29:23 +04:00
Pavel Kartavyy
f53eba5eed zkutil: added path to exception [#METR-10190] 2014-04-21 11:26:08 +04:00
Pavel Kartavyy
2d131264e1 statdaemons: improvement [#METR-10190] 2014-04-18 18:26:00 +04:00
Pavel Kartavyy
16d8fe8ab0 zkutil: added state to LeaderElection [#METR-10190] 2014-04-18 18:25:59 +04:00
Michael Kolupaev
e3dfe90ffe Merge 2014-04-09 19:53:47 +04:00
Michael Kolupaev
e0d2bce6e2 zkutil: Probably fixed crashing on ZK connection loss. [#METR-10202] 2014-04-08 14:13:52 +04:00
Michael Kolupaev
847128152e Merge 2014-04-04 14:37:33 +04:00
Michael Kolupaev
b92f1ff480 Merge 2014-04-02 17:45:39 +04:00
Michael Kolupaev
83fce6973a Fixed build. [#METR-10202] 2014-04-02 14:44:55 +04:00
Michael Kolupaev
233557ec72 Merge 2014-04-02 14:40:23 +04:00
Michael Kolupaev
91f6a73617 zkutil: Inherited KeeperException from DB::Exception. [#METR-10202] 2014-04-02 14:38:27 +04:00
Michael Kolupaev
7b6ce30656 Merge 2014-03-22 18:44:44 +04:00
Michael Kolupaev
36b152f2b1 Added interserver IO host and port to context. [#METR-10202] 2014-03-21 23:49:27 +04:00
Michael Kolupaev
7084f03ab9 Merge 2014-03-21 23:17:59 +04:00
Michael Kolupaev
2809291432 zkutil: Thread safety. [#METR-10202] 2014-03-21 22:58:24 +04:00
Pavel Kartavyy
4384ba0009 zookeeper: added config description [#METR-10172] 2014-03-14 13:31:25 +04:00
Pavel Kartavyy
42dc0516d2 added config for zookeeper [#METR-10172] 2014-03-13 18:51:00 +04:00
Michael Kolupaev
3411d3db64 libzkutil: added multi; many fixes. [#METR-10202] 2014-03-07 23:19:06 +04:00
Michael Kolupaev
7ea73ab849 libzkutil: working. [#METR-10202] 2014-03-07 21:57:53 +04:00
Michael Kolupaev
5ceab75c8a libzkutil: development. [#METR-10202] 2014-03-07 17:50:58 +04:00