Commit Graph

48936 Commits

Author SHA1 Message Date
Alexander Tokmakov
5d19ed04f6 allow synchronous drop/detach table for Atomic 2020-09-29 16:47:08 +03:00
Nikolai Kochetov
33487c0e4a
Merge pull request #15422 from ClickHouse/query-plan-header-remove-columns
Remove column from header descriotion for EXPLAIN PLAN
2020-09-29 15:51:09 +03:00
alesapin
89f4fcf4c4
Merge pull request #15433 from ClickHouse/supress_openssl_race
Suppress race in OpenSSL
2020-09-29 15:14:14 +03:00
Alexander Kuzmenkov
2d456e2cd6
Merge pull request #15407 from detailyang/master
bugfix:aggregate:fix boundingratio args check
2020-09-29 14:12:54 +03:00
Alexander Kuzmenkov
ac4f0cdf22 fix 2020-09-29 14:07:31 +03:00
Nikolai Kochetov
a7e7fd084f Destroy resurces captured by lambda after ThreadFromGlobalPool::join(). 2020-09-29 13:48:11 +03:00
Nikolai Kochetov
de56c02525 Merge branch 'master' into expression-dag 2020-09-29 12:18:29 +03:00
Nikolai Kochetov
53d4e5d195 Merge branch 'master' into expression-dag 2020-09-29 12:15:50 +03:00
alesapin
4f79310f00
Merge pull request #15434 from hombit/patch-1
Fix a typo in Russian docs
2020-09-29 12:04:35 +03:00
alesapin
cafb1de94c Merge branch 'master' into myrrc-fix/cmake-docs-gen 2020-09-29 12:00:29 +03:00
alesapin
7bc12ca0c3 Fix bugs 2020-09-29 11:59:40 +03:00
Alexander Tokmakov
6ebfd1aaf6 fix 2020-09-29 11:58:04 +03:00
Alexander Tokmakov
a7d3a024c7 Revert "Revert "Test and doc for PR12771 krb5 + cyrus-sasl + kerberized kafka""
This reverts commit c298c633a7.
2020-09-29 11:56:37 +03:00
Konstantin Malanchev
6da04c7d8b
Fix a typo in Russian docs 2020-09-29 10:51:52 +02:00
alesapin
4615c6d131 Add release task config 2020-09-29 11:28:49 +03:00
alesapin
92a1194671 Fix some flaky tests 2020-09-29 11:28:49 +03:00
Alexey Milovidov
7d31d1efb8 Fix install script 2020-09-29 11:28:49 +03:00
Alexey Milovidov
6e9b6b31ae Fix error in LowCardinality; add test 2020-09-29 11:28:49 +03:00
Alexey Milovidov
2b32646231 Add support for "Raw" column format for Regexp format 2020-09-29 11:28:49 +03:00
Alexander Tokmakov
5674949c18 fix sync 2020-09-29 11:28:49 +03:00
Alexander Tokmakov
f67fd49a73 add review suggestions 2020-09-29 11:28:49 +03:00
Alexander Tokmakov
a7c595ab7a minor fixes 2020-09-29 11:28:49 +03:00
Vxider
52a13a7180 Support default arguments for Replicated engine 2020-09-29 11:28:49 +03:00
Alexander Tokmakov
be54d8768a try fix test 2020-09-29 11:28:49 +03:00
bharatnc
83fda9fe58 Make trace_log test to pass 2020-09-29 11:28:49 +03:00
bharatnc
eb24d19cd4 Use std::chrono instead of clock_gettime 2020-09-29 11:28:49 +03:00
bharatnc
cdeedda1d2 TraceCollector - time s&us using same timespec 2020-09-29 11:28:49 +03:00
bharatnc
ac59add38c TraceLog - revert back to functional test 2020-09-29 11:28:49 +03:00
bharatnc
2972f6ae39 EventTime - construct time in s and us from same timespec 2020-09-29 11:28:49 +03:00
bharatnc
726b6ff6b6 TraceLog - mark to skip integration test 2020-09-29 11:28:49 +03:00
bharatnc
051d1a5f07 TraceLog - replace unit test with integration test 2020-09-29 11:28:49 +03:00
bharatnc
ac49360525 Field event_time_microseconds - add documentation 2020-09-29 11:28:49 +03:00
bharatnc
e8ff5315d1 Query,QueryThread Logs - add tests 2020-09-29 11:28:49 +03:00
bharatnc
1830df1d6b Query,QueryThread Logs - add event_time_microseconds field 2020-09-29 11:28:49 +03:00
bharatnc
c6b5ef1174 TraceLog - add tests for event_time_microseconds 2020-09-29 11:28:49 +03:00
bharatnc
b3c5aaff9e TraceLog - add field event_time_microseconds 2020-09-29 11:28:49 +03:00
bharatnc
b4e1116b55 TextLog - add tests for field event_time_microsec 2020-09-29 11:28:49 +03:00
bharatnc
e51dfc1314 Rename test_test_log_level to include related tests 2020-09-29 11:28:49 +03:00
bharatnc
142c482210 TextLog - add event_time_microseconds field 2020-09-29 11:28:49 +03:00
alesapin
5df5fb4cd0 Fix race condition in client suggestions 2020-09-29 11:28:49 +03:00
Azat Khuzhin
0adcb0a9a3 Set sanitizers options in the current shell too
/etc/environment will not be read in current shell, so export variables
from that file manually, to make clickhouse-local/clickhouse-client use
them too.
2020-09-29 11:28:49 +03:00
alesapin
6b31bcb074 Add release task config 2020-09-29 11:13:47 +03:00
Nikolai Kochetov
7270de2b0a Added test. 2020-09-29 11:12:43 +03:00
Azat Khuzhin
d553e56db7 Add a test for UAF in ThreadPool (triggered under ASAN) 2020-09-29 11:01:24 +03:00
Azat Khuzhin
1fcc36ef80 Use ThreadPool to ensure that everything has been finished in PipelineExecutor
This will fix possible UAF, since ThreadFromGlobalPool cannot wait until
the job will be reseted, for this you need to call ThreadPool::wait()
(that waits until scheduled_jobs will be zero), and this guarantee that
the job was reseted, otherwise some variables that job is referencing
may be already destroyed, while job hasn't been destoyed yet (example
that I found PipelineExecutor -> ThreadGroupStatusPtr -> MemoryTracker
-> ~MemoryTracker -> log, while log had been destroyed already, here is
TSAN report --
https://gist.github.com/azat/d480dc3af5a0a44de4b038e20807c4b9, copied
from
https://clickhouse-test-reports.s3.yandex.net/15035/79133a426fdf042e383ea0cdccc4dc8273baa3a7/functional_stateless_tests_(thread)/test_run.txt.out.log)
2020-09-29 11:00:03 +03:00
alesapin
eeea4106c2 Suppress race in OpenSSL 2020-09-29 10:59:35 +03:00
Azat Khuzhin
789434994a Reset job on failure too in ThreadPool::worker()
job should be reseted before decrementing scheduled_jobs to
ensure that the Job destroyed before wait() returns.
2020-09-29 10:56:36 +03:00
alesapin
bd531bb045
Merge pull request #15396 from ClickHouse/yet_another_retry
Fix some flaky tests: test_mysql_federated and 00652_replicated_mutations_zookeeper
2020-09-29 09:51:41 +03:00
zhang2014
a3bc152f73 ISSUES-15365 try fix integration test failure 2020-09-29 14:37:19 +08:00
zhang2014
18985645d9 ISSUES-15365 try fix integration test failure 2020-09-29 12:17:54 +08:00