Commit Graph

1746 Commits

Author SHA1 Message Date
Alexey Milovidov
130ec8b58b Compatibility with new parser and AST of tables list [#METR-2944]. 2016-07-22 23:39:28 +03:00
Alexey Arno
beeeb0ab13 dbms: NULL support for MergeTree [#METR-19266] 2016-07-21 19:22:24 +03:00
Alexey Arno
252d7994e7 dbms: cleanup [#METR-19266] 2016-07-19 13:57:57 +03:00
Alexey Arno
d0d1ad3be1 dbms: improvements [#METR-19266] 2016-07-14 15:58:30 +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 Arno
ec30520c89 dbms: improvements [#METR-19266] 2016-07-13 20:05:52 +03:00
Alexey Arno
c336359299 dbms: improvements [#METR-19266] 2016-07-13 20:00:10 +03:00
Alexey Arno
fa9829ad85 dbms: removed unused code [#METR-19266] 2016-07-13 19:49:06 +03:00
Alexey Arno
69948c5865 dbms: added support for null values in StorageLog + fixed long-standing bug in StorageLog (if we called the ClickHouseClient with max_threads=1, SELECT threw an exception if a table was empty) [#METR-19266] 2016-07-13 19:41:19 +03:00
Alexey Arno
0bf5406662 dbms: adding support for nulls in the Log engine [#METR-19266] 2016-07-13 13:45:43 +03:00
Alexey Arno
a15cce69aa dbms: adding support for nulls in the Log engine [#METR-19266] 2016-07-13 13:35:00 +03:00
Alexey Arno
6d753f05e6 dbms: adding support for nulls in the Log engine [#METR-19266] 2016-07-12 21:08:16 +03:00
Alexey Arno
93ac3ee3a8 dbms: Server: Feature development. [#METR-19266] 2016-07-06 18:15:15 +03:00
Alexey Milovidov
5ded454986 Added 'WITH NAME' section to ALTER TABLE ... FREEZE PARTITION query [#METR-21884]. 2016-06-28 23:50:37 +03:00
Alexey Milovidov
b8ca97a891 Added check for constants in primary key [#METR-2944]. 2016-06-21 20:06:12 +03:00
Alexey Milovidov
e8ffd48e49 Loosen safety threshold on amount of ALTER changes [#METR-21615]. 2016-06-06 22:50:30 +03:00
Alexey Milovidov
168ca22435 Fixed error when too long merges cannot be successful [#METR-21616]. 2016-06-06 22:16:34 +03:00
Alexey Milovidov
47898ae73b Disabled implicit moving to PREWHERE when using FINAL [#METR-20644]. 2016-06-06 21:41:28 +03:00
Alexey Milovidov
3e60a95cdd Allowed subqueries in views [#METR-21586]. 2016-06-06 21:19:28 +03:00
Alexey Milovidov
a4a543f1c3 Merge branch 'master' of github.com:yandex/ClickHouse 2016-05-30 21:24:35 +03:00
Alexey Milovidov
d03d19ab57 Updated comment [#METR-2944]. 2016-05-30 21:24:19 +03:00
Alexey Milovidov
7651dcbc0a Fixed error after moving to non-recursive mutex [#METR-21503]. 2016-05-30 04:16:22 +03:00
Alexey Milovidov
c518abe882 Get rid of Poco::SharedPtr [#METR-21503]. 2016-05-28 20:31:50 +03:00
Alexey Milovidov
36efb7063e Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 19:00:04 +03:00
Alexey Milovidov
e336ba10eb Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 18:56:51 +03:00
Alexey Milovidov
9e553dec0a Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 18:54:40 +03:00
Alexey Milovidov
6a51b999da Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 18:50:16 +03:00
Alexey Milovidov
fc65afb6f0 Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 18:46:03 +03:00
Alexey Milovidov
8c4abcdd43 Using std::shared_ptr for functions and AST [#METR-21503]. 2016-05-28 18:42:22 +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
6863e72f3d Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 13:15:36 +03:00
Alexey Milovidov
f9b2cd5ab6 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 11:23:36 +03:00
Alexey Milovidov
61ae4e5547 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 11:15:50 +03:00
Alexey Milovidov
bf71e2ed90 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 11:11:52 +03:00
Alexey Milovidov
be394f2c84 Using std::shared_ptr for data types [#METR-21503]. 2016-05-28 10:48:40 +03:00
Alexey Milovidov
4b7f461e46 Using std::shared_ptr for columns [#METR-21503]. 2016-05-28 08:31:36 +03:00
Alexey Milovidov
f2ccbc9802 Better exception message [#METR-21479]. 2016-05-26 00:35:57 +03:00
Alexey Arno
113dc3e82f dbms: Server: Fixed grammar in a few error messages [#METR-20000] 2016-05-24 19:53:29 +03:00
Vladimir Chebotarev
866c8929e2 dbms, contrib: GCC 6 build fixes [#METR-20000] 2016-05-23 03:41:26 +03:00
Alexey Milovidov
adc850993c Fixed error [#METR-21326]. 2016-05-19 23:58:24 +03:00
Alexey Milovidov
92ca4ab538 Investigating [#METR-21326]. 2016-05-19 23:24:41 +03:00
Alexey Milovidov
5dbed81502 Added comment [#METR-21326]. 2016-05-18 07:03:27 +03:00
Alexey Milovidov
6151fcc3e6 Fixed error [#METR-21326]. 2016-05-18 06:58:23 +03:00
Alexey Milovidov
c4407306d5 Always materialize columns while merge [#METR-21119]. 2016-05-18 05:49:52 +03:00
Alexey Milovidov
8f50b30268 Alter primary key: development [#METR-21119]. 2016-05-18 00:07:10 +03:00
Alexey Milovidov
9a60b90941 Alter primary key: development [#METR-21119]. 2016-05-17 23:11:43 +03:00
Alexey Milovidov
d680a7f8da Alter primary key: development [#METR-21119]. 2016-05-17 04:17:32 +03:00
Alexey Milovidov
bf265e264a Alter primary key: development [#METR-21119]. 2016-05-17 02:04:03 +03:00
Alexey Milovidov
2f1fead382 Merge 2016-05-16 21:47:34 +03:00
Alexey Milovidov
093f69c45d Added support for FINAL and PARTITION specification for OPTIMIZE query [#METR-21326]. 2016-05-16 21:43:38 +03:00
Alexey Milovidov
6942819013 Altering primary key [#METR-21119]. 2016-05-14 00:08:19 +03:00
Alexey Milovidov
e37ffe7c3d Tiny modification [#METR-2944]. 2016-05-13 06:23:23 +03:00
Alexey Milovidov
203cdbe244 Addition [#METR-21287]. 2016-05-13 06:22:53 +03:00
Alexey Milovidov
65de71b5a2 Added table function 'shardByHash' [#METR-21287]. 2016-05-13 06:22:16 +03:00
Alexey Arno
6df8377161 dbms: Server: Modified code so that only column names are considered for table consistency checking. [#METR-18510] 2016-05-11 11:20:51 +03:00
Alexey Milovidov
fcbc9eed88 Fixed error with falsely unexpected parts after merge [#METRIKASUPP-6885]. 2016-05-07 16:42:03 +03:00
Alexey Milovidov
eea75db9fb Modify primary key: development [#METR-21119]. 2016-05-05 21:28:46 +03:00
Alexey Milovidov
4d3b2dd417 Addition [#METR-21159]. 2016-05-04 22:05:42 +03:00
Alexey Milovidov
83df6fdf23 Merge 2016-05-04 22:01:26 +03:00
Alexey Milovidov
37d6b5ae56 Addition to prev. revision [#METR-21048]. 2016-04-25 00:46:14 +03:00
Alexey Milovidov
9ae0277632 Fixed build of test [#METR-21048]. 2016-04-24 22:47:10 +03:00
Alexey Milovidov
e344f3275b Merge 2016-04-24 22:46:37 +03:00
Alexey Milovidov
1fd8914e10 Merge 2016-04-24 13:39:18 +03:00
Alexey Milovidov
07f04d70d3 Merge 2016-04-24 12:44:47 +03:00
Alexey Milovidov
55b580f882 More profile events [#METR-2944]. 2016-04-23 05:39:40 +03:00
Alexey Arno
3d9dc30e8c dbms: Added more fault tolerance [#METR-18510] 2016-04-21 17:58:25 +03:00
Alexey Milovidov
cff1004f04 Lowered batch size in pullLogsToQueue [#METR-21013]. 2016-04-21 00:24:12 +03:00
Alexey Milovidov
c6722da2b2 Merge 2016-04-19 00:38:06 +03:00
Alexey Milovidov
c43b34d3f0 Added function 'indexHint' [#METR-20940]. 2016-04-16 02:10:29 +03:00
Alexey Milovidov
a5d7c41253 Addition [#METR-20644]. 2016-04-15 23:11:03 +03:00
Alexey Milovidov
9f3d9277af Addition to prev. revision [#METR-20644]. 2016-04-15 22:55:07 +03:00
Alexey Milovidov
d6ba48a610 Merge 2016-04-15 22:37:19 +03:00
Alexey Milovidov
2bb5a4749b Merge 2016-04-15 22:09:42 +03:00
Alexey Milovidov
3923c7abce Merge 2016-04-15 20:42:51 +03:00
Alexey Milovidov
d79174b2ce Preparation [#METR-20644]. 2016-04-15 20:13:51 +03:00
Alexey Arno
68f427398d dbms: server: Retry after a timeout issue. [#METR-20825] 2016-04-15 01:00:39 +03:00
Alexey Arno
b884690fbf dbms: server: Bug fix: avoid empty log entries. Also added missing logging. [#METR-20825] 2016-04-14 23:52:16 +03:00
Alexey Arno
1ed2615f7c dbms: Fixed minor issue with logging [#METR-20825] 2016-04-14 19:25:09 +03:00
Alexey Arno
35e16aed04 dbms: Bug fix: under certain circumstances, ClickHouse would fail to attach a partition whose name coincides with the name of another partition that was previously dropped [#METR-20825] 2016-04-14 19:21:17 +03:00
Alexey Milovidov
b1ee71c026 Fixed build [#METR-2944]. 2016-04-13 23:46:11 +03:00
Alexey Milovidov
8b9cf82c6c More checking [#METR-12588]. 2016-04-13 07:48:41 +03:00
Alexey Milovidov
8b346c7f43 Fixed build of tests [#METR-2944]. 2016-04-11 00:50:36 +03:00
Alexey Milovidov
edc561d6b5 Fixed error [#METR-20803]. 2016-04-10 03:28:44 +03:00
Alexey Milovidov
0b7a474beb Better exception message [#METR-20817]. 2016-04-09 08:45:42 +03:00
Alexey Milovidov
2a85a1d266 Added setting 'replicated_alter_columns_timeout' [#METR-20816]. 2016-04-09 08:43:55 +03:00
Alexey Milovidov
11df87ea54 Merge 2016-04-09 07:22:11 +03:00
Alexey Milovidov
d0365e9501 Separated code for checking parts [#METR-20803]. 2016-04-09 06:50:02 +03:00
Alexey Milovidov
8a14cdc966 Fixed error [#METR-20803]. 2016-04-09 05:29:15 +03:00
Alexey Milovidov
86e19f1e87 Merge 2016-04-08 00:35:42 +03:00
Alexey Milovidov
f0844ecb66 Attempt to fix an error [#METR-20803]. 2016-04-08 00:35:01 +03:00
Alexey Arno
2a23271645 dbms: fixed typo that led to a bug [#METR-18510] 2016-04-06 18:08:28 +03:00
Alexey Milovidov
b0e9fd6da3 Improved exception message [#METR-20762]. 2016-04-06 03:31:22 +03:00
Alexey Milovidov
3973277936 Allowed to modify 'max_files_to_modify_in_alter_columns' [#METR-20763]. 2016-04-05 21:18:16 +03:00
Alexey Milovidov
6e75a1d1c0 Cloud databases: development [#METR-19998]. 2016-04-05 00:41:16 +03:00
Alexey Milovidov
f2edb5d1fb Attempt to fix an error with yielding leadership [#METR-20691]. 2016-04-03 00:22:39 +03:00
Alexey Milovidov
eb5d905600 Added support for using index for LIKE expressions with fixed prefix [#METR-20706]. 2016-04-03 00:19:58 +03:00
Alexey Milovidov
60252fed27 Removed old code as promised [#METR-2944]. 2016-04-01 19:47:25 +03:00
Alexey Milovidov
f41bba57a5 Better [#METR-20691]. 2016-04-01 02:49:31 +03:00
Alexey Milovidov
4f597ed7c3 Fixed error [#METR-20679]. 2016-03-31 20:42:57 +03:00
Alexey Milovidov
ba3f35f83c Merge 2016-03-31 15:21:57 +03:00
Alexey Milovidov
f7bb03e417 Modified comment [#METR-20659]. 2016-03-31 15:21:26 +03:00
Alexey Milovidov
e1a80f5ded Added support for case when merged data differs from data on another replicas [#METR-20670]. 2016-03-31 04:25:16 +03:00
Alexey Milovidov
2501af25e8 Cancelling checking parts on shutdown [#METR-20660]. 2016-03-31 03:09:12 +03:00
Alexey Milovidov
a2e7b7c904 Addition to prev. revision [#METR-19997]. 2016-03-30 22:01:33 +03:00
Alexey Milovidov
0e6993b3ea Removed obsolete Chunks and ChunkRef storages [#METR-19997]. 2016-03-30 19:04:53 +03:00
Alexey Milovidov
5c400d5c5c Better [#METR-20659]. 2016-03-30 02:03:15 +03:00
Alexey Milovidov
bcb8e4e92c Attempt to fix an error [#METR-20659]. 2016-03-30 01:52:11 +03:00
Alexey Milovidov
04875a022a Removed code for freezing partitions due to unacceptable implementation [#METR-20656]. 2016-03-29 22:39:44 +03:00
Alexey Milovidov
34f6887a28 Merge 2016-03-29 19:59:22 +03:00
Alexey Milovidov
c2d1d04157 Added 'is_local' column to system.clusters table [#METR-20655]. 2016-03-29 19:58:52 +03:00
Alexey Arno
21ff6d9f94 dbms: Comment updates. Naming simplfications. Use better hashing. [#METR-18510] 2016-03-29 19:29:39 +03:00
Alexey Arno
09985be3ba dbms: Added more comments. Made some code more understandable. [#METR-18510] 2016-03-28 16:00:00 +03:00
Alexey Milovidov
86617c8339 Cloud databases: development [#METR-19998]. 2016-03-28 14:19:51 +03:00
Alexey Milovidov
605e9c4afb Addition to prev. revision [#METR-20607]. 2016-03-27 17:36:59 +03:00
Alexey Milovidov
702876f9f0 Fixed suboptimal index usage in point queries [#METR-20607]. 2016-03-27 14:37:25 +03:00
Alexey Arno
776a0e3041 dbms: Improved fault tolerance with regards to ZooKeeper. [#METR-18510] 2016-03-25 15:21:10 +03:00
Alexey Arno
32a38485e6 Merge 2016-03-25 14:48:45 +03:00
Alexey Milovidov
43d323013c Fixed error [#METR-19997]. 2016-03-23 00:26:13 +03:00
Alexey Milovidov
288fb9dcdf Less wrong [#METR-19997]. 2016-03-22 02:46:24 +03:00
Alexey Milovidov
114713a9c3 StorageBuffer: don't return empty blocks to read [#METR-20540]. 2016-03-22 02:04:50 +03:00
Alexey Milovidov
5fc44df6b5 Squashed commit of the following:
commit f9b478181cd49224154cc350fb57df7121842f1c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 04:06:36 2016 +0300

    Database engines: development [#METR-19997].

commit f7a10a67761ccfd05f3dac32d6444920cd8d4d60
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 03:44:37 2016 +0300

    Database engines: development [#METR-19997].

commit bd98a8558e98bad2bed278e5762c4e0fc66e6f38
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 00:33:59 2016 +0300

    Database engines: development [#METR-19997].

commit 19712fd884c22a4e2c2b67474086dea8f44e7c7b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Sat Mar 19 00:03:11 2016 +0300

    Database engines: development [#METR-19997].

commit 50274d6df7e91fcc34aab8a8c72347daa2c6512f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 23:24:57 2016 +0300

    Database engines: development [#METR-19997].

commit 4a0b99b19b34e90ef8b7be2d199f6232e36ef3f7
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 22:50:36 2016 +0300

    Database engines: development [#METR-19997].

commit 44ff3ebba7a3e460a27a89f31ddf199dbea1d182
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 15:09:17 2016 +0300

    Database engines: development [#METR-19997].

commit 137c31f3004cfd282473b6acb01cbe1b4ca2aadd
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 03:26:34 2016 +0300

    Database engines: development [#METR-19997].

commit aa4c0496d4afe4a691164254be2bd5600542b38a
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 03:22:59 2016 +0300

    Database engines: development [#METR-19997].

commit 5a94d1f0607450a2dac28a4d7df8b1393a864c23
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Fri Mar 18 01:02:40 2016 +0300

    Database engines: development [#METR-19997].

commit 50fd5b52ea1141955a5dfba0dcb191f3289ac25b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Thu Mar 17 23:23:40 2016 +0300

    Database engines: development [#METR-19997].

commit a333d91b058e4f56dd83a6d2878c3c2bd8efc002
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Thu Mar 17 20:29:07 2016 +0300

    Database engines: development [#METR-19997].

commit f81d366e7ac8348436f2698d040f8e341743a024
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Thu Mar 17 01:30:23 2016 +0300

    Database engines: development [#METR-19997].

commit d0696860c9060827896214c08d147c759ea79376
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 21:55:31 2016 +0300

    Database engines: development [#METR-19997].

commit 46a168c2ada140a0e95cd8d4b9d8ba9bac855d11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 08:00:58 2016 +0300

    Database engines: development [#METR-19997].

commit 20a2bad161454225fc1b5f9b919b842fbebc3231
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 06:51:10 2016 +0300

    Database engines: development [#METR-19997].

commit ca0a77fcc2a8d0b276eb3743c53551ad3fe16314
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 06:02:20 2016 +0300

    Reverted erroneous modification [#METR-19997].

commit 1370bdcc4594182f6ef2b146f9afabfe1c295080
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Wed Mar 16 00:41:34 2016 +0300

    Database engines: development [#METR-19997].

commit 16e72c67041cae6471509d3f0f3d4a9aa7b7dc0f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date:   Tue Mar 15 00:41:48 2016 +0300

    Database engines: development [#METR-19997].
2016-03-19 04:18:49 +03:00
Alexey Arno
4ce2d94be7 dbms: Removed code that was not needed anymore since we have now a better way to check issues with connections. [#METR-18510] 2016-03-10 18:42:36 +03:00
Alexey Milovidov
4f3e9dfc95 dbms: addition to prev. revision [#METR-20301]. 2016-03-10 06:45:03 +03:00
Alexey Milovidov
b92b0660a7 dbms: fixed error [#METR-20301]. 2016-03-10 06:08:09 +03:00
Alexey Arno
50bdb806b9 dbms: Code cleanup. [#METR-18510] 2016-03-09 16:59:34 +03:00
Alexey Arno
75f31de790 dbms: Code cleanup. [#METR-18510] 2016-03-09 16:40:47 +03:00
Alexey Arno
79d5c899b0 dbms: Fault tolerance improvement. Fixed a race condition. Some cleanup. [#METR-18510] 2016-03-09 15:03:39 +03:00
Evgeniy Gatov
6aa4d59400 Merge 2016-03-08 20:52:42 +03:00
Alexey Arno
e9718711d0 dbms: Code cleanup. [#METR-18510] 2016-03-08 18:38:06 +03:00
Alexey Arno
0f35ecc357 dbms: Code cleanup. [#METR-18510] 2016-03-08 16:46:00 +03:00
Alexey Milovidov
0194495b99 Fixed build [#METR-2807]. 2016-03-07 11:10:52 +03:00
Alexey Milovidov
85863529cf Fixing warnings on clang [#METR-2807]. 2016-03-07 10:47:41 +03:00
Alexey Milovidov
0536f42f8c Fixing build on clang [#METR-2807]. 2016-03-07 09:49:07 +03:00
Alexey Milovidov
fcbe00ce94 Fixing warnings on clang [#METR-2807]. 2016-03-07 07:53:17 +03:00
Alexey Milovidov
a75b6ca3dd Fixing warnings on clang [#METR-2807]. 2016-03-07 07:43:14 +03:00
Alexey Milovidov
ebf5b3afdd Merge 2016-03-07 05:21:16 +03:00
Alexey Arno
a1fd25865b dbms: Code cleanup. [#METR-18510] 2016-03-05 13:33:01 +03:00
Alexey Milovidov
f5247021b1 Fixed error [#METR-20296]. 2016-03-05 06:17:11 +03:00
Alexey Milovidov
36e4bcc125 Better diagnostics [#METR-19808]. 2016-03-05 05:30:20 +03:00
Alexey Milovidov
fb4e0b1402 Fixed error and added test for '_sample_factor' virtual column [#METR-20296]. 2016-03-05 02:42:30 +03:00
Alexey Arno
f5c520bde1 dbms: Improved locking. [#METR-18510] 2016-03-04 19:33:31 +03:00
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