Commit Graph

462 Commits

Author SHA1 Message Date
Pavel Kartavyy
8b6a8a133b dbms: fix build 2016-08-22 17:55:49 +03:00
Alexey Milovidov
453c5e1528 Fixed build [#METR-2807]. 2016-08-19 20:03:23 +03:00
Pavel Kartavyy
6e7bb0cd65 Merge branch 'master' into METR-19530
Conflicts:
	metrica/src/CMakeLists.txt
	metrica/src/ClickHouse/libs/libdaemon/include/daemon/GraphiteWriter.h
	metrica/src/ClickHouse/libs/libdaemon/src/GraphiteWriter.cpp
	metrica/src/libs/CMakeLists.txt
	metrica/src/libs/liblogbroker-client/src/LogBroker.cpp
	metrica/src/libs/liblogbroker-log-import/include/logbroker-log-import/LogBrokerLogImportTask-inl.h
	metrica/src/libs/libstatdaemons/include/statdaemons/write_destinations/ClickHouseCluster.h
	metrica/src/programs/cleanerd/src/config.xml
	metrica/src/programs/deduplicatord/src/Task.cpp
	metrica/src/programs/visit-log-processor/src/VisitLogHandler.h
	metrica/src/tools/ssqls/templates/header.tpl
2016-08-19 17:15:58 +03:00
Alexey Milovidov
9a07830dbb Removed useless code (experimental) [#METR-2944]. 2016-08-02 04:46:05 +03:00
Alexey Milovidov
ea734b6bee Removed compatibility layer with OLAPServer [#METR-2944]. 2016-07-30 04:08:00 +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
Pavel Kartavyy
2435af6e31 MultiVersion: add ctor, set from unique_ptr 2016-06-14 14:45:42 +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
Pavel Kartavyy
2416f1bd91 create_revision: change regexp 2016-06-08 17:40:17 +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
29f013ce8a Better [#METR-2944]. 2016-05-28 03:16:28 +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
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
fa7b42784a Fixing warnings on clang [#METR-2807]. 2016-03-07 09:58:41 +03:00
Alexey Milovidov
2f2ea2b210 Fixed build [#METR-2807]. 2016-03-07 05:40:59 +03:00
Alexey Milovidov
7b9d9631de Removed few 'possibly lost' and 'still reachable' memory [#METR-2944]. 2016-03-04 05:25:04 +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 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
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
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
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
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
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
Alexey Milovidov
2ae6e4ba77 dbms: attempt to fix an error [#METR-19623]. 2016-01-14 06:17:11 +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
Andrey Mironov
ebaf7fd3ba ext: bit_cast and safe_bit_cast 2015-11-06 17:54:04 +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
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
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
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 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
90d85c9a77 dbms: Server: Support for multiple time zones: development [#METR-15618] 2015-07-03 14:55:51 +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
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
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
8f076b8ac4 Removed deprecated date and time functions [#METR-13554]. 2014-11-14 23:55:23 +03:00
Alexey Milovidov
5ff01a8b13 DateLUT: added test [#METR-13554]. 2014-11-07 04:22:25 +03:00
Alexey Milovidov
74db63113e DateLUT: removed useless code; improved startup time [#METR-13554]. 2014-11-06 05:39:48 +03: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
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
Alexey Milovidov
8ab98c8db0 DateLUT: tiny improvement [#METR-2944]. 2014-07-07 23:42:33 +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
892cc08ece added fetch tags in create_revision.sh 2014-04-21 11:26:08 +04:00
Pavel Kartavyy
b635b253c0 run script generator with bash [#METR-9800] 2014-02-17 17:20:59 +00:00
Alexey Milovidov
ba3a0000ae Fixed strange error in revision.h generation [#METR-9800]. 2014-02-17 16:55:37 +00:00
Pavel Kartavyy
12f520e117 get tag from git 2014-02-17 15:34:29 +00:00
Sergey Fedorov
645a0eb544 create_revision: updates in script made by Lesha :) [METR-9766] 2014-02-12 16:16:41 +00:00
Pavel Kartavyy
053e453935 added SVN_PATH [#METR-9766] 2014-01-28 20:27:29 +00:00
Pavel Kartavyy
b9c35019e9 added SVN_PATH [#METR-9766] 2014-01-28 20:26:22 +00:00
Pavel Kartavyy
e839059abf added SVN_PATH [#METR-9766] 2014-01-28 20:25:28 +00:00
Pavel Kartavyy
92fdc6dc88 added SVN_PATH [#METR-9766] 2014-01-28 20:13:24 +00:00
Pavel Kartavyy
740623b729 removed revision generating for git-svn.
works badly
2014-01-28 20:13:23 +00:00
Pavel Kartavyy
4ef53f6acb added generating revision for git-svn repo ] 2013-11-18 17:44:44 +00:00
Alexey Milovidov
be67c3e3d6 Removed useless namespace [#CONV-2807]. 2013-08-11 03:40:14 +00:00
Alexey Milovidov
3673752d1b dbms: fixed error with formatting DateTime near begin of unix epoch; fixed error with toTime function when changing daylight saving time; fixed toTime function for non-Moscow time zones [#CONV-7755]. 2013-06-01 04:58:52 +00:00
Alexey Milovidov
a14c5a4aa9 Improved notifications [#CONV-7461]. 2013-04-28 02:56:13 +00:00
Alexey Milovidov
a55c07f449 Tiny improvement [#CONV-2944]. 2013-02-16 17:31:03 +00:00
Alexey Milovidov
9856a89373 Logging stack trace on signals [#CONV-6459]. 2013-01-14 00:45:58 +00:00
Alexey Milovidov
e7e9e7cc61 Writing core dumps into appropriate directory [#CONV-6469]. 2013-01-13 23:04:54 +00:00
Alexey Milovidov
0d99e28531 Using terminate handler [#CONV-2807]. 2013-01-13 21:02:41 +00:00
Alexey Milovidov
777bb550f7 Daemon: don't creating pid file if no option 'pid-file' specified [#CONV-5295]. 2012-07-23 16:23:51 +00:00
Alexey Milovidov
20d0b9b0f6 dbms: development [#CONV-2944]. 2012-03-11 08:54:12 +00:00
Alexey Milovidov
51f4954d88 Removed garbage [#CONV-2807]. 2012-02-26 01:49:10 +00:00
Alexey Milovidov
26e7e1273a Daemon: removed previous modification [#CONV-2807]. 2011-12-20 23:15:23 +00:00
Alexey Milovidov
11e5fb35ec Daemon: added stack trace in case of DB::Exception [#CONV-2807]. 2011-12-20 19:30:06 +00:00
Alexey Milovidov
a652c56044 Daemon: fixed error in prev. revision [#CONV-3742]. 2011-12-08 19:25:00 +00:00
Alexey Milovidov
bbf5c62f17 Fixed compatibility issue [#CONV-3742]. 2011-12-08 19:16:59 +00:00
Alexey Milovidov
16e1632b15 Daemon: fixed error with IPv6 notifications [#CONV-3741]. 2011-12-08 18:37:11 +00:00
Alexey Milovidov
4575aec0c7 Daemon: fixed error with listening to notifications and restart [#CONV-2807]. 2011-11-07 16:48:06 +00:00
Alexey Milovidov
893b5c648b daemon: reusing address while listening to notifications in datagram socket [#CONV-3466]. 2011-10-24 17:52:55 +00:00
Alexey Milovidov
d2714cf874 Added listening and notifications for events [#CONV-3364]. 2011-10-10 17:52:29 +00:00
Alexey Milovidov
b444be951e daemon: removed garbage; using logging command line parameters when running in console [#CONV-3180]. 2011-10-01 23:33:53 +00:00
Alexey Milovidov
c675a0fa40 Removed useless code [#CONV-2807]. 2011-09-08 19:08:55 +00:00
Alexey Milovidov
b3bca9c160 dbms: development. 2011-08-07 03:42:36 +00:00
Alexey Milovidov
d303caa3ef Fixed error in prev. revision [#CONV-2833]. 2011-07-27 20:04:31 +00:00
Alexey Milovidov
6069ce3961 Addition to prev. revision [#CONV-2833]. 2011-07-27 19:47:19 +00:00
Alexey Milovidov
f3a5c83638 Improvement to prev. revision [#CONV-2833]. 2011-07-27 19:38:00 +00:00
Alexey Milovidov
8789c0a8ca Added compression of program logs [#CONV-2833]. 2011-07-27 19:36:02 +00:00
Alexey Milovidov
b33de091f0 Removed useless code [#CONV-2593]. 2011-06-14 17:17:41 +00:00
Alexey Milovidov
ed1e02e04a Removed useless code [#CONV-2593]. 2011-06-14 16:51:01 +00:00
Alexey Milovidov
f024849061 common: added MultiVersion template. 2011-04-11 17:29:23 +00:00
Alexey Milovidov
193cd7481d DateLUT: added methods makeDayNum(), makeDate(), makeDateTime(). 2011-03-03 17:22:19 +00:00
Alexey Milovidov
96dc366b9f DateLUT: fixed error in prev. revision. 2011-01-21 21:38:02 +00:00
Alexey Milovidov
4376d61e89 Logging: logging thread number properly. 2011-01-11 18:24:15 +00:00
Alexey Milovidov
71c927c30e ThreadNumber: tiny improvement. 2010-12-27 17:41:30 +00:00
Alexey Milovidov
623f5a7680 ThreadNumber: fixed error. 2010-12-24 19:09:38 +00:00
Alexey Milovidov
e673533a0b Daemon: added formatting for console logger. 2010-12-22 17:59:56 +00:00
Alexey Milovidov
fb1e8d8b75 ThreadNumber: added (experimental). 2010-12-20 18:50:34 +00:00
Alexey Milovidov
e44e530649 Daemon: do not create pid file when running in console. 2010-11-30 21:23:11 +00:00
Alexey Milovidov
fcdd6e100d Daemon: added default parameters. 2010-11-23 18:55:59 +00:00
Alexey Milovidov
ad442fd497 Fixed error with logging. 2010-07-29 16:51:21 +00:00
Alexey Milovidov
aafe93c440 libcommon: DateLUT: changed map to sorted vector. 2009-05-28 19:09:41 +00:00
Alexey Milovidov
2ac2a10ff8 libcommon: added DateLUT class. 2009-05-28 18:19:51 +00:00
Alexey Milovidov
390bf11869 Daemon: added KillingErrorHandler (not tested). 2009-04-01 18:15:56 +00:00
Alexey Milovidov
4217b351cb libcommon: fixed old warnings. 2009-02-27 14:34:01 +00:00
Ilya Korolev
c02649ce87 libpocoext
- Добавлен класс фильтрации логов

libcommon
	- В Daemon(и наследниках) можно использовать лог-файл для вывода только ошибок
2008-12-10 07:43:45 +00:00
Michael Razuvaev
d98b7d7315 Metrica:
Каталоги относящиеся к исходникам перенесены в src/
2008-12-01 11:10:46 +00:00