mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-13 18:02:24 +00:00
disable TSAN for real
This commit is contained in:
parent
0aa75e6023
commit
04128c33e1
@ -15,8 +15,6 @@ include(${ClickHouse_SOURCE_DIR}/cmake/dbms_glob_sources.cmake)
|
||||
add_headers_and_sources(storages_system .)
|
||||
list (APPEND storages_system_sources ${CONFIG_BUILD})
|
||||
|
||||
set_source_files_properties(StorageSystemStackTrace.cpp PROPERTIES COMPILE_FLAGS -fno-sanitize=thread)
|
||||
|
||||
add_custom_target(generate-contributors
|
||||
./StorageSystemContributors.sh
|
||||
SOURCES StorageSystemContributors.sh
|
||||
|
@ -47,7 +47,7 @@ namespace
|
||||
|
||||
LazyPipeFDs notification_pipe;
|
||||
|
||||
void signalHandler(int, siginfo_t * info, void * context)
|
||||
void NO_SANITIZE_THREAD signalHandler(int, siginfo_t * info, void * context)
|
||||
{
|
||||
auto saved_errno = errno; /// We must restore previous value of errno in signal handler.
|
||||
|
||||
@ -79,7 +79,7 @@ namespace
|
||||
}
|
||||
|
||||
/// Wait for data in pipe and read it.
|
||||
bool wait(int timeout_ms)
|
||||
bool NO_SANITIZE_THREAD wait(int timeout_ms)
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
@ -127,7 +127,7 @@ namespace
|
||||
}
|
||||
|
||||
|
||||
StorageSystemStackTrace::StorageSystemStackTrace(const StorageID & table_id_)
|
||||
NO_SANITIZE_THREAD StorageSystemStackTrace::StorageSystemStackTrace(const StorageID & table_id_)
|
||||
: IStorageSystemOneBlock<StorageSystemStackTrace>(table_id_)
|
||||
{
|
||||
notification_pipe.open();
|
||||
@ -160,7 +160,7 @@ NamesAndTypesList StorageSystemStackTrace::getNamesAndTypes()
|
||||
}
|
||||
|
||||
|
||||
void StorageSystemStackTrace::fillData(MutableColumns & res_columns, const Context &, const SelectQueryInfo &) const
|
||||
void NO_SANITIZE_THREAD StorageSystemStackTrace::fillData(MutableColumns & res_columns, const Context &, const SelectQueryInfo &) const
|
||||
{
|
||||
/// It shouldn't be possible to do concurrent reads from this table.
|
||||
std::lock_guard lock(mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user