Commit Graph

941 Commits

Author SHA1 Message Date
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
82a96d22b1 dbms: tracking replicas delays [#METR-17573]. 2016-01-17 16:00:42 +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
70506f7246 dbms: porting to aarch64 [#METR-19609]. 2016-01-14 05:10:39 +03:00
Alexey Milovidov
d8e6b1dcf1 dbms: fixed error in prev. revision [#METR-19586]. 2016-01-13 05:36:11 +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
6c712c1e7f dbms: improved performance of inserting into Distributed table [#METR-19595]. 2016-01-06 19:00:30 +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
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
Alexey Milovidov
f1f3619df4 dbms: cancelling fetching of parts on table shutdown [#METR-19544]. 2015-12-25 00:28:18 +03:00
Alexey Milovidov
c7b9b29325 dbms: almost surely fixed error [#METR-19369]. 2015-12-21 23:17:24 +03:00
Alexey Milovidov
7f74a32c80 dbms: little more correct [#METR-17579]. 2015-12-13 10:03:30 +03:00
Alexey Milovidov
34236c3913 dbms: addition to prev. revision [#METR-17579]. 2015-12-13 10:00:43 +03:00
Alexey Milovidov
28c63f20f6 dbms: addition to prev. revision [#METR-17579]. 2015-12-13 09:56:00 +03:00
Alexey Milovidov
2aeb48be2d dbms: added backoff on slow reads [#METR-17579]. 2015-12-13 07:52:13 +03:00
Alexey Milovidov
db8d82f13e dbms: Buffer: better [#METR-19249]. 2015-12-09 09:55:49 +03:00
Alexey Milovidov
e348105481 dbms: get rid of bad idea [#METR-19056]. 2015-12-09 07:06:44 +03:00
Alexey Milovidov
7fa1a57165 dbms: fixed excessive memory allocation when splitting single-level block in Aggregator [#METR-17000]. 2015-12-05 10:01:18 +03:00
Alexey Milovidov
ec34b0bdcf dbms: more simple [#METR-19056]. 2015-12-03 08:29:08 +03:00
Alexey Milovidov
2755e90b15 dbms: fixed not-an-error [#METR-19056]. 2015-12-03 08:18:22 +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
09dd253636 dbms: added support for SAMPLE ... OFFSET [#METR-18847]. 2015-11-19 00:37:28 +03:00
Alexey Milovidov
e78ed9f802 dbms: replication delays: development [#METR-17573]. 2015-11-09 23:30:54 +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
400588148c dbms: fixed error in PKCondition [#METR-18585]. 2015-10-29 00:00:44 +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
b0d70b6753 dbms: ITableDeclaration::getColumnsListIterator: simplify awesome code even further 2015-10-15 20:51:23 +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
Andrey Mironov
d5caf72ca7 Merge 2015-10-09 17:52:45 +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
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
1f6def094f dbms: fixed build [#METR-18202]. 2015-09-29 22:19:54 +03:00
Alexey Milovidov
d496f6cd4e dbms: get rid of boost::property_tree [#METR-18202]. 2015-09-29 03:53:10 +03:00
Alexey Milovidov
932a09ad6e dbms: fixed race condition in ATTACH [#METR-17573]. 2015-09-27 17:22:23 +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
6e3394496f dbms: don't move conditions of type PKColumn IN (subquery) to PREWHERE [#METR-18198]. 2015-09-27 09:50:36 +03:00
Andrey Mironov
07a3ea8eb1 Merge 2015-09-25 16:39:13 +03:00
Andrey Mironov
a5bf937335 Merge 2015-09-25 16:39:13 +03:00
Andrey Mironov
bd57afb76c dbms: stop reading from parts without PREWHERE prematurely by calling isCancelled() [#METR-16457] 2015-09-25 16:39:13 +03:00
Alexey Milovidov
c757bf9063 dbms: setting thread names [#METR-2944]. 2015-09-24 21:54:21 +03:00
Alexey Milovidov
3d817fe625 dbms: lowered data size in ZK [#METR-18170]. 2015-09-24 08:47:17 +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
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
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
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
615181b3a6 dbms: added last_queue_update column to system.replicas table; clarifications [#METR-17573]. 2015-09-20 08:21:43 +03:00
Alexey Milovidov
c89b063288 dbms: fixed deadlock on shutdown [#METR-18098]. 2015-09-20 07:03:53 +03:00
Alexey Milovidov
75ea48970c dbms: BackgroundProcessingPool: attempt to fix an error [#METR-18098]. 2015-09-19 10:55:01 +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
Andrey Mironov
38ae453855 Merge 2015-09-18 15:40:09 +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
5884a7b536 dbms: doing synchronous merges non-aggressively [#METR-18006]. 2015-09-18 03:48:48 +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
7dfc436c83 dbms: fixed error with renaming unexpected parts [#METR-18009]. 2015-09-16 22:25:49 +03:00
Andrey Mironov
7b149be2c6 Merge 2015-09-16 20:49:08 +03:00
Andrey Mironov
9716ef7b34 Merge 2015-09-16 18:27:30 +03:00
Andrey Mironov
5ffd4898e8 Merge 2015-09-16 17:33:58 +03:00
Andrey Mironov
b6449b00f0 dbms: fix read order with merge_tree_uniform_read_distribution to be consistent with old method [#METR-16457] [#METR-18009] 2015-09-16 16:14:45 +03:00
Alexey Milovidov
fa0e61086f dbms: removed bad code [#METR-17988]. 2015-09-16 08:09:58 +03:00
Alexey Milovidov
d51404633b dbms: fixed error [#METR-16457]. 2015-09-16 07:18:16 +03:00
Alexey Milovidov
94d6d70310 Revert "dbms: fix filter size mismatch with size of column [#METR-18009]"
This reverts commit a8da5e498cd9744189c9600d062e82a6fd334609.
2015-09-16 05:02:22 +03:00
Andrey Mironov
0922693bf0 dbms: fix filter size mismatch with size of column [#METR-18009] 2015-09-15 20:45:39 +03:00
Alexey Milovidov
23a11f19c7 dbms: clearing impossible entries from replication queue [#METR-18035]. 2015-09-15 04:20:40 +03:00
Andrey Mironov
2318e27485 Merge 2015-09-14 23:03:54 +03:00
Andrey Mironov
739a3dae8b Merge 2015-09-11 18:11:41 +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
3b6ef8b28c dbms: quorum inserts: development [#METR-16779]. 2015-09-11 00:32:33 +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
53967b5c85 Merge 2015-09-09 21:16:09 +03:00
Alexey Milovidov
aaa70348af dbms: quorum inserts: development [#METR-16779]. 2015-09-09 21:15:36 +03:00
Andrey Mironov
5caf4e401f dbms: style corrections and comments [#METR-16457] 2015-09-09 20:46:56 +03:00
Alexey Milovidov
e82e19ee75 dbms: pull scheme for GLOBAL subqueries: development: added ability to SELECT from temporary tables of another query [#METR-17758]. 2015-09-04 23:52:00 +03:00
Andrey Mironov
40026a8e7b Merge 2015-09-03 16:30:50 +03:00
Andrey Mironov
e8111d7e07 Merge 2015-09-03 15:07:46 +03:00
Andrey Mironov
5ca53c8b10 Merge 2015-09-03 12:17:25 +03:00
Alexey Milovidov
df90e447fb dbms: increased limit for max_suspicious_broken_parts [#METR-17811]. 2015-09-02 22:39:19 +03:00
Andrey Mironov
9cc9cb241f Merge 2015-09-02 20:11:47 +03:00
Andrey Mironov
6b642e8749 dbms: round subtask size up to multiple of max_block_size [#METR-16457] 2015-09-02 19:09:32 +03:00
Andrey Mironov
288f46936a Merge 2015-09-02 18:48:10 +03:00
Andrey Mironov
70ec50316e Merge 2015-09-02 18:32:17 +03:00
Andrey Mironov
959d66cfa4 dbms: use actual settings [#METR-16457] 2015-09-02 14:15:16 +03:00
Andrey Mironov
ef356f9267 Merge 2015-09-01 19:09:12 +03:00
Andrey Mironov
cbe8fb0b67 Merge 2015-09-01 17:15:07 +03:00
Andrey Mironov
b2fa52394b dbms: support final with new code [#METR-16457] 2015-09-01 15:24:38 +03:00
Andrey Mironov
bc5007fc36 Merge 2015-08-31 23:22:06 +03:00
Andrey Mironov
7b818fe243 dbms: somehow fix memory corruption [#METR-16457] 2015-08-31 22:14:45 +03:00
Andrey Mironov
77a0a22de6 dbms: existing_memory support for ReadBufferAIO.cpp 2015-08-31 19:49:09 +03:00
Andrey Mironov
84d24ae336 merge branch 'master' 2015-08-31 18:50:06 +03:00
Andrey Mironov
fbfaa83b1a Merge 2015-08-25 13:25:45 +03:00
Alexey Milovidov
276ca03bc2 dbms: fixed error [#METR-17745]. 2015-08-18 18:20:38 +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
325d73ea39 dbms: addition to prev. revision [#METR-17704]. 2015-08-14 06:41:31 +03:00
Alexey Milovidov
f11f0271e3 dbms: addition to prev. revision [#METR-17704]. 2015-08-14 06:27:32 +03:00
Alexey Milovidov
cf4a0e85ef dbms: lowered memory usage for INSERT [#METR-17704]. 2015-08-14 05:45:40 +03:00
Alexey Milovidov
bc6598371c dbms: fixed comment [#METR-2944]. 2015-07-27 16:36:22 +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
9fea075cb0 Merge 2015-07-24 17:46:29 +03:00
Andrey Mironov
28d333adff Merge 2015-07-23 20:54:07 +03:00
Andrey Mironov
9a54c18a8d Merge 2015-07-23 16:37:09 +03:00
Andrey Mironov
defba956d9 Merge 2015-07-23 16:11:27 +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
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 Milovidov
ba7b7dd52d dbms: fixed race condition in storage Chunks [#METR-17327]. 2015-07-15 23:40:19 +03:00
Alexey Milovidov
583dd33ed0 dbms: disabled moving to PREWHERE expressions with GLOBAL IN [#METR-17231]. 2015-07-15 08:07:00 +03:00
Alexey Milovidov
1f03f17a49 dbms: passing proper Context to subqueries analyzer in PREWHERE [#METR-17231]. 2015-07-15 07:50:48 +03:00
Andrey Mironov
a27057d4b9 Merge 2015-07-08 20:59:44 +03:00
Alexey Milovidov
af0070c16b Merge 2015-07-08 07:38:46 +03:00
Andrey Mironov
a5bfc70920 Merge 2015-07-07 18:30:10 +03:00
Andrey Mironov
85d2dbcd76 Merge 2015-06-29 13:49:24 +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
54d5517757 Merge 2015-06-24 20:05:40 +03:00
Andrey Mironov
b18764404a Merge 2015-06-24 14:03:53 +03:00
Andrey Mironov
f012d95b7a dbms: implement alter table detach unreplicated partition [#MTRSADMIN-1093] 2015-06-22 21:24:02 +03:00
Andrey Mironov
2ba22a4a8a dbms: ActiveDataPartSet::level no longer participates in ::contains and ::operator<. 2015-06-22 21:24:02 +03:00
Alexey Milovidov
7f0e6fd3c1 Merge 2015-06-11 03:35:36 +03:00
Andrey Mironov
c4d1887a6f dbms: correctly (I hope) determine PREWHERE dependencies for defaults [#METR-16589] 2015-06-10 17:49:38 +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
Andrey Mironov
432687925c dbms: prevent moving array join-ed columns to PREWHERE. No diagnostic for ExpressionAnalyzer yet though [#METR-16525] 2015-06-08 19:05:44 +03:00