Commit Graph

471 Commits

Author SHA1 Message Date
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