Commit Graph

239 Commits

Author SHA1 Message Date
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
516789157b Merge 2014-07-14 16:02:17 +04:00
Michael Kolupaev
8f394dd852 Merge 2014-07-14 15:45:34 +04:00
Alexey Milovidov
4c7226627c dbms: fixed error with formatting of date-times with 1970-01-01 dates [#METR-11873]. 2014-07-10 22:53:09 +04:00
Alexey Milovidov
0041db77ab Tiny improvement [#METR-2807]. 2014-07-09 03:52:53 +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
Pavel Kartavyy
146378633a GlobalCorrector: added program to overwrite metrics in metrage [#METR-11762] 2014-07-08 15:08:58 +04:00
Michael Kolupaev
8d928558dc zkutil: a little better error message. [#METR-2807] 2014-07-08 14:13:40 +04:00
Alexey Milovidov
8ab98c8db0 DateLUT: tiny improvement [#METR-2944]. 2014-07-07 23:42:33 +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
38c5500a71 Refactored DB::ConnectionPool, DB::ConnectionPoolWithFailover and sqxxl::Pool. [#METR-10202] 2014-06-03 18:32:08 +04:00
Michael Kolupaev
3aad8dad8f Merge 2014-05-27 16:08:40 +04:00
Alexey Milovidov
34eeed7ed3 Renamed mysqlxx::String and sqxxl::String to mysqlxx::Value and sqxxl::Value [#METR-2807]. 2014-05-20 02:05:33 +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
226ea78f5b Revert "improved revision detection"
This reverts commit 6bfc93eac0b05885e1cbc7954d394f4d64a607e5.
2014-05-16 16:37:21 +04:00
Pavel Kartavyy
0dabdd9950 improved revision detection 2014-05-15 15:26:16 +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