Commit Graph

1503 Commits

Author SHA1 Message Date
Alexey Arno
860bfcf676 dbms: Code cleanup. [#METR-18510] 2016-03-04 13:04:01 +03:00
Alexey Arno
b44f3f4f5d dbms: Code cleanup. [#METR-18510] 2016-03-04 13:00:00 +03:00
Alexey Milovidov
4e0be26844 Addition to prev. revision [#METR-20296]. 2016-03-04 07:56:43 +03:00
Alexey Milovidov
42883fddc4 Added virtual column '_sample_factor' [#METR-20296]. 2016-03-04 07:54:10 +03:00
Alexey Milovidov
d1aee1d615 Fixed error with StorageBuffer and automatic moving conditions to PREWHERE [#METR-20257]. 2016-03-04 05:54:26 +03:00
Alexey Milovidov
a8f423a74c Merge 2016-03-03 23:29:52 +03:00
Alexey Arno
aeb14a7855 dbms: More locking improvements. [#METR-18510] 2016-03-03 19:22:10 +03:00
Alexey Arno
3b9ea20c91 dbms: More locking improvements. [#METR-18510] 2016-03-03 19:20:19 +03:00
Pavel Kartavyy
4e2a760474 Merge 2016-03-03 18:38:13 +03:00
Alexey Arno
d21060c35b dbms: Locking performance and correctness improvements. [#METR-18510] 2016-03-03 17:37:15 +03:00
Alexey Arno
9efcf9d204 dbms: Code cleanup. [#METR-18510] 2016-03-03 11:40:21 +03:00
Alexey Arno
da03a011b2 dbms: Modified function implementation to make it cleaner. [#METR-18510] 2016-03-03 10:39:02 +03:00
Alexey Milovidov
e29eb14b79 dbms: attempt to fix an error [#METR-20273]. 2016-03-03 07:30:36 +03:00
Alexey Milovidov
0119de05bb DataPartsExchange: better [#METR-20273]. 2016-03-03 06:54:37 +03:00
Alexey Arno
aa10c8c87d dbms: Code cleanup. [#METR-18510] 2016-03-02 23:27:29 +03:00
Alexey Arno
514cf0fcba dbms: Code cleanup. [#METR-18510] 2016-03-02 17:12:04 +03:00
Alexey Arno
6232e1cf9a dbms: Added stricter checkings for coordinated requests originating from shards and a more reliable cluster naming scheme. [#METR-18510] 2016-03-02 16:35:30 +03:00
Alexey Arno
fc2c3c1f2e dbms: Server: Reverted old modification that found its way into master by error. It could have lead to deadlocks. [#METR-18510] 2016-03-01 22:16:27 +03:00
Alexey Arno
6efc98d1f3 Merge 2016-03-01 20:47:53 +03:00
Alexey Milovidov
56b316bff7 Fixed error when symlinked part couldn't be removed [#METR-20080]. 2016-02-19 23:13:54 +03:00
Alexey Milovidov
7af87e367f Better diagnostics [#METR-20079]. 2016-02-18 00:02:06 +03:00
Alexey Milovidov
8b3afeb60d Squashed commit of the following:
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:11:29 2016 +0300

    Addition [#METR-2944].

commit 7524981fa7c4f22929dd5009444a0ae28500f620
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 06:08:43 2016 +0300

    Fixed error (incomplete) [#METR-2944].

commit 2f1e7bf9f46cd9ce958ade9041c00ce067940fd2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 05:37:43 2016 +0300

    Improving performance of row formats [#METR-2944].

commit 9848910f235863c9571ef1ebe0d87d4929ee283c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 00:37:12 2016 +0300

    Improving performance of text formats [#METR-2944].

commit 3aedc7fd784af962e64ffdd10ec23ac53827d8e2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Feb 16 00:18:00 2016 +0300

    Improving performance of row formats [#METR-2944].

commit cb5932c2b0385604477e69c8262dc31a4bb4b23b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Mon Feb 15 00:53:27 2016 +0300

    Fixed error.

commit 42863fd4eddeef594e846c598b92877b6ff86fa6
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sun Feb 14 23:13:46 2016 +0300

    Improving performance of row formats [#METR-2944].

commit 71c6fb19a85a79297433ceb486fdb97e551d964f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sun Feb 14 16:58:56 2016 +0300

    Improving performance of row formats [#METR-2944].
2016-02-16 19:39:39 +03:00
Alexey Milovidov
bb122a2fa7 dbms: less locking while clearing old parts; better while loading parts [#METR-2944]. 2016-02-14 14:02:47 +03:00
Alexey Milovidov
5a78d4b0da Lowered size of index in memory (experimental) [#METR-2944]. 2016-02-14 08:43:03 +03:00
Alexey Milovidov
7a92c3cf1a Preparation [#METR-2944]. 2016-02-14 07:58:47 +03:00
Alexey Milovidov
d14a12151e Fixed error with leak of watches [#METR-19975]. 2016-02-11 04:48:34 +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
02958c1c7f dbms: fixed race condition between attaches and download of parts [#METR-19399]. 2016-02-07 20:31:13 +03:00
Alexey Milovidov
43c73cf7ee dbms: added support for CSV format [#METR-19957]. 2016-02-07 11:42:21 +03:00
Alexey Milovidov
563e410b72 Moved threadpool library to contrib [#METR-17973]. 2016-02-05 08:07:39 +03:00
Alexey Milovidov
3519c3cea2 dbms: separated mysqlxx::Date and mysqlxx::DateTime [#METR-17973]. 2016-02-03 04:17:58 +03:00
Alexey Milovidov
48a1fe182d dbms: attempt to fix an error [#METR-19866]. 2016-02-03 00:30:27 +03:00
Alexey Milovidov
038a6278d5 dbms: fixed error with multiple INSERTs in StripeLog [#METR-19901]. 2016-02-02 23:33:03 +03:00
Alexey Milovidov
21fb1cca7c dbms: protection from attaching inactive parts at second ATTACH [#METR-19399]. 2016-01-30 06:26:24 +03:00
Alexey Milovidov
a0e7a59ab1 dbms: fixing errors with ATTACHes [#METR-19399]. 2016-01-30 05:29:20 +03:00
Alexey Milovidov
dae8a1d99d dbms: allowed to merge parts after DETACH PARTITION and then ATTACH [#METR-19397]. 2016-01-30 04:36:13 +03:00
Alexey Milovidov
f0a009bd70 dbms: attempt to fix an error [#METR-19399]. 2016-01-30 03:57:35 +03:00
Alexey Milovidov
061306d04b Merge 2016-01-29 05:24:50 +03:00
Alexey Milovidov
1b93d7d874 dbms: fixed error with possible conflict of names of parts when doing ATTACH after DROP PARTITION [#METR-18510]. 2016-01-29 05:24:03 +03:00
Alexey Milovidov
d5163b5060 Removed few old files [#METR-18510]. 2016-01-29 05:22:43 +03:00
Alexey Arno
113b592380 Merge 2016-01-28 19:06:57 +03:00
Alexey Milovidov
e5d4149ca4 Merge 2016-01-28 04:00:42 +03:00
Alexey Milovidov
67a07205b7 Merge 2016-01-28 04:00:27 +03:00
Alexey Milovidov
b7d3f0e4d6 Merge 2016-01-28 03:59:35 +03:00
Alexey Milovidov
5d962f241f dbms: fixed error with ATTACH [#METR-19835]. 2016-01-28 03:39:11 +03:00
Alexey Milovidov
5c90d7d45c Merge 2016-01-26 05:00:25 +03:00
Alexey Milovidov
085dd9f90a Merge 2016-01-26 04:56:42 +03:00
Alexey Arno
ae2f7c7613 Merge 2016-01-26 03:30:18 +03:00
Alexey Milovidov
6d50fb4b44 dbms: fixed quorum inserts; improved performance of ordinary inserts [#METR-16779]. 2016-01-24 08:00:24 +03:00
Alexey Milovidov
409954428b dbms: using numeric constants while evaluating PKCondition [#METR-19758]. 2016-01-23 00:28:58 +03:00
Alexey Milovidov
e720a53cf2 dbms: return early on WHERE 0 [#METR-19758]. 2016-01-22 23:43:16 +03:00
Alexey Milovidov
48be0fb3e4 dbms: faster removing of lost parts from queue [#METR-19754]. 2016-01-21 23:45:56 +03:00
Alexey Milovidov
a08281d2eb dbms: fixed error when replica has too large delay [#METR-19586]. 2016-01-21 22:43:00 +03:00
Alexey Arno
a3ea32b985 Merge 2016-01-21 19:30:05 +03:00
Alexey Milovidov
14d525d991 dbms: fixed error with insert quorum [#METR-16779]. 2016-01-21 07:06:20 +03:00
Alexey Milovidov
0f3e163c4e dbms: CurrentMetrics: development [#METR-19596]. 2016-01-21 04:47:28 +03:00
Alexey Milovidov
30e559636d dbms: added support for global metrics: sending to graphite; added system.metrics table [#METR-19596]. 2016-01-21 00:32:01 +03:00
Alexey Milovidov
3f89d9e0f5 dbms: added profile event for yielding leadership [#METR-17573]. 2016-01-20 23:43:42 +03:00
Alexey Milovidov
fa22ca0d09 dbms: added comment [#METR-19586]. 2016-01-20 03:18:58 +03:00
Alexey Milovidov
277167af17 dbms: fixed error with exceptions while queue processing [#METR-19586]. 2016-01-20 00:38:01 +03:00
Alexey Milovidov
acd611c326 dbms: fixed calculation of delays [#METR-17573]. 2016-01-19 21:49:37 +03:00
Alexey Milovidov
fc951a9304 dbms: pulling logs at startup for better calculation of delays [#METR-17573]. 2016-01-19 20:17:22 +03:00
Alexey Milovidov
dd1effe99c Merge 2016-01-18 19:27:57 +03:00
Alexey Milovidov
25036fec31 dbms: addition [#METR-19586]. 2016-01-18 19:27:27 +03:00
Alexey Milovidov
82a96d22b1 dbms: tracking replicas delays [#METR-17573]. 2016-01-17 16:00:42 +03:00
Alexey Milovidov
d1882fe766 dbms: addition to prev. revision [#METR-2944]. 2016-01-17 11:27:52 +03:00
Alexey Milovidov
d603d0a12d Merge 2016-01-17 11:12:48 +03:00
Alexey Milovidov
a30532594b dbms: fixed error [#METR-19586]. 2016-01-17 08:22:22 +03:00
Alexey Milovidov
d8e6b1dcf1 dbms: fixed error in prev. revision [#METR-19586]. 2016-01-13 05:36:11 +03:00
Alexey Milovidov
ab1b725779 dbms: less dependencies [#METR-2944]. 2016-01-13 03:32:59 +03:00
Alexey Milovidov
949ecc2070 dbms: optimized function pullLogsToQueue [#METR-19586]. 2016-01-12 22:45:51 +03:00
Alexey Milovidov
13c7d0983a dbms: cutting dependency [#METR-2944].. 2016-01-12 00:46:36 +03:00
Alexey Milovidov
1f7f7cd682 dbms: better [#METR-19586]. 2016-01-10 07:44:12 +03:00
Alexey Milovidov
a5b8166541 dbms: better [#METR-19586]. 2016-01-10 07:43:30 +03:00
Alexey Milovidov
a419ce1052 Preparation to build with in-tree Poco library [#METR-19593]. 2016-01-07 22:52:21 +03:00
Andrey Mironov
325107ad5a dbms: FunctionCast for Enums: allow changing names but not values for existing elements [#METR-19265] 2015-12-29 15:57:22 +03:00
Andrey Mironov
40e6f51370 dbms: allow cheap alter of Enums [#METR-19265] 2015-12-28 20:06:15 +03:00
Alexey Milovidov
0cf09f76f8 dbms: better [#METR-2944].. 2015-12-28 17:24:31 +03:00
Alexey Milovidov
43350f51bb dbms: don't thrash mark_cache on merges (and ALTER MODIFY TYPE) [#METR-19575]. 2015-12-26 03:59:09 +03:00
Andrey Mironov
13f56d4465 dbms: use CAST internally whenever a conversion is required [#METR-19265] 2015-12-25 15:06:16 +03:00
Alexey Milovidov
f1f3619df4 dbms: cancelling fetching of parts on table shutdown [#METR-19544]. 2015-12-25 00:28:18 +03:00
Alexey Milovidov
89c64fe863 dbms: removed unused field [#METR-2944]. 2015-12-24 21:35:01 +03:00
Alexey Milovidov
fe0e9d2248 dbms: little better [#METR-19417]. 2015-12-16 05:38:11 +03:00
Alexey Milovidov
0939b5e881 Merge 2015-12-16 05:32:49 +03:00
Alexey Milovidov
9143952e83 dbms: probably better [#METR-19172]. 2015-12-13 15:02:10 +03:00
Alexey Milovidov
2aeb48be2d dbms: added backoff on slow reads [#METR-17579]. 2015-12-13 07:52:13 +03:00
Alexey Milovidov
236f04d2dc dbms: Buffer: fixed error [#METR-19371], 2015-12-11 05:19:32 +03:00
Alexey Milovidov
db8d82f13e dbms: Buffer: better [#METR-19249]. 2015-12-09 09:55:49 +03:00
Alexey Milovidov
e473834770 dbms: StorageBuffer: write correct info about block flushed [#METR-19249]. 2015-12-09 09:16:24 +03:00
Alexey Milovidov
9e33ab5519 dbms: fixed error with StorageBuffer [#METR-19249]. 2015-12-09 09:10:13 +03:00
Alexey Milovidov
6eb47b0db4 dbms: fixed error with StorageBuffer [#METR-19249]. 2015-12-09 09:04:00 +03:00
Alexey Milovidov
6260ac34a3 dbms: fixed high CPU usage on shutdown [#METR-19056]. 2015-12-09 08:05:42 +03:00
Alexey Milovidov
e0653fda4e dbms: little better [#METR-19172]. 2015-12-09 07:41:46 +03:00
Alexey Milovidov
f6973a32c4 dbms: added support for empty StripeLog tables [#METR-19298]. 2015-12-08 23:04:11 +03:00
Alexey Milovidov
78b560c846 dbms: fixed error [#METR-19283]. 2015-12-07 22:30:50 +03:00
Alexey Milovidov
b76731a578 dbms: improved startup times for lagged replica [#METR-18563]. 2015-12-05 10:03:17 +03:00
Alexey Milovidov
117060cf43 dbms: fixed error [#METR-18167]. 2015-12-03 07:03:20 +03:00
Alexey Milovidov
a7387d9ce4 dbms: improvement [#METR-2944]. 2015-11-30 23:20:37 +03:00
Alexey Milovidov
39004c76f5 dbms: addition [#METR-19052]. 2015-11-29 15:54:58 +03:00
Alexey Milovidov
b6aaf1fe32 dbms: development; provided monotonicity properties for date-time functions [#METR-19052]. 2015-11-29 14:58:44 +03:00
Alexey Milovidov
d9bc972a59 dbms: allowed to use index if column is wrapped by piecewise-monotonic functions: initial implementation [#METR-19052]. 2015-11-29 11:06:29 +03:00
Alexey Milovidov
8314861690 dbms: improved performance of INSERT SELECT [#METR-19025]. 2015-11-21 18:47:32 +03:00
Andrey Mironov
715d2f6ce5 dbms: add key description to system.dictionaries[#METR-17328] 2015-11-20 19:20:54 +03:00
Alexey Milovidov
0713e4c592 dbms: addition to prev. revision [#METR-18847]. 2015-11-20 06:08:12 +03:00
Alexey Milovidov
5e2499eb77 dbms: addition to prev. revision [#METR-18847]. 2015-11-20 05:42:26 +03:00
Alexey Milovidov
4318712300 dbms: addition to prev. revision [#METR-18847]. 2015-11-20 05:29:16 +03:00
Alexey Milovidov
2d00e5d84f dbms: SAMPLE ... OFFSET development: using rational numbers [#METR-18847]. 2015-11-20 00:34:53 +03:00
Alexey Milovidov
1b08920e50 dbms: SAMPLE OFFSET: development [#METR-18847]. 2015-11-19 06:24:59 +03:00
Alexey Milovidov
09dd253636 dbms: added support for SAMPLE ... OFFSET [#METR-18847]. 2015-11-19 00:37:28 +03:00
Alexey Milovidov
513b4e0dc2 dbms: fixed error message [#METR-18810]. 2015-11-13 23:31:02 +03:00
Evgeniy Gatov
998f5fd552 dbms: temporarily disabled shards multiplexing [#METR-18300]. 2015-11-13 20:21:16 +03:00
Alexey Milovidov
7f736e4065 dbms: temporarily disabled shards multiplexing [#METR-18300]. 2015-11-12 04:17:44 +03:00
Alexey Milovidov
9b991b3d6c dbms: whitespaces [#METR-2944]. 2015-11-11 05:13:24 +03:00
Alexey Milovidov
d21307c535 dbms: fixed error with views [#METR-18748]. 2015-11-10 23:07:38 +03:00
Alexey Milovidov
f8e58463a6 dbms: addition to prev. revision [#METR-17573]. 2015-11-10 00:07:22 +03:00
Alexey Milovidov
e78ed9f802 dbms: replication delays: development [#METR-17573]. 2015-11-09 23:30:54 +03:00
Alexey Milovidov
4482871274 dbms: allowed aliases without AS keyword in SELECT clause at top level [#METR-15573]. 2015-11-08 03:28:12 +03:00
Alexey Milovidov
a43d225da7 Merge 2015-11-06 21:46:23 +03:00
Alexey Milovidov
d7831a6317 dbms: fixed error [#METR-17573]. 2015-11-06 21:45:48 +03:00
Alexey Arno
29dc5f91d1 Merge 2015-11-06 20:44:01 +03:00
Alexey Milovidov
4a35d9169f dbms: merges don't block ALTERs [#METR-18690]. 2015-11-06 20:34:48 +03:00
Alexey Milovidov
53dd07b8ca dbms: checking replication delays: development [#METR-17573]. 2015-11-05 23:08:18 +03:00
Alexey Milovidov
e29df2814c dbms: checking replication delays [#METR-17573]. 2015-11-05 22:44:19 +03:00
Alexey Milovidov
11447a4e1a dbms: accurate checking of replication delays (incomplete) [#METR-17573]. 2015-11-05 20:38:24 +03:00
Alexey Milovidov
213a6dedbd dbms: probably fixed error [#METR-18611]. 2015-11-02 22:19:29 +03:00
Alexey Arno
3c115c4dbe dbms: Server: Compilation fix. [#METR-16213] 2015-11-02 13:53:40 +03:00
Alexey Milovidov
c9a8f19def dbms: fixed error with tuples of consts [#METR-18586]. 2015-10-29 00:21:18 +03:00
Alexey Milovidov
400588148c dbms: fixed error in PKCondition [#METR-18585]. 2015-10-29 00:00:44 +03:00
Andrey Mironov
d2188a1183 dbms: alter: allow altering between any default types. [#METR-18221]
add commentary about altering to FixedString(N) columns with existing files
2015-10-21 17:54:13 +03:00
Andrey Mironov
8242d24d1d dbms: fix alters involving FixedString columns and defaults [#METR-18221] 2015-10-21 17:54:13 +03:00
Alexey Arno
2660fbaa21 dbms: Server: merged branch METR-16213 into master 2015-10-20 17:59:29 +03:00
Andrey Mironov
4195842841 dbms: add ext::identity and ext::collection_cast, use in ITableDeclaration 2015-10-16 14:44:44 +03:00
Andrey Mironov
3b879c444d dbms: simplify ITableDeclaration::getColumnsList 2015-10-15 20:58:28 +03:00
Andrey Mironov
b0d70b6753 dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further 2015-10-15 20:51:23 +03:00
Andrey Mironov
ecf917de65 dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further 2015-10-15 19:50:10 +03:00
Alexey Arno
5f17c9d55d Merge 2015-10-12 17:53:16 +03:00
Alexey Milovidov
bb283e6602 dbms: added support for different numeric types in function has [#METR-18382]. 2015-10-12 10:05:54 +03:00
Alexey Milovidov
0a7b4dd536 dbms: fixed little error [#METR-16457]. 2015-10-08 23:01:09 +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
f90c3003ea Moved files [#METR-17973]. 2015-10-05 04:11:12 +03:00
Alexey Milovidov
4a061b97cb Moved file [#METR-17973]. 2015-10-05 03:44:40 +03:00
Alexey Milovidov
fefd3791f1 Moved files [#METR-17973]. 2015-10-05 03:33:43 +03:00
Alexey Milovidov
733324645f dbms: aggregation by arrays: preparation [#METR-13168]. 2015-10-04 06:17:36 +03:00
Alexey Milovidov
f356545bbe dbms: allowed DROP/DETACH partition on non-leader [#METR-17573]. 2015-10-03 00:28:19 +03:00
Alexey Milovidov
b8c8662457 dbms: preparation [#METR-18167]. 2015-10-02 21:33:46 +03:00
Alexey Milovidov
d339ad0048 Merge 2015-10-01 06:30:50 +03:00
Alexey Milovidov
1f6def094f dbms: fixed build [#METR-18202]. 2015-09-29 22:19:54 +03:00
Alexey Milovidov
003cc854fd dbms: changed 'at most' to 'at least' for rows to read when specifying absolute SAMPLE size [#METRIKASUPP-5748]. 2015-09-28 22:10:07 +03:00
Alexey Milovidov
932a09ad6e dbms: fixed race condition in ATTACH [#METR-17573]. 2015-09-27 17:22:23 +03:00
Alexey Milovidov
e96705ed44 dbms: fixed error [#METR-16779]. 2015-09-27 16:45:20 +03:00
Alexey Milovidov
88f8d02ae7 dbms: fixed error [#METR-16779]. 2015-09-27 16:35:14 +03:00
Alexey Milovidov
9a4a46af9b dbms: fixed error [#METR-16779]. 2015-09-27 16:03:41 +03:00
Alexey Milovidov
1a2f063fc8 dbms: addition to prev. revision [#METR-16779]. 2015-09-27 15:52:58 +03:00
Alexey Milovidov
9025f88561 dbms: fixed error [#METR-18061]. 2015-09-27 15:34:32 +03:00
Alexey Milovidov
87e1e69ff6 dbms: allowed to write block again after failed quorum write [#METR-16779]. 2015-09-27 13:45:49 +03:00
Alexey Milovidov
3979b2aa49 dbms: don't use unreplicated data if there are no parts [#METR-18198]. 2015-09-27 10:11:00 +03:00
Andrey Mironov
07a3ea8eb1 Merge 2015-09-25 16:39:13 +03:00
Alexey Milovidov
093a8b12a7 dbms: added 'max_network_bytes' setting [#METR-18186]. 2015-09-25 15:52:47 +03:00
Alexey Milovidov
d86761f504 dbms: fixed error with 'max_concurrent_queries_for_user' setting in distributed queries [#METR-17965]. 2015-09-25 15:47:33 +03:00
Andrey Mironov
efc1f35c21 dbms: fix reverse order of ranges for FINAL with merge_tree_uniform_read_distribution = 1 [#METR-16457] 2015-09-25 14:35:58 +03:00
Alexey Milovidov
1a16709162 dbms: fixed error [#METR-18170]. 2015-09-25 10:51:00 +03:00
Alexey Milovidov
c757bf9063 dbms: setting thread names [#METR-2944]. 2015-09-24 21:54:21 +03:00
Alexey Arno
19bc3181f2 Merge 2015-09-24 15:40:36 +03:00
Alexey Milovidov
fb654a1255 Merge 2015-09-24 10:39:47 +03:00
Alexey Milovidov
07b34aa432 dbms: fixed build [#METR-2944]. 2015-09-24 10:03:20 +03:00
Alexey Milovidov
a3e706ead8 dbms: fixed error [#METR-18167]. 2015-09-24 09:20:50 +03:00
Alexey Milovidov
3d817fe625 dbms: lowered data size in ZK [#METR-18170]. 2015-09-24 08:47:17 +03:00
Alexey Milovidov
6fc99c48e1 dbms: better [#METR-2944]. 2015-09-24 07:52:02 +03:00
Alexey Milovidov
1481d7f293 dbms: specifying port to send queries in ZK [#METR-18167]. 2015-09-24 07:50:53 +03:00
Alexey Milovidov
7784606c6a dbms: addition to prev. revision [#METR-2944]. 2015-09-24 07:14:35 +03:00
Alexey Milovidov
a531680a92 dbms: removed most of log messages 'all_data_parts is locked' [#METR-2944]. 2015-09-24 07:13:06 +03:00
Alexey Milovidov
75a16854db dbms: moved files [#METR-2944]. 2015-09-24 06:50:09 +03:00
Alexey Milovidov
dc209def73 dbms: table system.replication_queue: development [#METR-18061]. 2015-09-24 04:18:25 +03:00
Alexey Milovidov
f8d94fcbd9 dbms: just-written parts does not participate in sanity check [#METR-18169]. 2015-09-24 04:17:10 +03:00
Alexey Milovidov
a840af70ab dbms: addition to prev. revision [#METR-18061]. 2015-09-24 03:31:47 +03:00
Alexey Milovidov
6af8215af5 dbms: added table system.replication_queue [#METR-18061]. 2015-09-24 03:21:02 +03:00
Alexey Milovidov
0f8b651fe8 dbms: fixing error with 'nonincrement_block_numbers' [#METR-18139]. 2015-09-23 05:39:07 +03:00
Alexey Milovidov
926a661e38 Merge 2015-09-22 01:44:18 +03:00
Alexey Milovidov
c89541646c dbms: instrumenting replication queue [#METR-18061]. 2015-09-22 01:43:38 +03:00
Alexey Milovidov
5df201add2 dbms: clarification [#METR-2944]. 2015-09-22 01:33:20 +03:00
Alexey Milovidov
4e28608077 dbms: fixed error [#METR-16779]. 2015-09-21 21:47:46 +03:00
Andrey Mironov
244eabb54b dbms: allow moving primary key columns to PREWHERE if the can't be used by PKCondition [#METR-18063] 2015-09-21 15:13:11 +03:00
Alexey Milovidov
726443131b dbms: addition to prev. revision [#METR-16779]. 2015-09-20 15:25:10 +03:00
Alexey Milovidov
4047e4ed5b dbms: tiny modification [#METR-2944]. 2015-09-20 14:56:14 +03:00
Alexey Milovidov
6571769d3b dbms: added setting 'select_sequential_consistency' [#METR-16779]. 2015-09-20 14:54:58 +03:00
Alexey Milovidov
3b5a3e7325 dbms: quorum insert: development [#METR-16779]. 2015-09-20 14:02:59 +03:00
Alexey Milovidov
dcf40ef7c8 dbms: addition [#METR-17573]. 2015-09-20 09:40:17 +03:00
Alexey Milovidov
a78ac9c6ee dbms: addition to prev. revision [#METR-18099]. 2015-09-20 09:35:28 +03:00
Alexey Milovidov
b14bbf3928 Merge 2015-09-20 09:31:19 +03:00
Alexey Milovidov
227b41b0eb dbms: set queue entry time when cloning replica or repairing missing or damaged parts [#METR-18085]. 2015-09-20 08:50:15 +03:00
Alexey Milovidov
615181b3a6 dbms: added last_queue_update column to system.replicas table; clarifications [#METR-17573]. 2015-09-20 08:21:43 +03:00
Alexey Milovidov
3ea789e23f dbms: fixed log message [#METR-2944]. 2015-09-19 11:19:25 +03:00
Alexey Milovidov
b068913aeb dbms: removed bogus messages from error log; improved diagnostics; extended system.replicas table [#METR-17573]. 2015-09-19 08:56:40 +03:00
Alexey Arno
1cae6e8b54 Merge 2015-09-18 16:36:10 +03:00
Alexey Milovidov
a53f7473d3 dbms: removed misleading error messages about canceled merges [#METR-18087]. 2015-09-18 09:39:39 +03:00
Alexey Milovidov
7a7a2ac6e0 dbms: attempt to fix an error (incomplete) [#METR-17286]. 2015-09-18 00:31:26 +03:00
Alexey Milovidov
10b86afd3c dbms: saving create time for log entries in ZK [#METR-18085]. 2015-09-18 00:30:43 +03:00
Alexey Milovidov
b0b44b1565 dbms: removing old queue entries: continue development [#METR-18035]. 2015-09-17 00:12:59 +03:00
Alexey Milovidov
13112cc66e dbms: better [#METR-18035]. 2015-09-16 23:40:01 +03:00
Alexey Milovidov
cf7d220f10 dbms: fixed error [#METR-18035]. 2015-09-16 23:38:50 +03:00
Andrey Mironov
b3db6a06fc dbms: fix for non-final select just in case [#METR-16457] 2015-09-16 15:15:25 +03:00
Andrey Mironov
55087bddc7 dbms: fix segfault when SELECT FINAL selects zero parts[#METR-16457] 2015-09-16 14:49:09 +03:00
Alexey Milovidov
fa0e61086f dbms: removed bad code [#METR-17988]. 2015-09-16 08:09:58 +03:00
Alexey Milovidov
200742d632 Merge 2015-09-16 07:18:52 +03:00
Alexey Milovidov
d51404633b dbms: fixed error [#METR-16457]. 2015-09-16 07:18:16 +03:00
Alexey Milovidov
d829d9fe10 dbms: clearing impossible queue entries: development [#METR-18035]. 2015-09-15 04:55:22 +03:00
Alexey Milovidov
23a11f19c7 dbms: clearing impossible entries from replication queue [#METR-18035]. 2015-09-15 04:20:40 +03:00
Alexey Milovidov
0743a87ebd dbms: clearing impossible entries from replication queue [#METR-18035]. 2015-09-15 01:45:19 +03:00
Alexey Milovidov
15a6ac31f4 dbms: quorum inserts: development [#METR-16779]. 2015-09-11 05:51:35 +03:00
Alexey Milovidov
d53f173478 dbms: quorum inserts: development [#METR-16779]. 2015-09-11 05:13:59 +03:00
Alexey Milovidov
a26a43fcc0 dbms: quorum inserts: development [#METR-16779]. 2015-09-10 23:43:42 +03:00
Alexey Milovidov
ec2151e646 dbms: removing deduplicated parts immediately [#METR-17988]. 2015-09-09 22:03:46 +03:00
Alexey Milovidov
f6cfc72000 dbms: addition to prev. revision [#METR-16779]. 2015-09-09 21:34:58 +03:00
Alexey Milovidov
aaa70348af dbms: quorum inserts: development [#METR-16779]. 2015-09-09 21:15:36 +03:00
Alexey Milovidov
66b130a2e5 dbms: implemented method 'pull' for GLOBAL subqueries [#METR-17758]. 2015-09-05 04:22:09 +03:00
Alexey Milovidov
767a3c8090 dbms: fixed error with WITH TOTALS in subquery with distributed table with one shard and LIMIT [#METR-17561]. 2015-09-04 22:40:55 +03:00
Andrey Mironov
40026a8e7b Merge 2015-09-03 16:30:50 +03:00
Andrey Mironov
11857853a4 Merge 2015-09-03 12:20:04 +03:00
Alexey Milovidov
57c03c0dce dbms: whitespace [#METR-17552]. 2015-09-02 22:58:29 +03:00
Alexey Milovidov
f46326c4e8 dbms: StorageBuffer: better [#METR-17889]. 2015-09-02 20:47:29 +03:00
Andrey Mironov
959d66cfa4 dbms: use actual settings [#METR-16457] 2015-09-02 14:15:16 +03:00
Alexey Milovidov
dab47ec36d dbms: fixed error with StorageBuffer [#METR-17889]. 2015-09-02 00:48:38 +03:00
Andrey Mironov
ef356f9267 Merge 2015-09-01 19:09:12 +03:00
Andrey Mironov
b2fa52394b dbms: support final with new code [#METR-16457] 2015-09-01 15:24:38 +03:00
Andrey Mironov
84d24ae336 merge branch 'master' 2015-08-31 18:50:06 +03:00
Alexey Milovidov
5374c2a927 dbms: removed random shuffling of data parts on SELECT [#METR-17757]. 2015-08-19 21:35:02 +03:00
Andrey Mironov
4bdecf9c29 dbms: print detailed exception text in system.dictionaries.last_exception [#METR-17487] 2015-08-19 16:19:37 +03:00
Alexey Milovidov
f1655cc62f Merge 2015-08-18 00:09:36 +03:00
Alexey Milovidov
5011e4d581 dbms: added StripeLog engine [#METR-17716]. 2015-08-16 11:18:34 +03:00
Alexey Milovidov
469b409ba0 dbms: added storage StripeLog (incomplete) [#METR-17716]. 2015-08-16 10:01:41 +03:00
Alexey Milovidov
cf4a0e85ef dbms: lowered memory usage for INSERT [#METR-17704]. 2015-08-14 05:45:40 +03:00
Alexey Milovidov
38d6128150 dbms: added column sizes to system.columns table [#METR-17475]. 2015-07-26 14:34:41 +03:00
Andrey Mironov
28d333adff Merge 2015-07-23 20:54:07 +03:00
Andrey Mironov
defba956d9 Merge 2015-07-23 16:11:27 +03:00
Alexey Milovidov
8d5cd69bb2 dbms: fixed exception message [#METR-2944]. 2015-07-17 21:11:10 +03:00
Alexey Milovidov
c0e029bb1b dbms: renamed ColumnWithNameAndType to ColumnWithTypeAndName for clarification [#METR-2944]. 2015-07-17 04:27:35 +03:00
Alexey Milovidov
71f64f2d49 Merge 2015-07-17 00:32:51 +03:00
Alexey Milovidov
41faaed60e dbms: addition to prev. revision [#METR-17305]. 2015-07-17 00:08:50 +03:00
Alexey Milovidov
791cc23dd6 dbms: addition to prev. revision [#METR-17305]. 2015-07-17 00:06:45 +03:00
Alexey Milovidov
52847e6591 Merge 2015-07-17 00:03:53 +03:00
Alexey Milovidov
c9689b255d dbms: system.replicas: added columns 'inserts_oldest_time' and 'merges_oldest_time' [#METR-17306].. 2015-07-16 22:11:59 +03:00
Alexey Milovidov
efdc07a1da Merge 2015-07-16 21:13:58 +03:00
Alexey Arno
5dcda93405 dbms: Server: Fixed unsigned int overflow issues. Updated functional test. [#METR-16435] 2015-07-16 16:01:49 +03:00
Alexey Milovidov
ba7b7dd52d dbms: fixed race condition in storage Chunks [#METR-17327]. 2015-07-15 23:40:19 +03:00
Alexey Milovidov
1f03f17a49 dbms: passing proper Context to subqueries analyzer in PREWHERE [#METR-17231]. 2015-07-15 07:50:48 +03:00
Alexey Milovidov
226731128b dbms: get rid of columns inside Context [#METR-15553]. 2015-07-15 04:26:35 +03:00
Andrey Mironov
874f665ffd Merge 2015-07-14 16:11:38 +03:00
Alexey Milovidov
52bab67d5f Merge 2015-07-14 03:48:34 +03:00
Andrey Mironov
f92714712f dbms: extract IDictionaryBase, fix devirtualization. [#METR-17111] 2015-07-13 20:11:17 +03:00
Alexey Arno
231588919f Merge 2015-07-13 14:45:59 +03:00
Alexey Milovidov
c449820a13 dbms: addition to prev. revision [#METR-16999]. 2015-07-08 17:22:31 +03:00
Alexey Milovidov
af0070c16b Merge 2015-07-08 07:38:46 +03:00
Alexey Arno
992e7dc7a5 Merge 2015-07-08 02:11:30 +03:00
Andrey Mironov
a5bfc70920 Merge 2015-07-07 18:30:10 +03:00
Alexey Arno
1d9066bb8a Merge 2015-07-03 16:04:03 +03:00
Alexey Milovidov
efddabd212 Merge 2015-07-01 23:42:42 +03:00
Alexey Milovidov
d71b7ca1b0 dbms: better diagnostics [#METR-12542]. 2015-07-01 23:14:23 +03:00
Alexey Arno
072d110f67 Merge 2015-07-01 20:33:00 +03:00
Andrey Mironov
85d2dbcd76 Merge 2015-06-29 13:49:24 +03:00
Alexey Milovidov
efc741efb0 dbms: added setting 'distributed_group_by_no_merge' [#METR-17060]. 2015-06-28 09:48:42 +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
Andrey Mironov
a9d16d8a9f Merge 2015-06-26 13:52:20 +03:00
Andrey Mironov
9dd999708c Merge 2015-06-25 16:03:46 +03:00
Alexey Milovidov
4ecc523ea5 dbms: fixed error with using comparison of Date or DateTime with constant string in index [#METR-2944]. 2015-06-25 00:24:06 +03:00
Andrey Mironov
aa7fe63962 dbms: temporarily add merge_tree_uniform_read_distribution setting. [#METR-16457] 2015-06-24 16:22:31 +03:00
Andrey Mironov
b18764404a Merge 2015-06-24 14:03:53 +03:00
Alexey Milovidov
7f2fddeed2 dbms: fixed error in materialized views after refactoring [#METR-16945]. 2015-06-23 02:17:49 +03:00
Andrey Mironov
f012d95b7a dbms: implement alter table detach unreplicated partition [#MTRSADMIN-1093] 2015-06-22 21:24:02 +03:00
Andrey Mironov
be68461fc6 dbms: correctly determine mark to end of previous block [#MTRSADMIN-1093] 2015-06-22 21:24:02 +03:00
Andrey Mironov
978aba0f4c Merge 2015-06-22 21:24:02 +03:00
Alexey Milovidov
6f3d8f0efc dbms: added simple priorities system [#METR-16911]. 2015-06-21 09:06:04 +03:00
Alexey Milovidov
0719320758 dbms: improvement [#METR-2944]. 2015-06-18 05:11:05 +03:00
Alexey Milovidov
7f0e6fd3c1 Merge 2015-06-11 03:35:36 +03:00
Alexey Milovidov
18a8e1f0ca dbms: StorageBuffer: added missing support for defaults [#METR-16722]. 2015-06-09 22:43:06 +03:00
Alexey Milovidov
c94bd2fc09 dbms: removed useless code [#METR-16739]. 2015-06-08 23:22:02 +03:00
Alexey Milovidov
cac3ce7e27 dbms: allowed more easily to specify cluster name with hyphens [#METR-16610]. 2015-06-05 23:04:54 +03:00
Alexey Milovidov
4899dd47aa dbms: get rid of 'increment.txt': addition [#METR-16629]. 2015-06-05 19:41:18 +03:00
Alexey Milovidov
05814604de dbms: fixed error with ATTACH for replicated tables [#MTRSADMIN-1093]. 2015-06-04 05:07:30 +03:00
Alexey Milovidov
027342ec5a Merge 2015-06-03 06:56:40 +03:00
Alexey Milovidov
9c78e95702 dbms: addition to prev. revision [#METR-16629]. 2015-06-03 00:24:41 +03:00
Alexey Milovidov
76bfd2af21 dbms: addition to prev. revision [#METR-16629]. 2015-06-03 00:08:12 +03:00
Alexey Milovidov
c19193cf61 Merge 2015-06-02 23:22:53 +03:00
Alexey Milovidov
5752d8f561 dbms: removing obsolete parts [#METR-16629]. 2015-06-02 23:21:03 +03:00
Alexey Milovidov
3786513a3c dbms: fixing error [#METR-16575]. 2015-05-29 00:41:28 +03:00
Alexey Milovidov
40f0a9c4d9 dbms: fixed error with false-broken parts [#METR-16545]. 2015-05-28 07:32:38 +03:00
Alexey Milovidov
0984363b9c dbms: removed passing DataTypeFactory everywhere [#METR-16545]. 2015-05-28 06:49:28 +03:00
Andrey Mironov
31b868184d dbms: show all dictionaries in system.dictionaries, even the ones failed to load. [#METR-16466] 2015-05-26 14:54:05 +03:00
Alexey Arno
28822deffb dbms: Server: Fixed computation overflow issue. [#METR-16435] 2015-05-26 13:00:17 +03:00
Alexey Milovidov
baaf5d0485 dbms: allowed to JOIN with empty table [#METR-16476]. 2015-05-26 03:37:48 +03:00
Andrey Mironov
fb2828f256 Merge 2015-05-20 15:06:48 +03:00
Alexey Milovidov
2b762c7aa9 dbms: fixed error with StorageBuffer when destination table doesn't exist [#METR-16352]. 2015-05-18 23:28:40 +03:00
Alexey Milovidov
df8eefd79e dbms: tiny fixes [#METR-16266]. 2015-05-16 11:33:32 +03:00
Andrey Mironov
2c58c9ea50 dbms: add system.dictionaries.query_count field [#METR-
15569]
2015-05-08 15:31:34 +03:00
Alexey Milovidov
c57063be27 Merge 2015-05-07 02:35:54 +03:00
Alexey Milovidov
a5afb7a863 dbms: cut dependency [#METR-2944]. 2015-05-07 02:35:37 +03:00
Alexey Milovidov
cebe87f321 Merge 2015-05-05 21:22:59 +03:00
Alexey Arno
6a3c429bf3 dbms: Server: Removed unneeded code. [#METR-15859] 2015-05-05 13:45:45 +03:00
Alexey Arno
550d5e9e7a dbms: Server: Fixed hostname + IP address presentation. [#METR-15859] 2015-05-05 13:13:45 +03:00