Commit Graph

2845 Commits

Author SHA1 Message Date
proller
4b63d9a4c3 Cmake: fix link of some tests (missing pthread) 2017-11-27 23:39:06 +03:00
Alexey Vasiliev
6cb97b9221 ConfigProcessor: do not create config-preprocessed before setting umask [#MOBMET-7044] 2017-11-25 02:00:10 +03:00
proller
6ff1968196 Compile and likk optimize and fixes 2017-11-24 21:08:01 +03:00
proller
60c5fbdb03 Fix include path contrib/zlib-ng 2017-11-22 22:15:17 +03:00
proller
7a5dd87802 Update build_debian.sh 2017-11-17 16:14:13 +03:00
Alexey Milovidov
35aec21756 Updated instruction [#CLICKHOUSE-2]. 2017-11-14 22:46:11 +03:00
Alexey Milovidov
16358603a9 Updated script [#CLICKHOUSE-2]. 2017-11-12 17:46:33 +03:00
Alexey Milovidov
65d125a96a Tiny modification in script to download and build clang [#CLICKHOUSE-2]. 2017-10-30 02:01:21 +03:00
Alexey Milovidov
a27981b4ef Get rid of double whitespaces [#CLICKHOUSE-2]. 2017-10-26 21:36:23 +03:00
proller
9ccba5fad1 Fix includes 2017-10-26 14:46:57 +03:00
proller
c66228a746 Log query id in executeQuery; Better type mismatch error; change format in report tool (#1372)
* Log query id in executeQuery; Better type mismatch error; change format in report tool

* Better log query_id

* fix message

* Use c++11 thread_local instaed of gcc's __thread

* lock mutex before notifying waiting thread in sync insertion into distributed [#CLICKHOUSE-3379]

* Cmake: fix build without downloaded submodules (#1379)

* fix
2017-10-23 20:32:39 +03:00
Alexey Milovidov
0ec218a853 Merge branch 'master' of github.com:yandex/ClickHouse 2017-10-13 04:09:51 +03:00
proller
16cd8fbda6 clickhouse_report.sh : more info about OS and kernel 2017-10-10 20:55:35 +03:00
Alexey Milovidov
1405415f94 Miscellaneous [#CLICKHOUSE-3]. 2017-10-09 01:53:38 +03:00
Vitaliy Lyudvichenko
48c5382c92 Add 'clickhouse compressor' command. [#CLICKHOUSE-2] 2017-09-24 02:15:56 +03:00
proller
0a0e04f1a5 Fix includes 2017-09-18 21:52:47 +03:00
Alexey Milovidov
02a0317db6 Updated instruction of installation of clang: added useful tool [#CLICKHOUSE-2]. 2017-09-10 06:29:40 +03:00
Alexey Milovidov
cd540c2674 Replaced Mersenne Twister to PCG-Random [#CLICKHOUSE-2]. 2017-09-10 02:17:38 +03:00
Alexey Milovidov
d19d9f8589 Implemented some suggestions from clang-tidy (part 2) [#CLICKHOUSE-3301]. 2017-09-08 05:37:02 +03:00
Alexey Milovidov
1cd09ac12f Updated script to build latest clang [#CLICKHOUSE-2]. 2017-09-08 03:25:25 +03:00
Alexey Milovidov
79f65f4fd5 Addition to prev. revision [#CLICKHOUSE-3300]. 2017-09-08 00:19:43 +03:00
Alexey Milovidov
8b313ab99e Fixed warnings found by cppcheck [#CLICKHOUSE-3300]. 2017-09-08 00:04:48 +03:00
proller
3269b1da57 libmariadb as submodule (CLICKHOUSE-3261) (#1181)
* Use bundled libmariadbclient (CLICKHOUSE-3261)

* wip

* wip

* wip

* Update docs about git clone. move docs/en/development/build_*.sh -> utils/build/build_debian.sh
2017-08-31 20:11:30 +03:00
proller
d6833a0d55 Cmake: remove global include_directories (#1055)
* Fix .h compile

* Cmake: remove global include_directories

* boost include hide

* fix cctz

* add \n
2017-08-03 15:44:39 +03:00
Pawel Rog
3a6c444996 Merge branch 'master' into nocompression 2017-07-31 13:36:58 +02:00
Pawel Rog
a0cc54457e Added compression NONE 2017-07-31 12:44:45 +02:00
proller
3dbde50daa Split ComplexKeyCacheDictionary to use less then 1.5G ram when compile (#1034)
* Split FunctionsArithmetic.cpp to generated functions

* Use ccache if found

* Do not use ccache if ccache defined in CMAKE_CXX_COMPILER_LAUNCHER

* check_include.sh: print memory usage

* Try split CacheDictionary source

* Split ok

* wip

* wip

* wip

* wip

* wip

* wip
2017-07-27 22:05:55 +03:00
Alexey Milovidov
0a21c06def Added script for build environment preparation [#METRIQA-1369]. 2017-07-26 10:10:21 +03:00
Alexey Milovidov
93af81150c Added script for build environment preparation [#METRIQA-1369]. 2017-07-26 09:53:07 +03:00
Alexey Milovidov
b0377caf1f Added script for build environment preparation [#METRIQA-1369]. 2017-07-26 09:25:21 +03:00
Alexey Milovidov
ef32533d25 Added script for build environment preparation [#METRIQA-1369]. 2017-07-26 09:24:04 +03:00
Alexey Milovidov
9a1207be87 Added script for build environment preparation [#METRIQA-1369]. 2017-07-26 09:21:01 +03:00
Alexey Milovidov
5f0263d23d Added script for build environment preparation [#METRIQA-1369]. 2017-07-26 08:56:37 +03:00
proller
57b9bcd354 Fix missing includes 2017-07-24 18:04:49 +03:00
Alexey Milovidov
382056e010 Fixed test for clickhouse-compressor [#CLICKHOUSE-2]. 2017-07-10 21:25:21 +03:00
proller
4db8d09de9 Reorganize includes. part 1 (#921)
* Make libunwind optional. Allow use custom libcctz

* fix

* Fix

* fix

* Update BaseDaemon.cpp

* Update CMakeLists.txt

* Reorganize includes. part 1

* Update dbms_include.cmake

* Reorganize includes. part 2

* Reorganize includes. part 3

* dbms/src/Common/ThreadPool -> libs/libcommon

* Reorganize includes. part 4

* Fix print_include_directories

* Update thread_creation_latency.cpp

* Update StringRef.h
2017-06-23 23:22:35 +03:00
proller
9c7d30e0df Fix missing includes 2017-06-20 17:16:51 +03:00
Alexey Milovidov
05accbdcbe Removed cyclic dependency [#DEVTOOLS-3381]. 2017-06-19 23:06:35 +03:00
Alexey Milovidov
9bf083625d Removed support for QuickLZ (obsolete) [#CLICKHOUSE-2]. 2017-06-15 21:21:59 +03:00
Alexey Milovidov
9c5ddce06d Get rid of .hpp files [#CLICKHOUSE-2]. 2017-06-06 20:18:32 +03:00
f1yegor
8e261e34c5 translate comments: Interpreters 2017-06-03 19:21:00 +03:00
Alexey Milovidov
862a304db2 Small refinements [#CLICKHOUSE-2]. 2017-06-01 16:41:58 +03:00
proller
cb890e26b9 Add small .sh for easier report while investigating problem (#741)
* Add small .sh for easier report while investigating problem

* renamed:    clickhouse_report.sh -> report/clickhouse_report.sh

* fix new path
2017-05-03 21:09:33 -07:00
proller
bcb230ebc6 Fix incudes, move code from daemon/OwnPatternFormatter.h 2017-04-27 08:40:27 +03:00
Alexey Milovidov
41e97787e3 Less dependencies [#CLICKHOUSE-2]. 2017-04-16 08:40:17 +03:00
Alexey Milovidov
8e2b05b2a7 Test data generator: preparation [#CLICKHOUSE-2]. 2017-04-13 06:09:46 +03:00
Alexey Milovidov
b2816f97d3 Test data generator: preparation [#CLICKHOUSE-2]. 2017-04-13 06:04:37 +03:00
Alexey Milovidov
bbe7314b83 Test data generator: preparation [#CLICKHOUSE-2]. 2017-04-13 05:53:15 +03:00
Alexey Milovidov
93560e80b1 Test data generator: preparation [#CLICKHOUSE-2]. 2017-04-13 05:52:11 +03:00
Alexey Milovidov
3106bccaff Test data generator: preparation [#CLICKHOUSE-2]. 2017-04-13 05:50:19 +03:00
Alexey Milovidov
d64bac8487 Added test-data-generator utility [#CLICKHOUSE-2]. 2017-04-13 05:40:00 +03:00
proller
72ccc69212 Debian: simpler package (#662)
* Allow use external re2 with re2_st=re2

* fix

* remove dupe

* use re2_st in FunctionsStringSearch.h

* fix

* move files from tools/etc to debian

* dont generate control

* version

* ok.

* wip

* Cmake: dont touch CMAKE_INSTALL_PREFIX

* wip

* works!

* clean

* okay

* like old

* wip

* wip

* okay

* clickhouse-server-base-dbg

* clean

* clickhouse-server-dbg

* Debian: Remove daemons

* Update rules

* add source/format

* control clean

* add watch

* clean

* clean

* temp fix build

* clean

* docs

* fake make_control

* fix

* testme

* testme

* add metrika package

* fake metrika files
2017-04-10 20:43:30 +03:00
Alexey Milovidov
31f7fe42d6 Fool's day changed, continued [#CLICKHOUSE-3]. 2017-04-05 14:52:23 +03:00
Alexey Milovidov
7f53cec624 Moved headers and sources to same place (part 5) [#CLICKHOUSE-3]. 2017-04-01 13:25:45 +03:00
Alexey Milovidov
310736cd7e Moved headers and sources to same place [#CLICKHOUSE-3]. 2017-04-01 12:22:42 +03:00
Alexey Milovidov
137ad95929 Changed tabs to spaces in code [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
Vitaliy Lyudvichenko
0290203f6d Fix test, add more comments. [#CLICKHOUSE-2070] 2017-03-28 20:46:16 +03:00
Alexey Zatelepin
faadab3034 Allow including config elements from ZooKeeper [#CLICKHOUSE-2794] 2017-03-19 21:58:12 +04:00
proller
0e91c47066 Allow build with external double-conversion lz4 zstd re2 zookeeper (#531)
* Allow build with external double-conversion lz4 zstd re2 zookeeper

* fix

* fix

* freebsd fixes

* spaces

* fix

* fix

* fix

* wip

* move

* fix
2017-03-01 03:49:04 +04:00
Alexey Milovidov
2d251802ac Better check-marks tool [#CLICKHOUSE-2841]. 2017-02-17 04:47:07 +03:00
Alexey Milovidov
5c8a51678c check-marks: added another method for check [#CLICKHOUSE-2841]. 2017-02-17 04:32:25 +03:00
Alexey Milovidov
2e0374f5e0 Addition to prev. revision [#CLICKHOUSE-2841]. 2017-02-17 00:49:15 +03:00
Alexey Milovidov
d3e2699e12 Addition to prev. revision [#CLICKHOUSE-2841]. 2017-02-17 00:43:07 +03:00
Alexey Milovidov
e154af029d Added a tool to check correctness of .mrk file [#CLICKHOUSE-2841]. 2017-02-17 00:38:25 +03:00
Alexey Milovidov
9c642de86b compressor: Fixed error in 'stat' mode [#CLICKHOUSE-2841]. 2017-02-14 15:03:02 +03:00
Alexey Milovidov
4f36b22d29 compressor: Fixed error in 'stat' mode [#CLICKHOUSE-2841]. 2017-02-14 00:13:10 +03:00
alexey-milovidov
cee5ab01fb Merge branch 'master' into merge_with_metrika 2017-02-11 00:27:15 +04:00
proller
326e382387 Include fixes (#454)
* Fix some includes and missing definitions

* fix
2017-02-07 19:38:57 +04:00
Pavel Kartavyy
224ba16dcb use project source and binary dirs instead of global dirs 2017-02-06 18:15:19 +03:00
proller
5a712f81ff small .h checker (#443)
* small .h checker

* fix
2017-02-03 02:08:43 +04:00
proller
8b4b1534e3 Cmake: Test on having sse (#405)
* Cmake: Test on having sse

* fix

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* fix

* fix

* fix

* fix

* fix
2017-01-27 23:55:33 +04:00
proller
f8d1573946 Various arm64 compile fixes on utils (#394) 2017-01-25 23:17:13 +04:00
Alexey Zatelepin
02a089a010 fix compressor --decompress option 2017-01-25 00:48:58 +04:00
proller
04d2149e8a enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR… (#372)
* enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR=1'  option

* add -Werror for utils
2017-01-19 23:30:58 +04:00
proller
861a3c3208 rename compressor to clickhouse-compressor, Fix magic in copy_headers.sh (#345)
* rename compressor to clickhouse-compressor

* Fix magic in copy_headers.sh

* wip
2017-01-18 16:42:21 +04:00
proller
29475c94c0 Reorganize includes, less depends in .h files 2017-01-16 22:47:11 +03:00
Vladimir Chebotarev
b0f4c3d226 compressor: Fixed a typo. [#METR-24006] 2017-01-08 18:45:42 +03:00
proller
4bc003c4c1 Porting to freebsd: initial, compile ok, most tests ok. 2016-12-24 01:03:10 +00:00
Alexey Milovidov
03570f8942 Moved old utility from metrika repo [#METR-2944]. 2016-12-17 14:19:27 +03:00
Vladimir Chebotarev
8e1a6aaf3e cmake: Boost, OpenSSL into find_package(). [#METR-23701] 2016-12-06 16:20:32 +03:00
Alexey Milovidov
e1e652338f Added utility [#METR-2944]. 2016-11-24 23:15:37 +03:00
Vladimir Chebotarev
cdaece7dfa : More specific usage of static libraries. [#METR-21516] 2016-11-09 21:49:01 +03:00
Vladimir Chebotarev
e2ceb63c54 libcommon, libre2, tools: Fixed build under OS X Sierra. [#METR-21516] 2016-11-03 15:41:13 +03:00
Vladimir Smirnov
d36f52502e Make it compilable on OS X
It's still hackish and dirty, but server and client compies.

Server starts, but throwes meaningless exception on any query.

Client seems to be working fine.

Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
687a6d1496 Addition to prev. revision [#METR-2944]. 2016-10-25 09:57:12 +03:00
Alexey Milovidov
d72d9733a8 Fixed warnings on clang [#METR-2944]. 2016-08-07 19:25:31 +03:00
Alexey Milovidov
9a07830dbb Removed useless code (experimental) [#METR-2944]. 2016-08-02 04:46:05 +03:00
Pavel Kartavyy
494f7a952c zookeeper-dump-tree: print tree size 2016-06-08 17:40:36 +03:00
Alexey Milovidov
c518abe882 Get rid of Poco::SharedPtr [#METR-21503]. 2016-05-28 20:31:50 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +03:00
Alexey Milovidov
4e62da8abc Updated script [#METR-21075]. 2016-04-27 07:13:52 +03:00
Alexey Milovidov
388d3c5605 Added test to reproduce bug in ZSTD (most likely https://github.com/Cyan4973/zstd/issues/173) [#METR-21075]. 2016-04-27 00:40:43 +03:00
Alexey Milovidov
639413da5e Better [#METR-20000]. 2016-03-28 14:20:17 +03:00
Alexey Milovidov
b623b8ee39 compressor: fixed typo [#METR-19932]. 2016-03-24 21:47:11 +03:00
Alexey Milovidov
348d69c464 wikistat-loader: skipping bad data [#METR-20000]. 2016-03-23 05:29:16 +03:00
Alexey Milovidov
8f423c0e57 Added program 'wikistat-loader' [#METR-20000]. 2016-03-21 06:32:38 +03:00
Alexey Milovidov
d4cfa04776 Fixed build [#METR-17973]. 2016-02-08 01:51:12 +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
51fa8aa2e5 dbms: addition to prev. revision [#METR-17973]. 2016-02-04 00:26:51 +03:00
Alexey Milovidov
d16f5a3720 dbms: addition to prev. revision [#METR-17973]. 2016-02-04 00:23:35 +03:00
Alexey Milovidov
abf49e937c dbms: disabled QuickLZ [#METR-17973]. 2016-02-04 00:16:19 +03:00
Alexey Milovidov
551d79e7ec Added utility to low-level manipulation with queue [#BSADM-4999]. 2015-12-28 22:22:34 +03:00
Alexey Milovidov
9f2ac08289 Addition to prev. revision [#METR-17973]. 2015-10-05 09:09:38 +03:00
Alexey Milovidov
4e75ccee03 Probably better [#METR-17973]. 2015-10-05 08:40:27 +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
4a061b97cb Moved file [#METR-17973]. 2015-10-05 03:44:40 +03:00
Alexey Milovidov
dff42a3f18 Added zookeeper-remove-by-list utility [#METR-18139]. 2015-09-23 23:49:49 +03:00
Alexey Milovidov
0b0fb3a594 Addition to prev. revision [#METR-18138]. 2015-09-23 04:57:45 +03:00
Alexey Milovidov
4ef9cd3bc2 Addition to prev. revision [#METR-18138]. 2015-09-23 04:53:35 +03:00
Alexey Milovidov
5c789519d3 Addition to prev. revision [#METR-18138]. 2015-09-23 04:48:38 +03:00
Alexey Milovidov
7e59fac268 Addition to prev. revision [#METR-18138]. 2015-09-23 04:43:22 +03:00
Alexey Milovidov
5f46416bc0 Addition to prev. revision [#METR-18138]. 2015-09-23 04:39:05 +03:00
Alexey Milovidov
ba6472b6a3 dbms: added zookeeper-dump-tree utility [#METR-18138]. 2015-09-23 04:21:47 +03:00
Alexey Milovidov
7d11fc0931 dbms: added ZSTD algorithm (experimental) [#METR-15386]. 2015-03-09 04:15:43 +03:00
Alexey Milovidov
91b7c5be21 Fixed iotests [#METR-2807]. 2015-02-02 02:48:23 +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
63cff6a5a4 Improvement [#METR-2807]. 2014-04-08 11:58:53 +04:00
Alexey Milovidov
5ca21127c7 Improvement [#METR-2807]. 2014-04-08 11:31:51 +04:00
Alexey Milovidov
713d0c468e compressor: added --hc mode [#METR-2944]. 2014-03-02 09:12:51 +04:00
Michael Kolupaev
88b2cc9888 renamed config_processor to config-processor; maybe this time it can be built into a package. [#METR-8956] 2014-02-26 23:10:00 +04:00
Alexey Milovidov
e6f2eb0730 Tiny modification [#METR-2807]. 2014-02-24 07:14:30 +04:00
Alexey Milovidov
e1044ecfa6 compressor: allowed to specify block size [#METR-2807]. 2014-02-24 06:43:56 +04:00
Pavel Kartavyy
809b3ebc0b benchmark: added util to correct non-utf symbols [#CONV-8419] 2013-09-06 08:41:19 +00:00
Alexey Milovidov
3ec6adbf8f Addition to prev. revision [#CONV-2944]. 2013-02-22 19:29:39 +00:00
Alexey Milovidov
0f2103247d compressor: added 'stat' mode [#CONV-2944]. 2013-02-22 19:24:56 +00:00
Michael Kolupaev
5aaa28de28 Slightly improved iotest [#CONV-5680]. 2012-10-09 17:16:51 +00:00
Michael Kolupaev
1216b6d1cc iotest: fixed compiler warning [#CONV-5680]. 2012-10-04 08:12:13 +00:00
Michael Kolupaev
c6cc20d672 iotest: fixed compiler warning [#CONV-5680]. 2012-10-04 08:11:09 +00:00
Michael Kolupaev
634fb3661e iotest: added iotest_aio [#CONV-5680]. 2012-10-04 08:09:07 +00:00
Michael Kolupaev
bb98220c44 iotest slightly fixed [#CONV-5680]. 2012-10-03 10:11:12 +00:00
Michael Kolupaev
b75d9bcc21 Fixed warnings in iotest_nonblock [#CONV-5680]. 2012-10-01 09:29:59 +00:00
Michael Kolupaev
f86d5d4d7e Added missing file (see previous commit) [#CONV-5680]. 2012-09-28 10:47:21 +00:00
Michael Kolupaev
9575f453e8 iotest: added tests for O_SYNC and O_DIRECT, O_NONBLOCK [#CONV-5680]. 2012-09-28 10:42:41 +00:00
Alexey Milovidov
c89ff86132 dbms: development [#CONV-2944]. 2012-05-14 20:37:10 +00:00
Alexey Milovidov
51bd7775e2 Using LZ4 by default [#CONV-4594]. 2012-04-14 00:18:07 +00:00
Alexey Milovidov
05fb543e90 iotest: improvement [#CONV-2807]. 2012-01-16 19:24:10 +00:00
Alexey Milovidov
028249f870 Added simple iotest [#CONV-2807]. 2012-01-16 19:14:36 +00:00
Alexey Milovidov
58110f5cde dbms: added LZ4 [#CONV-2944]. 2012-01-05 18:35:22 +00:00
Alexey Milovidov
5375efa675 METRAGE: improvement [#CONV-2546]. 2011-12-28 20:15:56 +00:00
Alexey Milovidov
e60253110a Merge 2011-06-17 21:19:39 +00:00
Alexey Milovidov
425fc839b0 dbms: using Snappy (experimental); removed compressed iostreams [#CONV-2546]. 2011-06-17 20:44:10 +00:00
Alexey Milovidov
6dbc33abcf compressor: added util for testing compression in DB. 2011-05-16 16:39:55 +00:00