zhang2014
9c50c7c718
fix crash when touches all rows alter
2019-09-03 13:48:02 +08:00
alexey-milovidov
cda9ac7385
Merge pull request #6780 from yandex/fix_mergex_column_only_stream
...
Move initialization of MergedColumnOnlyStream to constructor
2019-09-03 01:37:51 +03:00
alexey-milovidov
a52874b203
Merge pull request #6709 from yandex/time-zone-configuration
...
Fixed error with processing "timezone" in server configuration file.
2019-09-03 01:37:26 +03:00
alexey-milovidov
7447d89f1f
Merge pull request #6785 from 4ertus2/mjoin
...
More JOINs refactoring
2019-09-03 01:36:59 +03:00
CurtizJ
973b533377
Merge remote-tracking branch 'upstream/master' into read-in-order-2
2019-09-03 00:59:51 +03:00
Alexey Milovidov
1903053aa1
Fixed error in test
2019-09-02 22:58:48 +03:00
chertus
fce1b47250
more JOIN refactoring: move logic out of ExpressionAnalyzer/ExpressionAction
2019-09-02 22:58:45 +03:00
Alexey Milovidov
89e86e1d41
Slightly better config management in integration tests
2019-09-02 22:57:09 +03:00
alesapin
04a3db5857
Better test
2019-09-02 22:32:08 +03:00
Alexey Milovidov
5dbafdefdb
Merge branch 'master' into time-zone-configuration
2019-09-02 22:15:52 +03:00
Alexey Milovidov
457bc541ee
Merge branch 'master' of github.com:yandex/ClickHouse
2019-09-02 22:13:22 +03:00
Alexey Milovidov
2b0af524cb
Added a test #2282
2019-09-02 22:13:12 +03:00
alexey-milovidov
5042780423
Merge pull request #6776 from vitlibar/split-test-dictionaries
...
Split the integration test `test_dictionaries` into 4 separate tests.
2019-09-02 22:07:46 +03:00
alexey-milovidov
f180f7dd3d
Merge pull request #6779 from proller/fix27
...
CLICKHOUSE-4644 function arrayEnumerateUniqRanked: fix for empty arrays
2019-09-02 21:40:35 +03:00
CurtizJ
257df66b02
fix flappy ttl test
2019-09-02 21:29:56 +03:00
alesapin
5af8c196bd
Move initialization of MergedColumnOnlyStream to constructor
2019-09-02 19:31:09 +03:00
proller
184e2ef9ab
CLICKHOUSE-4644 arrayEnumerateUniqRanked: fix for empty arrays
2019-09-02 18:49:25 +03:00
Alexander Kuzmenkov
fd00889981
Pre-fault mmapped buffers for hash tables.
...
Mmaped pages are copy-on-write references to the zero page, and are
faulted in on the first write. Hash table resize touches most of the
newly allocated buffer, so it's faster to pre-fault all pages after
allocation, instead of having the resize loop interrupted by page
faults.
2019-09-02 18:38:29 +03:00
Alexander Kuzmenkov
ce120ebc0d
Cosmetic change: Remove unused template parameters from Allocator.
2019-09-02 18:38:29 +03:00
Alexey Milovidov
402599a38c
Merge branch 'master' into time-zone-configuration
2019-09-02 18:13:54 +03:00
Alexey Milovidov
7bf411548f
Merge branch 'master' of github.com:yandex/ClickHouse into add-test-for-deadlock-system-tables
2019-09-02 18:04:15 +03:00
alexey-milovidov
a71a1693f0
Merge pull request #6777 from yandex/fix-pvs-warning-in-pipeline-executor
...
Fix PVS warning in PipelineExecutor.
2019-09-02 17:53:28 +03:00
alexey-milovidov
3f5d0ef2a8
Merge pull request #6775 from yandex/aku/pvs-warning
...
Remove a redundant condition (found by PVS Studio).
2019-09-02 17:52:25 +03:00
Vitaly Baranov
d64d75eb6d
Split the integration test test_dictionaries
into 4 separate tests.
2019-09-02 17:50:57 +03:00
alexey-milovidov
0967ecf03b
Merge pull request #6727 from yandex/merging_template_format
...
Merging Template format
2019-09-02 17:25:43 +03:00
Alexey Milovidov
dcdd8c6e3c
Merge branch 'master' into add-test-for-deadlock-system-tables
2019-09-02 16:39:26 +03:00
Nikolai Kochetov
2eecd35d27
Fix PVS warning in PipelineExecutor.
2019-09-02 16:30:51 +03:00
Alexander Kuzmenkov
ab2bd54022
Remove a redundant condition (found by PVS-Studio).
2019-09-02 16:17:14 +03:00
chertus
bc95027cee
better setting name: joined_subquery_requires_alias
2019-09-02 15:53:31 +03:00
chertus
2c0d569fa8
Merge branch 'master' into some
2019-09-02 15:32:24 +03:00
Zhichang Yu
9e587fb139
fix DataTypeAggregateFunction deserialization
2019-09-02 20:09:40 +08:00
Alexander Tokmakov
3da233ef42
fix build
2019-09-02 13:47:06 +03:00
Alexander Tokmakov
e2928481a3
Merge branch 'master' into merging_template_format
2019-09-02 12:41:34 +03:00
Alexey Milovidov
85f45747a5
Fixed test
2019-09-02 04:04:41 +03:00
Alexey Milovidov
951079c457
Updated test
2019-09-02 04:00:58 +03:00
Alexey Milovidov
32adf456d8
Remove support for recursive-by-thread RWLocks because it makes no sense
2019-09-02 03:59:27 +03:00
Alexey Milovidov
e5ad85ba26
Fixed test
2019-09-02 03:21:42 +03:00
Alexey Milovidov
2d331fb992
Fixed possible deadlock in RWLock
2019-09-02 03:12:01 +03:00
Alexey Milovidov
de2586cd15
Merge branch 'master' into add-test-for-deadlock-system-tables
2019-09-02 00:59:25 +03:00
Alexey Milovidov
7d1b1de895
Temporarily remove all LIVE VIEW tests
2019-09-02 00:49:11 +03:00
Alexey Milovidov
ba1c70add0
Merge branch 'add-test-for-deadlock-system-tables' of github.com:yandex/ClickHouse into add-test-for-deadlock-system-tables
2019-09-01 22:21:22 +03:00
Alexey Milovidov
de44330cfa
Updated exception message
2019-09-01 22:21:00 +03:00
Alexey Milovidov
45a9b4e184
Merge branch 'master' into add-test-for-deadlock-system-tables
2019-09-01 22:20:04 +03:00
Alexey Milovidov
4ebf610808
Disable query profiler with sanitizers
2019-09-01 19:21:54 +03:00
Alexey Milovidov
8917572087
Speed up another test in cases when query_log is large (such as on production servers)
2019-09-01 18:28:43 +03:00
Alexey Milovidov
55f11b3675
Speed up test for "text_log" in cases when text_log is large (such as on production servers)
2019-09-01 18:25:46 +03:00
Ivan
4d21f97d6a
Increase test timeout
2019-09-01 16:03:38 +03:00
Alexey Milovidov
6940395c5d
Fixed tests
2019-09-01 15:40:06 +03:00
Alexey Milovidov
2b6d27d587
Merge branch 'add-test-for-deadlock-system-tables' of github.com:yandex/ClickHouse into add-test-for-deadlock-system-tables
2019-09-01 15:16:54 +03:00
Alexey Milovidov
27d753eab7
Fixed error
2019-09-01 15:16:31 +03:00
alexey-milovidov
7ababf2644
Merge branch 'master' into add-test-for-deadlock-system-tables
2019-09-01 04:35:10 +03:00
Alexey Milovidov
6f02cd145f
Added a kludge (experimental)
2019-09-01 04:32:44 +03:00
alexey-milovidov
2e86aece86
Merge pull request #6763 from yandex/add-os-thread-ids-in-system-tables
...
Add "os_thread_ids" column to system tables
2019-09-01 04:30:16 +03:00
alexey-milovidov
1dd28867b0
Merge pull request #6689 from yandex/merge_tree_settings_alter
...
Refactoring of immutable settings
2019-09-01 04:29:47 +03:00
Alexey Milovidov
23b28e6cdc
Added another test for deadlock
2019-09-01 02:35:33 +03:00
Alexey Milovidov
cb79e2371e
Add "os_thread_ids" column to system tables
2019-09-01 00:47:15 +03:00
Alexey Milovidov
dcc6163d32
Added function "trap"
2019-09-01 00:39:17 +03:00
alesapin
7382a9f3c3
Rename method for settings check
2019-09-01 00:15:40 +03:00
alexey-milovidov
d8d2b623d2
Merge pull request #6759 from yandex/add-test-rwr-shard-deadlock
...
Added a test for possible deadlock in distributed queries
2019-08-31 18:51:48 +03:00
alexey-milovidov
fcfc807bb3
Merge pull request #6756 from yandex/add-test-deadlock-rename-table
...
Added a test for deadlock in RENAME TABLE
2019-08-31 16:01:59 +03:00
Alexey Milovidov
aac0b27daa
Fixed possible deadlock in distributed queries
2019-08-31 15:18:14 +03:00
Alexey Milovidov
783df7a5c5
Added a test that prooves that our locking model is non-viable
2019-08-31 14:32:14 +03:00
Alexey Milovidov
c0e465f9f0
Stress test: more beautiful
2019-08-31 14:20:09 +03:00
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
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
alesapin
2647d4ca15
Rename immutable to readonly
2019-08-30 23:12:26 +03:00
Alexander Tokmakov
cd5d733f75
rewrite unit test with gtest
2019-08-30 22:08:23 +03:00
alesapin
6f30338c08
Fixes
2019-08-30 21:31:35 +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
Alexander Tokmakov
4c744af113
minor style fixes
2019-08-30 20:25:35 +03:00
alesapin
808f4d0b8a
Intermediate refactoring
2019-08-30 19:50:59 +03:00
Alexey Milovidov
ace08fa344
Merge branch 'master' into time-zone-configuration
2019-08-30 19:27:08 +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
4cb640717b
Fixed test
2019-08-30 16:28:27 +03:00
Alexey Milovidov
da5e7f31c4
Updated README
2019-08-30 16:25:34 +03:00
Alexey Milovidov
48bf4abdf0
Fixed function name
2019-08-30 16:14:47 +03:00
Alexey Milovidov
3fdcc4ab30
Fixed typo in README.md
2019-08-30 16:14:20 +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
chertus
e9c4f36586
Merge branch 'master' into some
2019-08-30 15:49:55 +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
Alexander Tokmakov
e3982704ea
try to fix build
2019-08-30 00:46:36 +03:00