Commit Graph

495 Commits

Author SHA1 Message Date
Alexey Milovidov
0846473c5f Removed useless files [#METR-19593]. 2016-01-07 17:50:45 +03:00
Alexey Milovidov
3e287dfe07 Applied all patches to Poco [#METR-19593]. 2016-01-07 17:30:47 +03:00
Alexey Milovidov
f904f00e74 Removed useless files [#METR-19593]. 2016-01-07 17:28:43 +03:00
Alexey Milovidov
f62924289d Removed useless files [#METR-19593]. 2016-01-07 16:36:46 +03:00
Alexey Milovidov
6730b51593 Allowed to build Poco library with our compiler options [#METR-19593]. 2016-01-07 16:34:37 +03:00
Alexey Milovidov
47cd4ebfea Added Poco library to tree [#METR-19593]. 2016-01-07 01:53:39 +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
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
Andrey Mironov
a724d9eb64 ext: add ext::enumerate 2015-11-24 14:28:29 +03:00
Andrey Mironov
2e8cc93664 dbms: ArenaWithFreeLists basic implementation. [#METR-17382] 2015-11-17 19:09:43 +03:00
Andrey Mironov
274ea51f9d add ext::size 2015-11-17 19:09:42 +03:00
Pavel Kartavyy
a3c99ce30e ecommerce: getWithDefault returns default type if value has another type [#METR-18657] 2015-11-16 14:54:27 +03:00
Alexey Milovidov
27ff4dd5d8 Updated double-conversion library (fixed warning in gcc-5) [#METR-18843]. 2015-11-16 06:10:37 +03:00
Andrey Mironov
ebaf7fd3ba ext: bit_cast and safe_bit_cast 2015-11-06 17:54:04 +03:00
Roman Peshkurov
1aa72b38d0 Merge 2015-10-26 10:58:00 +03:00
Andrey Urusov
edfab4e4fc Merge 2015-10-23 11:44:22 +03:00
Andrey Mironov
61691234ca ext::map: use c++14 return type deduction 2015-10-21 17:54:13 +03:00
Andrey Mironov
4195842841 dbms: add ext::identity and ext::collection_cast, use in ITableDeclaration 2015-10-16 14:44:44 +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
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
Andrey Urusov
681c12d9fa Merge 2015-10-07 17:48:34 +03:00
Alexey Milovidov
9facd5bc56 Removed link-time dependency [#METR-17973]. 2015-10-05 10:04:42 +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
Alexey Milovidov
3a5032fd4a Moved files [#METR-17973]. 2015-10-05 03:52:29 +03:00
Alexey Milovidov
fefd3791f1 Moved files [#METR-17973]. 2015-10-05 03:33:43 +03:00
Andrey Urusov
bf16b1be56 libmysqlxx: Create connection fixed 2015-10-01 20:52:36 +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
13a45bce25 Addition to prev. revision [#METR-18202]. 2015-09-29 22:21:02 +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
Alexey Milovidov
34a5cf045f Updated zstd library to v0.1.1 [#METR-2807]. 2015-09-10 02:51:17 +03:00
Roman Peshkurov
c29531227c version-numerating: try to fix scrypt. [NO CASE] 2015-08-28 19:43:37 +03:00
Roman Peshkurov
d8aeaa129e version-numerating: set fixed version for stash repo. [NO CASE] 2015-08-28 19:31:53 +03:00
Alexey Milovidov
18ed0b2829 dbms: external dictionaries: fixed errors [#METR-17508]. 2015-08-12 07:21:10 +03:00
Andrey Mironov
348ebf0731 add libmetrohash [#METR-15838] 2015-07-20 17:59:29 +03:00
Andrey Mironov
e2d5c30b1f add libfarmhash [#METR-17328] 2015-07-17 18:56:34 +03:00
Alexey Milovidov
1f4f0f591b Updated ZSTD library [#METR-16391]. 2015-07-09 21:40:37 +03:00
Alexey Arno
8ce8b602b6 dbms: Server: Performance improvements. [#METR-15618] 2015-07-09 14:14:31 +03:00
Alexey Arno
5e1b1d4c48 dbms: Server: Performance improvements. [#METR-15618] 2015-07-08 20:30:42 +03:00
Alexey Arno
f2a2054bb7 dbms: Server: Small code improvement. [#METR-15618] 2015-07-08 17:14:35 +03:00
Alexey Arno
992e7dc7a5 Merge 2015-07-08 02:11:30 +03:00
Alexey Arno
1d9066bb8a Merge 2015-07-03 16:04:03 +03:00
Alexey Arno
90d85c9a77 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-03 14:55:51 +03:00
Alexey Arno
072d110f67 Merge 2015-07-01 20:33:00 +03:00
Pavel Kartavyy
541f051cd1 zkutil: remove ctor [#METR-17045] 2015-07-01 11:55:31 +03:00
Alexey Arno
79290d82a5 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-06-30 16:42:08 +03:00
Alexey Arno
f02d490f94 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-06-29 16:54:08 +03:00
Alexey Arno
b1788e7d05 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-06-29 14:54:57 +03:00
Alexey Arno
0b3887fbb3 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-06-29 12:56:04 +03:00
Alexey Arno
81e654b89f dbms: Server: Support for multiple time zones: fix [#METR-15618] 2015-06-26 21:09:00 +03:00
Alexey Arno
779a90d438 dbms: Server: Support for multiple time zones: take into account the existence of equivalent time zones [#METR-15618] 2015-06-26 20:57:49 +03:00
Alexey Arno
37f008afd0 dbms: Server: Added support for multiple time zones: part 1 (does not add any new functionality, does not change current functionality) [#METR-15618] 2015-06-26 18:11: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
Sergey Magidovich
3d95d19283 ███████████-mobile: More accurate clicks handling. [#MOBMET-1212] 2015-03-25 13:08:04 +03:00
Pavel Kartavyy
f0a1e1ba72 Merge 2015-03-23 13:55:23 +03:00
Sergey Magidovich
9856258325 Merge 2015-03-18 18:26:44 +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
Sergey Magidovich
0d53cccb78 ███████████-mobile: Refactoring; 3 out of 5 WriteDestinations work; [#MOBMET-1225] 2015-03-16 15:26:19 +03:00
Alexey Milovidov
2fa797ad40 dbms: added new files for prev. revision [#METR-15386]. 2015-03-09 04:26:33 +03:00
Andrey Mironov
7c9b2a1789 dbms: temporarily allow <table> element in mysqlxx::PoolWithFailover config [#METR-13298] 2015-03-06 16:38:07 +03:00
Alexey Milovidov
664d85e08f dbms: added support for value 'auto' of setting 'max_threads'; using that value by default [#METR-2944]. 2015-02-22 13:50:36 +03:00
Andrey Mironov
b3c32ace59 mysqlxx: copy constructor for pools [#METR-13298] 2015-02-05 21:51:19 +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
86e9e77eae Fixed errors in clang (part 5, final) [#METR-2807]. 2015-01-22 04:13:13 +03:00
Alexey Milovidov
27543ea7e5 Fixed errors in clang (part 2) [#METR-2807]. 2015-01-21 07:00:20 +03:00
Alexey Milovidov
1be4bd0663 Fixed errors in clang (part 1) [#METR-2807]. 2015-01-21 06:56:28 +03:00
Pavel Kartavyy
982c2c5573 create_revision.sh: better 2015-01-13 11:08:23 +03:00
Pavel Kartavyy
9e75cc4ae7 create_revision.sh: supports build paths with spaces 2015-01-12 17:48:37 +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
Andrey Mironov
736c3e0576 dbms: purge unused and auto-generated files from double-conversion and vectorclass 2014-12-10 13:39:35 +03:00
Andrey Mironov
3be8b25ed2 dbms: add lib google/double-conversion. [#METR-13363] 2014-12-09 14:33:57 +03:00
Pavel Kartavyy
4ba0b6be5c Merge 2014-12-08 16:52:46 +03:00
Andrey Mironov
682bfb46a5 dbms: vectorize math functions. [#METR-13613] 2014-12-02 20:25:10 +03:00
Pavel Kartavyy
e5e132eeae fixed errror in creating revision 2014-12-01 12:57:48 +03:00
Pavel Kartavyy
968f35354a git: take last revision from HEAD 2014-12-01 12:57:48 +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
8f076b8ac4 Removed deprecated date and time functions [#METR-13554]. 2014-11-14 23:55:23 +03:00
Alexey Milovidov
dff4d7cca5 Merge 2014-11-07 04:23:12 +03:00
Alexey Milovidov
5ff01a8b13 DateLUT: added test [#METR-13554]. 2014-11-07 04:22:25 +03:00
Alexey Milovidov
3d359e2b82 Partially get rid of time2str.h [#METR-13554]. 2014-11-06 09:32:23 +03:00
Alexey Milovidov
74db63113e DateLUT: removed useless code; improved startup time [#METR-13554]. 2014-11-06 05:39:48 +03:00
Alexey Milovidov
2727fef911 dbms: removed few functions [#METR-13554]. 2014-11-06 04:31:50 +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
8f687c6042 RecountRequest: fixed wrong formatting, when chunk is empty [#METR-13437] 2014-10-28 20:55:07 +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
cc5629a06a Merge 2014-10-08 23:00:44 +04:00
Alexey Milovidov
a1149b11ef Fixed logging (local time formatting) [#MTRSADMIN-385]. 2014-10-08 04:46:57 +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
Alexey Milovidov
cdf4e8d415 dbms: improved performance of integer division by constant [#METR-2944]. 2014-08-17 06:13:40 +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
5bbb6dc090 some grammar fixes. [#METR-2807] 2014-08-12 13:35:15 +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