Alexey Milovidov
01035a9e78
Merge branch 'master' of github.com:yandex/ClickHouse into add-test-deadlock-rename-table
2019-08-31 13:46:24 +03:00
alexey-milovidov
ddbb1abbaf
Merge pull request #6752 from yandex/added-test-rename-merge-race-condition
...
Added a test for RENAME / Merge table race condition
2019-08-31 13:45:41 +03:00
alexey-milovidov
3767979295
Merge pull request #6753 from yandex/avoid-race-condition-processors
...
Avoid data race on Settings in KILL QUERY.
2019-08-31 13:45:14 +03:00
alexey-milovidov
d90518dadf
Merge pull request #6755 from vitlibar/add-test-reload-after-fail-in-cache-dictionary
...
Add integration test for handling errors by a cache dictionary.
2019-08-31 13:44:40 +03:00
Alexey Milovidov
3568d3d890
Updated test
2019-08-31 13:38:20 +03:00
Alexey Milovidov
202673e3bd
Avoid deadlock in multiple tables RENAME
2019-08-31 13:37:28 +03:00
Alexey Milovidov
d879bcb010
Added a test for deadlock in RENAME TABLE
2019-08-31 05:32:42 +03:00
Alexey Milovidov
e4376a3f6f
Addition to prev. revision
2019-08-31 04:21:10 +03:00
Vitaly Baranov
fbd616b6a4
Add integration test for handling errors by a cache dictionary.
2019-08-31 03:39:38 +03:00
Alexey Milovidov
57c8091e5b
Better stress test script
2019-08-31 03:30:12 +03:00
Alexey Milovidov
5fcdd6f20b
Added stress test variant that is as simple to run as ./stress
2019-08-31 03:19:10 +03:00
alexey-milovidov
a31814e8b4
Merge pull request #6754 from yandex/allow-attach-live-view
...
Allow to ATTACH live views
2019-08-31 02:39:02 +03:00
Alexey Milovidov
bb0ca310ab
Allow to ATTACH live views
2019-08-31 02:38:03 +03:00
Alexey Milovidov
fd85a862f0
Added a test just in case
2019-08-31 02:19:05 +03:00
Alexey Milovidov
2fd8f5c324
Removed code that I don't understand and that has no comments
2019-08-31 02:09:08 +03:00
Alexey Milovidov
cc118b3fed
Added a test for RENAME / Merge table race condition
2019-08-31 01:43:15 +03:00
Ivan
cd5c0fc9ac
Fix build issues ( #6744 )
...
* libcxxabi uses exception handling library as public
* Don't set -stdlib for internal libc++ - it poisons the checks.
* Enable capnproto in unbundled build back
2019-08-30 20:40:27 +03:00
alexey-milovidov
6352c57afb
Merge pull request #6748 from yandex/fix_bad_size_of_marks
...
Fix bad size of marks with skip indices
2019-08-30 20:26:59 +03:00
Alexey Milovidov
83c75ca2ad
Added a test (but it doesn't reproduce the issue #6746 )
2019-08-30 19:21:05 +03:00
alesapin
d4ea6a5234
Fix comment
2019-08-30 17:30:28 +03:00
alesapin
f6120558df
Fix bad size of marks
2019-08-30 17:29:08 +03:00
alexey-milovidov
ce73e17ff6
Merge pull request #6730 from yandex/fallback_o_direct
...
Fallback from O_DIRECT.
2019-08-30 16:08:19 +03:00
alexey-milovidov
e5a7f451f0
Merge pull request #6737 from vitlibar/improve-error-handling-in-cache-dictionary
...
Improve error handling in cache dictionaries
2019-08-30 16:06:07 +03:00
alexey-milovidov
b27f5a7390
Merge pull request #6740 from Enmk/reduced_locking_in_IBlockInputStream
...
Reduced children_mutex lock scope in IBlockInputStream
2019-08-30 16:02:22 +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
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
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