Commit Graph

95 Commits

Author SHA1 Message Date
Nikita Mikhaylov
c53053b103
Revert "Asynchronous updates in cache dictionaries " 2020-02-05 23:00:59 +03:00
Nikita Mikhaylov
c4666141a8 got rid of timeouts + comments added 2020-02-05 18:25:48 +03:00
Nikita Mikhaylov
7af66db1b2 after review 2020-02-05 15:16:25 +03:00
Nikita Mikhaylov
8715841291 atomic backoff_end_time added 2020-01-31 14:10:34 +03:00
Nikita Mikhaylov
b19f76df01 better style 2020-01-30 18:18:12 +03:00
Nikita Mikhaylov
149be6c0b1 better updates 2020-01-30 15:44:04 +03:00
Nikita Mikhaylov
1f1fabba3b atomic added 2020-01-29 13:58:44 +03:00
Nikita Mikhaylov
a8628134f2 writelock 2020-01-28 21:19:01 +03:00
Nikita Mikhaylov
56eb0f2e91 cleanup 2020-01-27 14:18:34 +03:00
Nikita Mikhaylov
b9a8f1fc20 write lock 2020-01-24 12:43:08 +03:00
Nikita Mikhaylov
9170e5d410 style errors 2020-01-23 21:52:38 +03:00
Nikita Mikhaylov
7ce2107eea better 2020-01-23 19:55:06 +03:00
Nikita Mikhaylov
c8e42e972a multithreaded updates 2020-01-23 15:28:23 +03:00
Nikita Mikhaylov
e5320032c9 fix bug with queue 2020-01-22 16:50:51 +03:00
Nikita Mikhaylov
736b97c910 better 2020-01-22 15:38:01 +03:00
Nikita Mikhaylov
97144cb645 Merge branch 'master' of github.com:ClickHouse/ClickHouse into cache-dictionary 2020-01-22 14:51:05 +03:00
Nikita Mikhaylov
0ce6a0f173 saving changes 2 2020-01-22 14:41:12 +03:00
Nikita Mikhaylov
cce0097d9e fix stupid bug + codestyle 2019-12-30 18:28:45 +03:00
Nikita Mikhaylov
28d0f3324a bunch-updates && timeouts for waiting 2019-12-30 15:00:35 +03:00
Vitaly Baranov
1fa64a2a86 Use separate variables for the database and name in dictionaries. 2019-12-29 23:48:10 +07:00
Nikita Mikhaylov
62f265576a integration test added 2019-12-27 23:31:40 +03:00
Nikita Mikhaylov
b194174ae1 better code 2019-12-27 14:50:30 +03:00
Nikita Mikhaylov
b79270fd03 remove callbacks in update 2019-12-26 21:56:34 +03:00
Nikita Mikhaylov
3af3ce2cf7 fix stupid bug 2019-12-26 16:33:42 +03:00
Nikita Mikhaylov
208db45668 add condvar usage and better code 2019-12-26 00:43:12 +03:00
Nikita Mikhaylov
09805b2396 exception ptr added 2019-12-24 16:26:23 +03:00
Nikita Mikhaylov
2545f66fe5 better 2019-12-23 19:51:01 +03:00
Nikita Mikhaylov
d93b0d5030 more 2019-12-23 14:47:20 +03:00
Nikita Mikhaylov
be5729e113 mvc 2019-12-19 21:22:04 +03:00
kreuzerkrieg
9612bb0e79 More GCC warnings 2019-12-16 23:19:50 +02:00
alesapin
10f69eef03 Add tests for non standart dictionaries and fix bugs 2019-10-21 19:05:45 +03:00
Vitaly Baranov
da8f67123f Improve error handling in cache dictionaries:
allow using expired values while the source of a cache dictionary doesn't respond;
clone the source after an error to reset connections;
don't ask the source for a little time after error;
show the last exception in system.dictionaries for a cache dictionary too.
2019-08-30 12:50:38 +03:00
kreuzerkrieg
112fc71276 adding -Wshadow for GCC 2019-08-09 23:58:16 +03:00
chertus
49e12eaa60 remove unused specializations in dictionaries 2019-05-28 22:30:01 +03:00
chertus
0d77a96b3c disable implicit type conversions in dictGet functions 2019-05-28 17:04:00 +03:00
alesapin
7ffd74ca74 Fix UB in IsIn function of cache dictionary and typo in integration test. 2019-02-26 17:52:55 +03:00
Vitaly Baranov
86b204d1c7 IDictionary::getBlockInputStream() function, "max_block_size" parameter: change type UInt64 -> size_t. 2019-02-19 14:49:03 +03:00
Alexey Milovidov
58a6accee5 Updated test #4246 2019-02-10 19:55:12 +03:00
Alexey Milovidov
c7b95b5175 Miscellaneous changes for PVS-Studio 2019-01-20 02:27:52 +03:00
proller
5e89894b98 Fix style 2018-12-10 18:50:58 +03:00
proller
c9e98c8deb clang-format of dbms/src/Dictionaries/* 2018-12-10 18:25:45 +03:00
proller
dd2371e071 CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory (#3653)
* Split ComplexKeyCacheDictionary to faster compile (part2)

* Dictionaries as lib WIP

* wip

* clean

* Fix build with old capnp

* fix

* wip

* fixes

* fix

* clean

* clean

* clean

* wip

* wip

* wip

* flat

* wip

* cache

* clean

* wip

* faster

* fix style

* fixes

* clean

* clean

* Split CacheDictionary.cpp for faster compile

* fix

* fix

* Less memory usage while compiling

* missing file

* format

* Update registerDictionaries.h

* clean
2018-11-28 14:37:12 +03:00
Alexey Milovidov
78e72a1962 Little better #3624 2018-11-20 23:09:20 +03:00
Amos Bird
9021bfb2f1 Fix variant assignments 2018-11-15 17:29:53 +08:00
Alexey Milovidov
4b0645cb25 Fixed error in #3565 2018-11-13 21:41:07 +03:00
chertus
f21c4c898e Decimal dictionaries support [CLICKHOUSE-4045] 2018-10-08 22:45:17 +03:00
Alexey Milovidov
d8809eb2a1 Whitespaces [#CLICKHOUSE-3939] 2018-09-06 04:57:55 +03:00
Alexey Milovidov
36db216abf Preparation for extra warnings [#CLICKHOUSE-2] 2018-08-10 07:02:56 +03:00
Alexey Milovidov
7c60adbebb Non significant changes according to clang's -Weverything, part 4 [#CLICKHOUSE-2] 2018-06-03 23:48:36 +03:00
Alexey Milovidov
f5adbceed2 Non significant changes according to clang's -Weverything, part 3 [#CLICKHOUSE-2] 2018-06-03 23:39:06 +03:00