Commit Graph

637 Commits

Author SHA1 Message Date
Pavel Kartavyy
76abce1ce0 zkutil::Lock: add comment 2016-07-08 15:01:59 +03:00
Pavel Kartavyy
6bdc4ac851 BaseDaemon: change terminate signal to SIGTERM.
gdb catches SIGINT and by default don't pass it to daemon
2016-07-08 13:26:58 +03:00
Alexey Milovidov
cb83414021 Addition to prev. revision [#METR-2944]. 2016-06-27 11:08:39 +03:00
Alexey Milovidov
93954476bc Addition to prev. revision [#METR-2944]. 2016-06-27 10:47:08 +03:00
Alexey Milovidov
50994f0458 Addition to prev. revision [#METR-2944]. 2016-06-27 10:16:36 +03:00
Alexey Milovidov
96805d4c2a Addition to prev. revision [#METR-2944]. 2016-06-27 10:15:48 +03:00
Alexey Milovidov
d578fae595 Addition to prev. revision [#METR-2944]. 2016-06-27 10:13:54 +03:00
Alexey Milovidov
67890d185a Addition to prev. revision [#METR-2944]. 2016-06-27 09:52:27 +03:00
Alexey Milovidov
30ce038312 Added option for compatibility with older glibc versions (experimental) [#METR-2944]. 2016-06-27 09:34:10 +03:00
Alexey Milovidov
6ba6d01491 Using in-tree zookeeper client library [#METR-21848]. 2016-06-26 11:16:13 +03:00
Pavel Kartavyy
2435af6e31 MultiVersion: add ctor, set from unique_ptr 2016-06-14 14:45:42 +03:00
Pavel Kartavyy
01cee7b3ce graphite: move daemon specific functions to statdaemond [#METR-19530] 2016-06-14 14:45:39 +03:00
Pavel Kartavyy
8ad40e5d4c write statistic to graphite 2016-06-14 14:45:37 +03:00
Pavel Kartavyy
f8ed64a4ee statdaemons: add environment detector 2016-06-14 14:45: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
2a15df5364 zkutil::Lock: fixed bug if lock was moved 2016-06-14 14:44:34 +03:00
Pavel Kartavyy
2e67346026 logbroker-import: fix build [#METR-19530]
fix build
2016-06-14 14:44:33 +03:00
Pavel Kartavyy
3122b21a44 StrongTypedef: specialize std::hash 2016-06-14 14:44:32 +03:00
Pavel Kartavyy
69e1a0ab2f strong_typedef: fix build 2016-06-14 14:44:30 +03:00
Pavel Kartavyy
4e94c68bbb logbroker-import: add CommitMaker, ZooKeeperState [#METR-19530] 2016-06-14 14:44:26 +03:00
Alexey Milovidov
abbb80ddd9 Modifications for address sanitizer [#METR-2944]. 2016-06-10 21:58:04 +03:00
Pavel Kartavyy
ab88279577 BaseDaemon: terminate on double SIGINT 2016-06-10 15:01:14 +03:00
Pavel Kartavyy
c4017da0d8 BaseDaemon: improve message 2016-06-09 12:59:39 +03:00
Pavel Kartavyy
f901ffe116 BaseDaemon: add missed space 2016-06-09 12:59:39 +03:00
Pavel Kartavyy
90acaf81e5 zkutil: add missed library 2016-06-08 17:40:46 +03:00
Pavel Kartavyy
2416f1bd91 create_revision: change regexp 2016-06-08 17:40:17 +03:00
Pavel Kartavyy
ebafc24121 BaseDaemon: waitForTerminationRequest() use sigaction instead of sigwait 2016-06-08 17:39:19 +03:00
Vladimir Chebotarev
7f942e782c libcommon: removed pure attribute from JSON [#METR-21516] 2016-06-02 01:43:43 +03:00
Alexey Milovidov
c518abe882 Get rid of Poco::SharedPtr [#METR-21503]. 2016-05-28 20:31:50 +03:00
Alexey Milovidov
d4eba7602d Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:26:29 +03:00
Alexey Milovidov
6917fe9d16 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:24:59 +03:00
Alexey Milovidov
6776cb7dec Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:24:27 +03:00
Alexey Milovidov
0d51b4e3c8 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:21:16 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +03:00
Alexey Milovidov
39d87694be Fixed error [#METR-20000]. 2016-05-28 03:32:37 +03:00
Alexey Milovidov
a8ca56ecc0 Better [#METR-2944]. 2016-05-28 03:22:09 +03:00
Alexey Milovidov
29f013ce8a Better [#METR-2944]. 2016-05-28 03:16:28 +03:00
Vladimir Chebotarev
da45ac3d30 libmysqlxx: Proper target_link_libraries [#METR-20000] 2016-05-23 17:05:17 +03:00
Alexey Milovidov
052b3d5154 Fixed build for autotests [#METR-20000]. 2016-05-23 03:56:34 +03:00
Vladimir Chebotarev
d37437b3a8 cmake, libtcmalloc: Using of tcmalloc, build fixes [#METR-XXXXX] 2016-05-22 22:04:19 +03:00
Vladimir Chebotarev
b427b21289 libdaemon: Flag for task failure indication [#METR-5408] 2016-05-12 22:40:23 +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
1e73f2690e Addition to prev. revision [#CSADMIN-10464]. 2016-03-31 23:16:09 +03:00
Alexey Milovidov
961bdfdaa0 Allowed to use FQDN for server name in Graphite metrics [#CSADMIN-10464]. 2016-03-31 23:13:56 +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
99ef0820f7 dbms: Improved fault tolerance with regards to ZooKeeper. [#METR-18510] 2016-03-25 15:53:10 +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
Pavel Kartavyy
720386de2a fix bugs after merge 2016-03-18 22:13:38 +03:00
Pavel Kartavyy
67e74bf5cb Merge 2016-03-18 22:12:14 +03:00
Pavel Kartavyy
00090987c3 release: cut '-mobmet' suffix from tags 2016-03-18 16:27:23 +03:00
Pavel Kartavyy
4f620ff8b5 release scripts: add filter for release tags 2016-03-18 15:17:08 +03:00
Pavel Kartavyy
9c106de07f json_test: reverted wrong merge 2016-03-17 18:08:13 +03:00
Roman Peshkurov
a1168f2625 Merge 2016-03-17 16:10:14 +03:00
Roman Peshkurov
b05268555c Merge 2016-03-17 15:57:07 +03:00
Roman Peshkurov
6839f0e653 change re 2016-03-17 15:20:04 +03:00
Roman Peshkurov
899ac22a31 try to fix build 2016-03-17 15:09:59 +03:00
Roman Peshkurov
4f6bca642f Revert "try to fix build"
This reverts commit 470401d8f4799490bb467398c5744fad90530668.
2016-03-17 15:08:27 +03:00
Roman Peshkurov
a46424c870 try to fix build 2016-03-17 15:06:47 +03:00
Alexey Milovidov
22dedb5235 Fixed json_test [#METR-2807]. 2016-03-11 04:07:14 +03:00
Pavel Kartavyy
ef4f0e2b7a Revert "Fixing warnings on clang [#METR-2807]."
This reverts commit 906d1d432ce851031c1a334768b62241d2b3c328.
2016-03-10 13:20:50 +03:00
Alexey Milovidov
974f18c38e zkutil: minor changes [#METR-20145]. 2016-03-09 22:59:27 +03:00
Pavel Kartavyy
4c64c5e1f5 zkutil: add missed library to link 2016-03-09 13:19:50 +03:00
Evgeniy Gatov
bb7c564c7c libzkutil/RWLock: removed duplicated code [#METR-18510] 2016-03-08 21:40:37 +03:00
Evgeniy Gatov
6aa4d59400 Merge 2016-03-08 20:52:42 +03:00
Alexey Arno
0f35ecc357 dbms: Code cleanup. [#METR-18510] 2016-03-08 16:46:00 +03:00
Alexey Milovidov
fa7b42784a Fixing warnings on clang [#METR-2807]. 2016-03-07 09:58:41 +03:00
Alexey Milovidov
9371fd1923 Fixing build on clang [#METR-2807]. 2016-03-07 07:07:08 +03:00
Alexey Milovidov
9d3eb0dffc Merge 2016-03-07 05:42:47 +03:00
Alexey Milovidov
aacb8326c3 Fixed build [#METR-2807]. 2016-03-07 05:41:35 +03:00
Alexey Milovidov
2f2ea2b210 Fixed build [#METR-2807]. 2016-03-07 05:40:59 +03:00
Alexey Milovidov
ebf5b3afdd Merge 2016-03-07 05:21:16 +03:00
Alexey Milovidov
7b9d9631de Removed few 'possibly lost' and 'still reachable' memory [#METR-2944]. 2016-03-04 05:25:04 +03:00
Alexey Arno
aeb14a7855 dbms: More locking improvements. [#METR-18510] 2016-03-03 19:22:10 +03:00
Alexey Arno
3b9ea20c91 dbms: More locking improvements. [#METR-18510] 2016-03-03 19:20:19 +03:00
Pavel Kartavyy
4e2a760474 Merge 2016-03-03 18:38:13 +03:00
Pavel Kartavyy
1f3cff5232 Merge 2016-03-03 18:21:44 +03:00
Vladimir Chebotarev
e46238b8bf libcommon: json_test was fixed [#METR-19958] 2016-03-03 18:21:44 +03:00
Vladimir Chebotarev
50631dd862 libcommon: JSON improvement and simple test [#METR-19958] 2016-03-03 18:21:44 +03:00
Alexey Arno
d21060c35b dbms: Locking performance and correctness improvements. [#METR-18510] 2016-03-03 17:37:15 +03:00
Alexey Milovidov
47d18378bb Packages build: better [#METR-20000]. 2016-03-02 22:47:12 +03:00
Alexey Milovidov
bd30a4fdf1 Create revision: better [#METR-20000]. 2016-03-02 21:50:17 +03:00
Alexey Arno
6efc98d1f3 Merge 2016-03-01 20:47:53 +03:00
Pavel Kartavyy
20b96de457 json: fix missed break [#METR-17759] 2016-02-25 12:19:53 +03:00
Pavel Kartavyy
aa3a3a4132 JSON: fix reading unalocated memory on invalid json [#METR-17759] 2016-02-24 17:08:11 +03:00
Pavel Kartavyy
aa9df68e3c BaseDaemon: can configure core_dump size 2016-02-24 17:08:11 +03:00
Pavel Kartavyy
ea82b9d55f daemon: make getTaskManager to be protected 2016-02-24 17:08:11 +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
555440efe2 Fixed build on one version of gcc [#METR-2944]. 2016-02-18 14:46:08 +03:00
Alexey Milovidov
ef6ca3e1de Added SSE 4.2 version of find_first_symbols for long set of symbols [#METR-20078]. 2016-02-17 05:39:43 +03:00
Vladimir Chebotarev
e9c486c385 libcommon, ReadHelpers: find_first_symbols [METR-20078] 2016-02-16 19:45:40 +03:00
Vladimir Chebotarev
25cc1376b0 libcommon: make_array_n clarification [METR-19529] 2016-02-12 11:52:48 +03:00
Vladimir Chebotarev
559983f2ea libcommon: make_array_n [METR-19529] 2016-02-11 20:27:24 +03:00
Roman Peshkurov
6c959b7770 libcommon: fixed stash revisions. 2016-02-11 01:26:08 +03:00
Pavel Kartavyy
31ece973db BaseDaemon: add logRevision method 2016-02-10 10:54:34 +03:00
Alexey Milovidov
e357a4dae3 Removed useless files. 2016-02-10 05:13:03 +03:00
Alexey Milovidov
89d0eaa9f8 Removed useless file [#METR-20000]. 2016-02-10 04:57:30 +03:00
Pavel Kartavyy
73c8718036 fix build 2016-02-09 20:35:12 +03:00
Pavel Kartavyy
7ad5037c09 ClickHouse: fix error 2016-02-09 20:16:23 +03:00
Pavel Kartavyy
d7072341f0 create_revision.sh: add argument with path of generated file 2016-02-09 20:07:39 +03:00
Pavel Kartavyy
eca42536d8 dbms: renamed Revision to ClickHouseRevision. Daemon to BaseDaemon 2016-02-09 20:06:50 +03:00
Alexey Milovidov
df1d66e51a Removed sensitive data. 2016-02-08 00:58:58 +03:00
Alexey Milovidov
563e410b72 Moved threadpool library to contrib [#METR-17973]. 2016-02-05 08:07:39 +03:00
Alexey Milovidov
345b4b91f7 dbms: preparation [#METR-17973]. 2016-02-05 04:31:09 +03:00
Dmitry Galuza
c2fbf804a8 ███████████, awaps-import: minor fixes
rename graphite metrics
fix logging
fix merge bug
fix BindingType = 3
fix MobilePageIDs
fix Counters parsing on BidingType = 0
2016-02-03 18:10:28 +03:00
Vladimir Chebotarev
a7401627a4 minor: Default revision was updated [METR-XXXXX] 2016-02-03 13:07:34 +03:00
Alexey Milovidov
3519c3cea2 dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973]. 2016-02-03 04:17:58 +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
b7d3f0e4d6 Merge 2016-01-28 03:59:35 +03:00
Alexey Vasiliev
45e7c7df21 Merge 2016-01-27 22:19:43 +03:00
Pavel Kartavyy
3f16c3e302 Merge 2016-01-26 16:26:21 +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
Roman Peshkurov
f6f528f796 Merge 2016-01-25 13:03:43 +03:00
Alexey Milovidov
6d50fb4b44 dbms: fixed quorum inserts; improved performance of ordinary inserts [#METR-16779]. 2016-01-24 08:00:24 +03:00
Pavel Kartavyy
34545cfdac Merge 2016-01-22 14:48:31 +03:00
Alexey Arno
a3ea32b985 Merge 2016-01-21 19:30:05 +03:00
Vsevolod Orlov
0ebeda8f8a Fix unexpected 'one_min' #2 [#MOBMET-3053] 2016-01-21 11:04:03 +03:00
Vsevolod Orlov
ea301e6304 Fix unexpected 'one_min' [#MOBMET-3053] 2016-01-21 11:01:41 +03:00
Roman Peshkurov
4eecb97759 Merge 2016-01-19 19:15:36 +03:00
Pavel Kartavyy
07399b2915 Merge 2016-01-19 15:41:14 +03:00
Roman Peshkurov
a7c25eb4be ███████████. improved join logic. [#MOBMET-2863] 2016-01-19 00:04:34 +03:00
Alexey Milovidov
3b3dab716a dbms: porting to aarch64 [#METR-19609]. 2016-01-16 04:38:07 +03:00
Alexey Milovidov
bffc6ce8bd dbms: better [#TESTIRT-8223]. 2016-01-15 23:37:56 +03:00
Alexey Milovidov
6692460249 dbms: addition to prev. revision [#METR-17973]. 2016-01-15 07:13:00 +03:00
Alexey Milovidov
015039c2f7 dbms: addition to prev. revision [#METR-17973]. 2016-01-15 07:03:45 +03:00
Alexey Milovidov
30b4b1e4a5 dbms: removed dependency of clickhouse-server to statdaemons [#METR-17973]. 2016-01-15 06:55:07 +03:00
Pavel Kartavyy
217663dc5d Merge 2016-01-14 14:35:58 +03:00
Alexey Milovidov
2ae6e4ba77 dbms: attempt to fix an error [#METR-19623]. 2016-01-14 06:17:11 +03:00
Alexey Milovidov
d95139d6f3 dbms: tiny improvement [#METR-2944]. 2016-01-14 00:33:42 +03:00
Pavel Kartavyy
4e61ade0d1 Merge 2016-01-13 18:55:02 +03:00
Alexey Milovidov
fbaa1cc416 Merge 2016-01-12 05:56:52 +03:00
Alexey Milovidov
d7cc44ff3d Removed useless files [#METR-2807]. 2016-01-12 05:54:53 +03:00
Alexey Milovidov
13c7d0983a dbms: cutting dependency [#METR-2944].. 2016-01-12 00:46:36 +03:00
Alexey Milovidov
2e252abc5c Separated internal and third-party libraries [#METR-19593]. 2016-01-08 01:21:46 +03:00
Alexey Milovidov
0c4f4f9607 dbms: fixing build [#METR-19593]. 2016-01-08 00:32:06 +03:00
Alexey Milovidov
3de42d1dbe Fixed build of Poco library with actual compiler options [#METR-19593]. 2016-01-07 22:49:24 +03:00
Alexey Milovidov
b913078630 Removed useless files [#METR-19593]. 2016-01-07 17:52:03 +03:00
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