Commit Graph

49075 Commits

Author SHA1 Message Date
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
2be3854e61 Move release to clang-11 2020-09-29 11:15:33 +03:00
alesapin
f104da48d2 Merge branch 'master' into 100_percent_lld_11_for_clang_11 2020-09-29 11:14:47 +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
f9f8361114 Better ci config 2020-09-29 10:21:51 +03:00
alesapin
e77c11a2c9 Fix config 2020-09-29 10:19:03 +03:00
alesapin
9f89fe095a Missed changes 2020-09-29 10:17:02 +03:00
alesapin
eafcec7ebf Move release build to clang-11 2020-09-29 10:15:05 +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
Anna
ac859470a3 Translate to Russian 2020-09-28 23:58:08 +03:00
Alexander Kuzmenkov
81afc197d5 restart 2020-09-28 21:53:28 +03:00
Alexander Kuzmenkov
6671b26f20 fixes 2020-09-28 21:43:47 +03:00
Denny Crane
d9e5593808
Update settings.md
fix description of max_server_memory_usage
2020-09-28 15:26:38 -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
dmi-feo
9014722695
fix insert_quorum_timeout doc
06d7b6cbef/src/Core/Settings.h (L160)
2020-09-28 19:25:36 +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
filimonov
5b142ac37f
Update settings.md 2020-09-28 17:01:28 +02: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