Commit Graph

540 Commits

Author SHA1 Message Date
proller
2688f4563f cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config (#375)
* Manual version update to [54135]

* Temporary release script fix [#METRIQA-732]

* cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config
2017-01-20 21:58:07 +04:00
Alexey Zatelepin
f5a25c341c translate comments [#CLICKHOUSE-3] 2017-01-19 03:48:59 +04:00
Alexey Zatelepin
5de1975bc4 parse INTO OUTFILE clause [#CLICKHOUSE-2133] 2017-01-19 03:48:59 +04:00
proller
04e2baebed Cmake (#358)
cmake: dont install files from CLICKHOUSE_PRIVATE_DIR
2017-01-18 17:35:59 +03:00
proller
29475c94c0 Reorganize includes, less depends in .h files 2017-01-16 22:47:11 +03:00
Alexey Milovidov
7a526b88d4 Fixed error on clang [#CLICKHOUSE-2]. 2017-01-14 12:17:40 +03:00
proller
ecb7642c4f Freebsd: preparing port, misc build/install chandes 2017-01-12 13:51:30 +00:00
proller
1649b003a0 Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811] 2017-01-09 16:42:29 +03:00
Alexey Zatelepin
502864b40a Merge branch 'master' into METR-23582
Conflicts:
	dbms/include/DB/IO/WriteBufferFromHTTPServerResponse.h
	dbms/src/Core/ErrorCodes.cpp
2017-01-08 12:53:17 +03:00
Alexey Zatelepin
600bb5f29a [#METR-23582]
* introduce ZlibDeflatingWriteBuffer and ZlibInflatingReadBuffer
* use them instead of Poco streams
* seamlessly uncompress multiple concatenated gzip streams
2017-01-07 20:22:58 +03:00
proller
c2a6681522 Add header Keep-Alive: timeout=.. to http server responce [#METR-23933] 2016-12-30 23:52:56 +03:00
proller
ca9c4bbdbb Dont use tcmalloc TCMALLOC_AGGRESSIVE_DECOMMIT patch 2016-12-28 03:47:46 +03:00
proller
4bc003c4c1 Porting to freebsd: initial, compile ok, most tests ok. 2016-12-24 01:03:10 +00:00
Vitaliy Lyudvichenko
6ee0cc795a Prevent "variable tracking size limit exceeded" compiler notice. [#METR-20000] 2016-12-21 02:05:43 +03:00
Alexey Milovidov
df54b52db0 Revert "Fixed 'variable tracking size limit exceeded' notice (again) [#METR-23101]."
This reverts commit b6fb08c77f.
2016-12-21 01:22:32 +03:00
Alexey Milovidov
b6fb08c77f Fixed 'variable tracking size limit exceeded' notice (again) [#METR-23101]. 2016-12-20 23:58:54 +03:00
alexey-milovidov
111aaae0d3 Merge pull request #273 from ludv1x/METR-23765
clickhouse-local enhancements
2016-12-21 00:11:00 +04:00
Vitaliy Lyudvichenko
836f641f5f Fix rare race condition which occurrs during update of config files. [#METRIKASUPP-7653] 2016-12-20 22:03:12 +03:00
Vitaliy Lyudvichenko
6fe581c172 Added --stacktrace option to clickhouse-local. [#METR-23765]
Added support of path config variable and ability to load clickhouse-server data. [#METR-20000]
Default database of clickhouse-local is changed to "_local" to avoid collisions with clickhouse-server.

Small fixes and enhancements of command line options (setting and limits). [#METR-23101]
2016-12-20 18:01:05 +03:00
Vladimir Chebotarev
cc7db759fe create_init_script: Avoid generation of init file each configuration phase. [#METR-21516] 2016-12-13 14:09:22 +03:00
Marek Vavrusa
f7a7e8e858 HTTPHandler: added support for X-ClickHouse-*
Support X-ClickHouse-* to allow running behind authenticating LBs, that
pass through user information or enforce fixed user.
The format of the new options follows X-Auth-*

Supported headers are:

* X-ClickHouse-User (identical to "user" URL parameter)
* X-ClickHouse-Key (identical to "password" URL parameter)
* X-ClickHouse-Quota (identical to "quota_key" URL parameter)
2016-12-11 20:46:37 -08:00
Alexey Milovidov
be5a07463e Server: fixed error [#METR-23766]. 2016-12-08 08:29:53 +03:00
Vitaliy Lyudvichenko
450cee3641 Fixed flags/force_restore_data. 2016-12-07 22:16:41 +03:00
Alexey Milovidov
886919a5c9 Removed excessive part checks [#METR-22214]. 2016-11-22 21:29:36 +03:00
Alexey Milovidov
5e799ca8cd Better [#METR-22214]. 2016-11-22 21:17:24 +03:00
Vitaliy Lyudvichenko
51f57e7079 Small clickhouse-local fixes. 2016-11-17 16:58:21 +03:00
Alexey Milovidov
942a000009 Allow to run 'clickhouse-local' program by pressing enter in source directory of server [#METR-23101]. 2016-11-17 03:39:11 +03:00
Alexey Milovidov
bade1519ba Fixed 'variable tracking size limit exceeded' notice [#METR-23101]. 2016-11-16 05:51:00 +03:00
alexey-milovidov
3432f84409 Merge pull request #183 from ztlpn/METR-23447
Client uses server timezone for interpreting DateTime strings [#METR-23447]
2016-11-16 05:22:28 +04:00
Alexey Zatelepin
e1bb33cad0 PR fixes:
* add forgotten const
* print exception string if switching to server timezone failed
* protocol compatibility with old versions
* use ALWAYS_INLINE in DateLUT.h
2016-11-15 10:24:55 +00:00
Vitaliy Lyudvichenko
73e5f828f4 Fixed debian build install. 2016-11-14 22:14:11 +03:00
Vitaliy Lyudvichenko
bfbe8f8ed1 Fixed debian package build. 2016-11-14 18:32:55 +03:00
Vitaliy Lyudvichenko
107f7b34c7 Added requested PR changes, 2nd iteration. 2016-11-14 02:57:18 +03:00
Alexey Zatelepin
3a7260e200 [#METR-23447] Client uses server timezone for DateTime string parsing 2016-11-13 19:34:31 +00:00
Vitaliy Lyudvichenko
c05f512637 Merged server, client and local into single binary, more args for local mode. 2016-11-09 22:06:29 +03:00
Vitaliy Lyudvichenko
bae8c7edf8 Added more command line features and docs. Fixed queries splitting. 2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
9ae568e51f Added fix after rebase, and recognition of local mode by argv[0]. 2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
bf924009b9 Added support of seekable files for StorageFile, more options for clickhouse-local. [#METR-23101] 2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
2242cfd6b0 Put DatabaseMemory class into separated file. 2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
05620299cd Reverted changes in main Server and BaseDaemon classes. 2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
d952dd39b0 Merged clickhouse-server and clickhouse-local into common app. 2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
48a3d25f99 Implemented tiny clickhouse-local app. 2016-11-09 22:03:47 +03:00
Vitaliy Lyudvichenko
cf24f6e2d1 Implemented draft version of clickhouse-local service. 2016-11-09 22:03:47 +03:00
Vladimir Chebotarev
72a533bc11 dbms: max_open_files for server, readline in OS X. [#METR-21516] 2016-11-07 14:33:25 +03:00
Alexey Milovidov
751f3913ee Fixed build [#METR-20000]. 2016-11-01 20:56:25 +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
c2fa56b905 ClientInfo: fixes [#METR-23279]. 2016-10-25 08:07:29 +03:00
Alexey Milovidov
72f0dba30d Addition to prev. revision [#METR-23279]. 2016-10-25 01:33:40 +03:00
Alexey Milovidov
a081f5f05b Addition to prev. revision [#METR-23279]. 2016-10-25 01:11:36 +03:00
Alexey Milovidov
daeac24f04 Added ClientInfo: passing original source of query during distributed query execution; improvement of per-user limits in ProcessList [#METR-23279]. 2016-10-25 00:40:39 +03:00
Alexey Milovidov
ea852bb9d8 Separate compilation of CurrentMetrics; Separated AsynchronousMetrics from CurrentMetrics; Comments [#METR-23237]. 2016-10-24 07:06:27 +03:00
Alexey Milovidov
32eeb84992 Merge branch 'master' of github.com:yandex/ClickHouse 2016-10-24 05:03:22 +03:00
Alexey Milovidov
9af5ce1e3b Separate compilation of ProfileEvents; comments [#METR-23237]. 2016-10-24 05:02:37 +03:00
f1yegor
af01f6fdcc translate config.xml and MergeTreeSettings.h 2016-10-23 22:13:10 +02:00
Alexey Milovidov
692bb379e3 Fixes; faster shutdown [#METR-23237]. 2016-10-23 13:52:32 +03:00
Alexey Milovidov
be84b78b93 Added actively updating metrics [#METR-23237]. 2016-10-23 09:12:50 +03:00
Vitaliy Lyudvichenko
43f0ac7a93 Fixed Debug build. 2016-10-17 13:32:30 +03:00
alexey-milovidov
8d7ba10835 Merge pull request #132 from ludv1x/METR-22802
Automatic reload of remote_servers configuration.
2016-10-14 23:32:27 +04:00
Vitaliy Lyudvichenko
a0760a4821 Added requested PR changes. [#METR-22802] 2016-10-14 20:54:18 +03:00
Alexey Milovidov
4bd127a883 Added creation of database directories at startup [#METR-2944]. 2016-10-13 23:01:18 +03:00
Vitaliy Lyudvichenko
144d9018ba Added port column into system.processes table. [#METR-22966] 2016-10-11 22:01:55 +03:00
Vitaliy Lyudvichenko
857719b3e5 Renamed UsersConfigReloader -> ConfigReloader. [#METR-22802] 2016-10-11 19:20:42 +03:00
Vitaliy Lyudvichenko
ebbc9b9877 Added abilty to automatically update clusters configuration. [#METR-22802] 2016-10-11 17:17:49 +03:00
Alexey Milovidov
01c8ed01b9 Added resharding element to config [#METR-22916]. 2016-09-28 07:50:19 +03:00
Alexey Milovidov
1d836b2bf8 Addition to prev. revision [#METR-2944]. 2016-09-23 23:41:14 +03:00
Alexey Milovidov
6b2755bf2a Non significant change [#METR-2944]. 2016-09-23 23:33:06 +03:00
Alexey Milovidov
d3a38e7cfe Allow to omit tcp_port or http_port in config [#METR-22844]. 2016-09-21 18:22:38 +03:00
igor
3bbbdb29f5 Add CORS hearder,param:add_http_cors_header and check request header 2016-08-23 21:35:23 +03:00
Alexey Milovidov
0cf32c8aed Renamed method [#METR-22400]. 2016-08-13 05:21:17 +03:00
Alexey Milovidov
dde2c4c3c5 Creating directory for flags [#METR-21594]. 2016-08-10 03:47:00 +03:00
Alexey Milovidov
b51bdbd0c0 Allow to set 'force_restore_data' flag with creating file on local filesystem [#METR-21594], [#METR-17811]. 2016-08-10 00:48:05 +03:00
Alexey Milovidov
9fd26e381a Less code [#MOBMET-3953]. 2016-08-07 01:31:58 +03:00
Alexey Milovidov
6f4fc79cde Better [#METR-2944]. 2016-07-31 06:53:16 +03:00
Alexey Milovidov
1d2937f781 Allow access only from localhost for developers builds, ran from source tree [#METR-2944]. 2016-07-31 06:05:42 +03:00
Alexey Milovidov
ea734b6bee Removed compatibility layer with OLAPServer [#METR-2944]. 2016-07-30 04:08:00 +03:00
Alexey Milovidov
349fd1aca8 Removed logrotate [#MTRSADMIN-2107]. 2016-07-29 19:46:11 +03:00
Alexey Milovidov
55ed2904f4 Allowed for certain aggregate functions to have case insensitive names for compatibility [#METR-22087]. 2016-07-14 08:22:09 +03:00
Alexey Milovidov
c2929666fd Fixed error [#METR-21877]. 2016-07-07 04:57:48 +03:00
Alexey Milovidov
2906679e38 Temporarily removed squashing blocks on INSERT [#METR-21877]. 2016-07-06 19:25:15 +03:00
Alexey Milovidov
1a420a14e9 Squashing small blocks on INSERT (when passing blocks via TCP interface or when doing INSERT SELECT) [#METR-21877]. 2016-07-02 00:02:13 +03:00
Alexey Milovidov
f8b4ade0ec Added 'stacktrace' parameter for HTTP interface (0, don't output stack trace by default) [#METR-21846]. 2016-06-25 10:22:12 +03:00
Alexey Milovidov
c68d6ea303 Better message when listen_host is IPv6 address and IPv6 is disabled [#METR-21842]. 2016-06-25 06:06:36 +03:00
Alexey Milovidov
b8adf2c906 Updated comments [#METR-2944]. 2016-06-19 00:08:35 +03:00
Alexey Milovidov
4cf43a7e79 Fixed error when table couldn't alter itself in constructor [#METR-21479]. 2016-06-10 23:46:58 +03:00
Alexey Milovidov
d24df364cb Leaving 10 log files when using internal log rotation [#METR-2944]. 2016-06-10 15:34:35 +03:00
Alexey Milovidov
7ef286cc88 Preparation [#STATINFRA-7868]. 2016-06-02 21:24:09 +03:00
Alexey Milovidov
c1eae3e234 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:37:51 +03:00
Alexey Milovidov
646d70a545 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 17:14:18 +03:00
Alexey Milovidov
3c1c9d46f7 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 15:22:22 +03:00
Alexey Milovidov
4c7eb03b63 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:35:44 +03:00
Alexey Milovidov
61ae4e5547 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 11:15:50 +03:00
Alexey Milovidov
e9e7a44552 Merge branch 'master' of github.yandex-team.ru:Metrika/ClickHouse 2016-05-26 21:46:14 +03:00
Alexey Milovidov
f0d3ff787b Tiny modifications [#METR-20000]. 2016-05-25 22:59:17 +03:00
Alexey Milovidov
4375300027 Fixed error in config [#METR-20000]. 2016-05-24 21:03:23 +03:00
Alexey Milovidov
5e9afe5ecf Translated config to english [#METR-20000]. 2016-05-22 04:45:30 +03:00
Alexey Milovidov
7ced02feb9 Disabled OLAPServer compatibility layer by default [#METR-2944]. 2016-05-18 15:42:48 +03:00
Alexey Milovidov
d3ec391e37 Opened access by default for 'common' package [#METR-20000]. 2016-05-18 08:07:41 +03:00
Alexey Milovidov
a4c66ba624 Tiny modification in config [#METR-2944]. 2016-05-17 18:43:40 +03:00
Alexey Milovidov
c500d4d578 Don't throw on bad includes while reloading users config [#METR-21224]. 2016-05-06 22:43:16 +03:00
Alexey Milovidov
ee85a00e5b Merge 2016-04-24 13:40:32 +03:00