Commit Graph

48889 Commits

Author SHA1 Message Date
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
zhang2014
9e94c077e7 IESSUES-15365 try fix integration test 2020-09-29 10:39:30 +08:00
Alexey Milovidov
dee57d7976 Format Regexp: change default escaping rule to Raw 2020-09-29 00:19:13 +03:00
Alexey Milovidov
e65465ac16 Fix install script 2020-09-29 00:11:08 +03:00
Alexey Milovidov
e4800e7b35 Fix comment 2020-09-29 00:10:36 +03:00
Alexander Kuzmenkov
6671b26f20 fixes 2020-09-28 21:43:47 +03:00
Alexander Kuzmenkov
3d1456a55d Merge remote-tracking branch 'origin/master' into HEAD 2020-09-28 21:19:53 +03:00
Nikolai Kochetov
347080ff9a Remove column from header descriotion for EXPLAIN PLAN and EXPLAIN PIPELINE 2020-09-28 20:37:11 +03:00
Alexander Kuzmenkov
51b9aaf4d8
Merge pull request #15363 from ClickHouse/format-regexp-raw
Add support for "Raw" column format for Regexp format
2020-09-28 20:03:32 +03:00
tavplubix
4578d89819
Merge pull request #15348 from ClickHouse/replicate_default_args
Continuation of #14791
2020-09-28 18:53:02 +03:00
tavplubix
421d3b0b86
Merge pull request #14760 from bharatnc/ncb/event_time_microsec_p2
add event_time_microseconds field for system.{trace,text,query,query_thread}_log tables
2020-09-28 18:34:21 +03:00
zhang2014
b14fb0e8d5 ISSUES-15365 try fix integration test 2020-09-28 23:00:01 +08:00
alesapin
071ff6c9af
Merge pull request #15063 from azat/symbolizers-settings-for-non-server
Set sanitizers options in the current shell too
2020-09-28 17:44:39 +03:00
myrrc
6c0c13cf18 slightly rewrote paths handling 2020-09-28 16:28:36 +03:00
zhang2014
e5a6d06820 ISSUES-15365 try fix integration test failure 2020-09-28 21:15:02 +08:00
myrrc
e19f51680a fixing links using abs path 2020-09-28 15:47:10 +03:00
Alexander Kuzmenkov
c48d212320 performance comparison 2020-09-28 15:09:08 +03:00
detailyang
6e70f2ce7a bugfix:aggregate:fix boundingratio args check 2020-09-28 19:56:42 +08:00
Alexander Kuzmenkov
1e7a0f0e5f typo 2020-09-28 14:44:49 +03:00
alesapin
a526a767df Fix some flaky tests 2020-09-28 14:17:07 +03:00
zhang2014
e40d23cfe5 ISSUES-15365 add ya make 2020-09-28 19:11:40 +08:00
Nikita Mikhaylov
72e4b10c00
Merge pull request #14842 from hexiaoting/hxt_dev
Fix bug for LineAsString Format
2020-09-28 14:02:23 +03:00
Nikita Mikhaylov
0321c2529c
Merge pull request #15353 from hexiaoting/build_bugfix2
fix bug for building query_db_generator.cpp
2020-09-28 13:32:54 +03:00
zhang2014
7e90e00f1a ISSUES-15365 add integration test 2020-09-28 18:27:02 +08:00
zhang2014
d3047d0783 ISSUES-15365 fix attach mysql database failure 2020-09-28 18:02:30 +08:00
alesapin
1adc0a8205 Fix race condition in client suggestions 2020-09-28 12:58:42 +03:00
Nikita Mikhaylov
73573472e9
Merge pull request #15299 from CurtizJ/fix-mysql-hung
Fix hang of queries with a lot of subqueries to same mysql table
2020-09-28 12:51:35 +03:00