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
Vasily Nemkov
b66485a1d2
Reduced children_mutex lock scope in IBlockInputStream
...
This is to fix TSan warning 'lock-order-inversion'.
Thread locks IBlockInputStream::children_mutex (A) and then subsequently locks
MergeTreeDataPart::columns_lock mutex (B), holding it for extended period of
time, surviving the unlock of the A. Then, while B is still locked, A
is locked again, causing a TSan warning.
2019-08-30 11:24:00 +03:00
Guillaume Tassery
87b8f89600
cosmetic
2019-08-30 06:36:01 +02:00
Guillaume Tassery
d752b1c143
Fix synchronisation bug
2019-08-30 06:24:05 +02:00
alexey-milovidov
358ad13930
Merge pull request #6715 from yandex/remove-mimalloc
...
Remove mimalloc
2019-08-30 00:41:33 +03:00
Alexey Milovidov
0bca68e50b
Style
2019-08-29 21:55:20 +03:00
Alexey Milovidov
a894288fa0
Fallback from O_DIRECT.
2019-08-29 18:48:00 +03:00
Ivan
5851316742
Don't interrupt copyData() used inside Kafka materialized views ( #6597 )
...
* Print better offsets on commit
* Stop consumption on the read buffer level
* Don't use cancellation in the middle of copyData()
* Add test
* Disable squashing stream for Kafka materialized views
* Commit last read message, since rdkafka auto-modifies offset
2019-08-29 18:36:07 +03:00
Alexey Milovidov
59dcc06d36
Merge branch 'remove-mimalloc' of github.com:yandex/ClickHouse into remove-mimalloc
2019-08-29 18:32:52 +03:00
Alexey Milovidov
260b8c7fa7
Removed obsolete directory
2019-08-29 18:32:25 +03:00
alexey-milovidov
c19e5faf4c
Merge pull request #6717 from yandex/fix-data-race-in-storage-merge
...
Fix for data race in StorageMerge
2019-08-29 18:25:48 +03:00
alexey-milovidov
2b124c5af8
Merge pull request #6718 from vitlibar/fix-extract-tuple-from-json
...
Fix extracting a Tuple from JSON
2019-08-29 17:40:26 +03:00
alexey-milovidov
3ca4811d48
Merge pull request #6724 from abyss7/fix-libcxx-2
...
Fix build with internal libc++
2019-08-29 17:38:51 +03:00
alesapin
490722adf7
Merge pull request #6723 from yandex/bad_size_of_marks_skip_idx_bug
...
Fix segmentation fault in vertical merge with skip indices
2019-08-29 16:47:16 +03:00
Ivan Lezhankin
0e606c790e
Fix install of libcxx and libcxxabi
2019-08-29 16:38:18 +03:00
alesapin
549c61cad9
Update MarkInCompressedFile.h
2019-08-29 15:38:20 +03:00
alesapin
6d6851e747
Add capnp-library do build image
2019-08-29 15:36:41 +03:00
alesapin
dac55278ad
Better comments
2019-08-29 14:15:56 +03:00
Ivan Lezhankin
36abd1e6fc
Fix build
2019-08-29 14:09:01 +03:00
alesapin
702b47ae5b
Remove redundant changes
2019-08-29 13:56:43 +03:00
alesapin
0899b3818d
Remove redundant changes
2019-08-29 13:49:26 +03:00
Ivan Lezhankin
85afd61c01
Fix build with internal libcxx
2019-08-29 13:44:22 +03:00
alesapin
67f9753775
Merge branch 'master' into bad_size_of_marks_skip_idx_bug
2019-08-29 11:07:56 +03:00
alesapin
d3b378ea10
Fix flappy test (descrease number of iterations)
2019-08-29 11:02:50 +03:00
Vitaly Baranov
4ec12c3d24
Add more tests for JSON functions.
2019-08-29 01:55:35 +03:00
Vitaly Baranov
6cbb52128b
Fix extracting tuple from JSON.
2019-08-29 01:55:35 +03:00
Alexey Milovidov
d1a980fcdd
Fix for data race in StorageMerge
2019-08-29 01:18:26 +03:00
Ivan
b4339f266d
Make a better build scheme ( #6500 )
...
* Fix shared build
* Major default libs refactor
* Fix build with gcc_eh
* Link all libraries as a big group.
* Use global interface library as a group
* Build capnproto using our cmake
* Use only internal libunwind
2019-08-28 23:49:37 +03:00
Alexey Milovidov
06ea75f9fd
Merge branch 'master' of github.com:yandex/ClickHouse
2019-08-28 23:15:28 +03:00
Alexey Milovidov
e9875950a4
Make test timeout to be more significant
2019-08-28 22:36:04 +03:00
Alexey Milovidov
39d50b5144
Remove mimalloc
2019-08-28 22:01:52 +03:00
Artem Zuikov
405f060f4f
Merge pull request #6708 from 4ertus2/some
...
Test for #4858
2019-08-28 21:57:46 +03:00
Alexey Milovidov
48dce81e61
Minor modifications after #6413
2019-08-28 21:54:30 +03:00
alexey-milovidov
fe7da45a78
Merge pull request #6413 from nikitamikhaylov/atomic_zookeeper2
...
Atomicity of Replicated table removal.
2019-08-28 21:45:03 +03:00
alexey-milovidov
33311a9bf1
Merge branch 'master' into atomic_zookeeper2
2019-08-28 21:34:42 +03:00
alesapin
b4d98f6e13
Trying to fix vertical merge
2019-08-28 21:23:20 +03:00
alexey-milovidov
44dd3bd792
Merge pull request #6692 from yandex/remove-queue_max_wait_ms
...
Set default value of "queue_max_wait_ms" to zero, because current value makes no sense
2019-08-28 21:06:09 +03:00
alexey-milovidov
7b9b67fd71
Merge pull request #6695 from yandex/improve-table-locks
...
Avoid possible deadlock in TRUNCATE of Replicated table.
2019-08-28 21:05:26 +03:00
alexey-milovidov
6d2dca3242
Merge pull request #6705 from 4ertus2/bugs
...
JOINs with not nullable types and join_use_nulls=1
2019-08-28 21:05:16 +03:00
alexey-milovidov
c72dffc591
Merge pull request #6706 from yandex/client-do-not-substitute-inside-query
...
Disable Poco::AbstractConfiguration substitutions in query in clickhouse-client
2019-08-28 21:04:56 +03:00
chertus
91bc0eca11
add test for #4858
2019-08-28 20:00:20 +03:00
Alexey Milovidov
6d6c53d42b
Style
2019-08-28 19:15:57 +03:00
chertus
5e27937227
fix RIGHT JOIN for Tuples
2019-08-28 18:44:18 +03:00
alexey-milovidov
e2b05f6f9c
Merge pull request #6700 from yandex/aku/shm-5417-formatting
...
Formatting changes for StringHashMap PR #5417 .
2019-08-28 18:30:59 +03:00
alexey-milovidov
819f1f2aa6
Merge pull request #6701 from yandex/aku/no-cache-low-cardinality
...
Disable consecutive key optimization for UInt8/16 LowCardinality columns.
2019-08-28 18:30:24 +03:00
Alexey Milovidov
b6a0dba2df
Added a setting "connection_pool_max_wait_ms"
2019-08-28 18:27:26 +03:00
Alexey Milovidov
cced091881
Addition to prev. revision
2019-08-28 18:24:35 +03:00
Alexey Milovidov
d1c268c2ed
Added setting "kafka_max_wait_ms"
2019-08-28 18:24:23 +03:00
Alexey Milovidov
06c0e35e46
Added setting "replace_running_query_max_wait_ms"
2019-08-28 18:21:57 +03:00
Alexey Milovidov
d06e350312
Added setting "replace_running_query_max_wait_ms"
2019-08-28 18:20:22 +03:00