Commit Graph

424 Commits

Author SHA1 Message Date
Alexey Milovidov
397ac0fb24 Updated performance testing tool #1890 2018-06-13 05:52:03 +03:00
Alexey Milovidov
37ffa4c948 Updated performance testing tool #1890 2018-06-13 04:52:52 +03:00
Alexey Milovidov
880807da5d Updated performance testing tool #1890 2018-06-13 04:51:15 +03:00
Alexey Milovidov
4c8f2eb625 Updated performance testing tool #1890 2018-06-13 04:50:33 +03:00
Alexey Milovidov
fd7949a5c6 Updated performance testing tool #1890 2018-06-13 04:46:23 +03:00
Alexey Milovidov
a4939b9a98 Updated performance testing tool #1890 2018-06-13 04:44:13 +03:00
Alexey Milovidov
755310d6ff Updated LZ4 performance testing tool #1890 2018-06-12 08:06:23 +03:00
Alexey Milovidov
e3d5a2860e Updated LZ4 performance testing tool #1890 2018-06-12 08:04:16 +03:00
alexey-milovidov
17d90fe6da
Merge branch 'master' into lz4_experiments 2018-06-10 23:13:38 +03:00
Alexey Milovidov
64ea1046e1 Using ninja by default: updated instructions [#CLICKHOUSE-2] 2018-06-08 19:18:07 +03:00
proller
01a31414eb
Build fixes (#2474) 2018-06-06 21:41:39 +03:00
Alexey Milovidov
51044279e5 Squashed #2471 2018-06-05 23:09:51 +03:00
proller
4d12a823da Use copy-headers from cmake. (working compiler test without package install) (#2456)
* Try use copy-headers from cmake [WIP]

* Using internal compiler without install

* 32bit Compile fix

* Fixes

* fix

* clean

* fix

* clean
2018-06-04 23:26:17 +03:00
Alexey Zatelepin
c9bb986330 Merge branch 'master' into replicated-mergetree-mutations
Conflicts:
	dbms/src/Storages/MergeTree/AbandonableLockInZooKeeper.h
	dbms/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.h
	dbms/src/Storages/StorageReplicatedMergeTree.cpp
2018-05-31 18:52:42 +03:00
proller
ba6fc5651b Docker update and improve (#2450)
* Fix user name on distributed queries

* wip

* fix

* Docker update and improve

* Fix
2018-05-30 22:26:36 +03:00
proller
060e965215
Try fix copy_headers (#2435) 2018-05-29 01:17:10 +03:00
proller
895b8e6515
Fix test 00505_secure with random ports (#2433) 2018-05-28 23:38:46 +03:00
Alexey Zatelepin
f6c72f8e56 Merge branch 'master' into replicated-mergetree-mutations
Conflicts:
	dbms/src/Common/ActionBlocker.h
	dbms/src/Storages/MergeTree/ActiveDataPartSet.cpp
	dbms/src/Storages/MergeTree/ActiveDataPartSet.h
	dbms/src/Storages/MergeTree/MergeTreeData.h
	dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeAlterThread.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeLogEntry.h
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeQueue.h
	dbms/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp
	dbms/src/Storages/StorageMergeTree.cpp
	dbms/src/Storages/StorageReplicatedMergeTree.cpp
	dbms/src/Storages/StorageReplicatedMergeTree.h
2018-05-28 18:37:30 +03:00
proller
ab3ab7f52d clickhouse-test-server: use random ports (#2425)
* Fix internal compiler includes with new clang

* debug copy_headers.sh

* Fix copy_headers.sh

* Use copy-headers from cmake

* Update rules

* pbuildeR: use random ports for testing

* critical fix

* clickhouse-test-server: use random ports

* fix

* fix
2018-05-25 23:52:20 +03:00
Alexey Zatelepin
1147e052e8 select and write part mutations to queue [#CLICKHOUSE-3747] 2018-05-25 23:13:00 +03:00
proller
68ba523b23 Compile and doc fixes (#2410)
* Try fix travis

* fix

* Fix clickhouse-local shared-split link

* fix

* fix

* fix

* Build fixes

* Fix tinfo

* fix

* tinfo -> termcap

* termcap fix

* Better llvm version detect

* fix

* Debian postinst fix
Tests: use /usr/local if exists

* Compile and doc fixes

* fix

* fix

* fix

* macos fixes

* fix

* wip

* Update demangle.h

* Update demangle.cpp
2018-05-25 21:13:48 +03:00
proller
445f8800c3
Build fixes [WIP] (#2374) 2018-05-17 20:55:07 +03:00
Alexey Milovidov
fb91bba279 Miscellaneous [#CLICKHOUSE-2] 2018-05-16 03:34:56 +03:00
alexey-milovidov
589899ac25
Added scripts for various CI tasks (in progress). (#2356)
* Added initial scripts for CI [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]

* CI: development [#CLICKHOUSE-2]
2018-05-14 02:12:30 +03:00
proller
efe661b620 Build fixes (#2347)
* Try fix travis

* fix

* Fix clickhouse-local shared-split link

* fix

* fix

* fix

* Build fixes

* Fix tinfo

* fix

* tinfo -> termcap
2018-05-11 17:16:16 +03:00
Alexey Milovidov
5241a81015 Better check #2240 2018-05-11 15:00:02 +03:00
Alexey Milovidov
274704d0df Added a script to validate dependencies on shared libraries #2240 2018-05-11 14:34:02 +03:00
proller
12905f5c6f
Try fix travis (#2340) 2018-05-10 15:31:30 +03:00
proller
eb772b8001 gcc8 fixes (memset, uncaught_exception) 2018-05-08 22:44:54 +03:00
proller
398097d24a Build fixes (#2323)
* Build fixes

* Fixes

* remove libzookeeper-mt-dev

* fix

* fix

* wrong

* try fix

* fix

* Update CMakeLists.txt
2018-05-07 18:59:52 +03:00
Alexey Milovidov
d72740feab Addition to prev. revision [#CLICKHOUSE-2] 2018-05-07 05:30:09 +03:00
Alexey Milovidov
bf3dbe1e86 Added a tool to fix code style [#CLICKHOUSE-2] 2018-05-07 05:27:31 +03:00
Alexey Milovidov
f589149189 Fixed build of embedded compiler with clang 7 [#CLICKHOUSE-2] 2018-05-06 12:04:10 +03:00
proller
634ba89f90 Build fixes 2018-05-05 15:34:17 +03:00
Alexey Milovidov
c9c09a9d13 Fixed Travis [#CLICKHOUSE-2] 2018-04-17 00:13:17 +03:00
proller
8a612c8e93 Better clickhouse-report 2018-04-13 15:34:14 +03:00
proller
3d38e5e477 clickhouse-report: get trace from running clickhouse-server process 2018-04-11 21:28:02 +03:00
proller
0c2ba39978
Debian: Try make compatible package depends (#2194)
* Fix split shared build

* Fix build without system odbc libs

* Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h

* Fix build with libiodbc

* Fix clickhouse-server.postinst

* Debian: Try make compatible package depends

* Try fix fail on travis tests fail

* Try fix package

* Fix ssl test

* fix

* fix

* wip

* try fix

* clean

* fix
2018-04-10 11:25:08 -07:00
Alexey Milovidov
2310bd7947 Miscellaneous [#CLICKHOUSE-2] 2018-04-03 20:35:48 +03:00
proller
440b0f33c7 Compile fixes 2018-04-02 15:31:49 +03:00
alexey-milovidov
428ee63a04
Merge branch 'master' into libzookeeper-rewrite 2018-04-01 17:31:20 +03:00
proller
5877498c4a Add clickhouse-report script to server package (#2123)
* Add clickhouse-report script to server package

* fix

* fix

* fix

* Revert "fix"

This reverts commit ef3ded0920.
2018-03-28 05:32:54 +03:00
Alexey Milovidov
93307a82e6 Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-25 07:20:31 +03:00
Alexey Milovidov
24f94d9352 Merge remote-tracking branch 'origin/master' into libzookeeper-rewrite 2018-03-24 23:30:57 +03:00
proller
e7a2f10e2a Fix test build 2018-03-23 19:40:15 +03:00
proller
caf83a650e libs: compiling with msvc2017 (#1996)
* Allow use bundled *ssl library

* fix

* Add submodule

* Fixes

* fix

* fixes

* fixes

* fix

* fix

* update poco

* fix warnings

* fix

* fix

* Build fixes

* Build fixes

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* add bat

* no zookeeper in dbms

* update boost

* fixes

* fixes

* fix

* fix

* fix

* fix

* try fix

* try fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Better

* fix

* dh verbose

* fix

* dh verbose

* fix

* clean

* Update LocalDate.h

* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
Alexey Milovidov
76f9e0032d Using different ZooKeeper library (development) [#CLICKHOUSE-2] 2018-03-20 00:34:56 +03:00
proller
56947de18a
Try fix ssl (#2051)
* Revert "Reverted bad modification #2035"

This reverts commit 6d6eca5e23.

* spaces

* fix

* better

* Revert "Disabled ill-formed test #2035"

This reverts commit b28cef9871.

* debug

* fix

* fix

* fix

* fix

* fix

* fix

* clean

* Tests compile fix

* fix

* Try fix ssl

* version

* Test fixes, ./release now uses pbuilder by default

* fix
2018-03-15 02:04:35 +03:00
proller
a4be761f24 rename libboost/boost_1_65_0 -> contrib/boost ; make submodule ; update boost to 1.66.0 (#1988)
* rename libboost/boost_1_65_0 -> contrib/boost ; make submodule ; update boost to 1.66.0

* Update contrib/boost

* Update contrib/boost

* Add comments

* Fix
2018-03-02 23:01:53 +03:00
proller
d6a1f8470f CLICKHOUSE-3553 Rebuild loggers on every config change (#1973)
* Macos test fix

* Fix freebsd build

* CLICKHOUSE-3553 Rebuild loggers on every config change

* rename clickhouse_common_configprocessor -> clickhouse_common_config; move Server/ConfigReloader.cpp -> Common/Config/

* CLICKHOUSE-3553 Set new level to all loggers on reload

* Dont use hash

* Update BaseDaemon.h
2018-02-28 23:34:25 +03:00
proller
cf9a33d04f CLICKHOUSE-3600 Use correct lld version, cmake fixes (#1968)
* Allow build without rt library

* fix

* Cmake misc

* CLICKHOUSE-3600 Use correct lld version

* CLICKHOUSE-3600 Use correct lld version

* Use libllvm same version as clang

* fix

* Fix build with iodbc

* Fix iodbc build

* Fix gold find

* Fix empty lines
2018-02-26 21:34:22 +03:00
proller
d2f1ef686e
Misc build and test fixes (#1905)
* Misc build fixes

* Fix apple tests
2018-02-14 20:27:14 +03:00
proller
38fd75f305
Travis: Try fix ccache (#1900)
* Travis: Try fix ccache
2018-02-13 22:39:21 +03:00
proller
971df7b853 Try fix travis. Use less travis tests (#1897)
* Try fix travis. Use less travis tests

* Disable capnp heavy test

* Travis: add gcc in pbuilder

* Fix

* fix
2018-02-13 21:00:06 +03:00
alexey-milovidov
238eba25c9
Merge branch 'master' into lz4_experiments 2018-02-12 20:05:48 +03:00
proller
a810abf7cd Try fix travis i386 2018-02-09 18:46:30 +03:00
proller
41ad692cef
Pbuilder ccache fixes (#1878)
* Pbuilder ccache fixes
2018-02-08 19:41:30 +03:00
proller
b3c60b4a2e Travis for i386 arch (#1873)
* Update internal compiler clang6.0 to rc1

* Build fixes (ubuntu bionic + clang6.0)

* Debian: Fix package install (old version can't do service clickhouse disable_cron)

* Allow use clang-7 as internal compiler: -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_COMPILER=clang-7 -DLLVM_VERSION_POSTFIX=-7

* fix

* Travis: dont run tests with gcc7 (too long, does not fit to limit)

* Travis: add clang6 + ubuntu bionic

* fix travis

* todo

* Dont test symbols with gdb

* More tests

* better messag

* add note

* Travis i386

* No test

* Fix

* Fix

* pbuilder: fix ccache
2018-02-08 17:38:36 +03:00
proller
15e77ec688 Build and test fixes:
Dont test symbols with gdb
    Travis: add clang6 + ubuntu bionic (disabled)
    Travis: dont run tests with gcc7 (too long, does not fit to limit)
    Allow use clang-7 as internal compiler: -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_COMPILER=clang-7 -DLLVM_VERSION_POSTFIX=-7
    Debian: Fix package install (old version can't do service clickhouse disable_cron)
    Build fixes (ubuntu bionic + clang6.0)
    Update internal compiler clang6.0 to rc1
2018-02-07 18:58:48 +03:00
proller
63b3bccb04 Test and build fixes (#1822)
* Fix travis

* try

* try

* Disable macos

* Travis enable macos

* Fix

* fast_finish: true

* fix

*  fxi

* fix openssl

* fix

* fix

* Fix

* try travis

* fix

* fix

* Cmake: dont filter platform-depended files in cmake

* misc

* renamed:    tests/server_wrapper.sh -> tests/clickhouse-test-serve

* install clickhouse-test-server

* clickhouse-test-server wip

* wip
2018-01-26 12:03:38 +03:00
proller
c430af5fb8 Freebsd fixes 2018-01-21 02:23:19 +03:00
proller
ee8272561a
More builder fixes (#1801)
* fix boost

* Fix gtest

* fix gtest

* fix

* fix gtest

* fix
2018-01-20 05:35:16 +03:00
proller
a2c3eae315 Builder fixes. Fix unbundled cctz 2018-01-20 00:33:48 +03:00
proller
3795adcd3f Fix travis 2018-01-19 20:23:07 +03:00
proller
76cf0ba5d0 Better tests (#1785)
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed:    dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h

* Fix space

* Fix data in system.build_options

* merge

* merge

* Travis optimize

* optimize

* Fix clickhouse-test --no-long

* no long

* Split too long test

* Better tests

* missing file

* Fix includes

* Added draft [#CLICKHOUSE-2].

* fix

* fix

* fix

* Fix test 281 under asan
2018-01-18 23:33:16 +03:00
proller
d8a92e80d6 Use double-conversion as submodule 2018-01-16 21:58:12 +03:00
proller
e8f2bb2d3b
Travis optimize (#1775)
* Travis optimize
2018-01-16 16:44:45 +03:00
Alexey Milovidov
2fa8992e2c Continued experiments [#CLICKHOUSE-2] 2018-01-16 04:59:51 +03:00
Alexey Milovidov
6d1e68baf9 Experiments continued [#CLICKHOUSE-2] 2018-01-16 00:52:24 +03:00
Alexey Milovidov
9e1e079a34 Experiments continued [#CLICKHOUSE-2] 2018-01-16 00:00:26 +03:00
proller
d97b2edc7c Make separate libs Common/ZooKeeper and Common/ConfigProcessor (#1749)
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed:    dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h

* Fix space

* Fix data in system.build_options

* merge

* merge
2018-01-15 22:07:47 +03:00
proller
f6d8436f81 Enable travis (#1772)
* Try travis

* wip

* Try travis

* try

* try

* try

* try

* Revert "try"

This reverts commit 7ecd73c2eb.

* try unbundled

* Try unbundled2

* Try undundled3

* Try unbundled4

* Try5

* try gcc7

* try6

* Try clang

* Try min

* try ccache

* try ccache stats

* no sudo

* try clang

* try ccache

* reset changelog

* Try fix clang

* try limit time

* Faster

* try timeout

* try faster

* Try

* try

* try

* try

* try

* try

* ccache

* Fix

* try test

* try test

* Fix try_listen in some vm's

* fix

* test

* fix

* cache timeout

* packages

* fix

* fix

* fix

* try emb compiler

* Try emb compiler

* Revert "try emb compiler"

This reverts commit 471713cabe.

* try

* Revert "Try emb compiler"

This reverts commit 95e632abf6.

* Skip long

* fix

* fix

* ccache

* fix

* debug

* Fxi test

* test fix

* tes fix

* Fix

* Fix link

* Fix odbc link

* Fxi test

* fix  boost unbundled include

* fix test

* fix test

* test fix

* fix tests

* tests

* Test fail
2018-01-15 21:57:10 +03:00
Alexey Milovidov
844c6d7786 Experiments with LZ4 [#CLICKHOUSE-2] 2018-01-15 08:56:50 +03:00
Alexey Milovidov
53ab52f95c Experiments with LZ4 [#CLICKHOUSE-2] 2018-01-15 08:54:28 +03:00
Alexey Milovidov
ed4c9476ee Added experimental data scrambler; experiments in performance of LZ4_decompress_fast function [#CLICKHOUSE-2] 2018-01-15 02:54:23 +03:00
proller
b026eb7797 Use submodule contrib/capnproto, remove include_directories (#1746)
* Add submodule contrib/capnproto

* Use contrib/capnproto, remove include_directories

* Fix include

* Clean

* Fix werror

* Update doc

* Fix

* Final fix

* Fxi
2018-01-11 21:39:52 +03:00
proller
b0469def79 Remove package clickhouse-compressor, simpler pbuilder test 2018-01-10 02:43:04 +03:00
proller
eb677a33e6 Add system.replicas dum to utils/report/clickhouse_report.sh 2017-12-25 20:17:32 +03:00
proller
46fb94a3e4 Internal compiler: Use libclang-5.0 (#1597)
* Fix std::numeric_limits<__uint128_t>

* clean

* Better fix of std::numeric_limits<__uint128_t>

* Use clang 5.0 (release) as internal compiler

* message

* Fix werror

* fix

* fix

* fixing..

* note

* fix

* fix

* fix

* fix

* multi version

* fix

* fix
2017-12-08 11:28:08 +03:00
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