Commit Graph

61410 Commits

Author SHA1 Message Date
Maksim Kita
0bfb429c42
Merge pull request #22479 from kitaisreal/clickhouse-dictionary-source-loop-fix
ClickHouseDictionarySource loop fix
2021-04-04 13:29:17 +03:00
Azat Khuzhin
44abb7588a StorageStripeLog: avoid UB for rwlock unlock due to unlock from another thread 2021-04-04 13:25:44 +03:00
Azat Khuzhin
89a96cf14d StorageLog: avoid UB for rwlock unlock due to unlock from another thread 2021-04-04 13:25:44 +03:00
Azat Khuzhin
5d795661ed StorageTinyLog: add regression test for UB due to unlock from different thread
Refs: #22560
2021-04-04 13:25:44 +03:00
Azat Khuzhin
5ced6e2e9a StorageStripeLog: drop mutable qualifier for rwlock 2021-04-04 13:25:43 +03:00
Azat Khuzhin
5ef845af40 StorageLog: drop mutable qualifier for rwlock 2021-04-04 13:25:43 +03:00
Alexey Milovidov
729214c845 Fix some tests on AArch64 2021-04-04 13:11:36 +03:00
Alexey Milovidov
d67ced585a Fix engrish 2021-04-04 13:09:39 +03:00
fuqi
043bd11d2e fix dist map type select 2021-04-04 18:00:30 +08:00
Nicolae Vartolomei
49abdeb967 Try flush write buffer only if it is initialized
Fixes #22579
2021-04-04 12:59:51 +03:00
Alexey Milovidov
3ae0c7e17a Fix CPU-dependent behaviour in tests 2021-04-04 12:55:04 +03:00
Olga Revyakina
3f33ab064e Added Polygon NULL support from #21890 2021-04-04 12:47:33 +03:00
Olga Revyakina
da3f973eac Minor fixes 2021-04-04 12:41:30 +03:00
Olga Revyakina
3fc988f6e6 Polygon link added 2021-04-04 12:39:04 +03:00
olgarev
0d075622cb
Update docs/ru/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-structure.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-04-04 12:37:38 +03:00
Alexey Milovidov
54caa61af5 Fix comments 2021-04-04 12:33:06 +03:00
alexey-milovidov
7512227431
Merge pull request #22582 from ClickHouse/round-arm-bankers
Make round function to behave consistently on non-x86_64
2021-04-04 12:25:22 +03:00
alesapin
c7da76e633 Fix style 2021-04-04 12:24:32 +03:00
Alexey Milovidov
41dfcb7bec Fix flaky test after #22427 2021-04-04 12:24:00 +03:00
fuqi
b590926c1c fix dist map type select 2021-04-04 17:23:47 +08:00
alesapin
71754a44eb Simplier binary downloader 2021-04-04 12:21:44 +03:00
Alexey Milovidov
8b5d0a598f Minor improvement in index deserialization 2021-04-04 12:17:54 +03:00
alexey-milovidov
569cc8638c
Merge pull request #22580 from ClickHouse/qemu-user-disable-profiler
Allow query profiling only on x86_64
2021-04-04 12:04:30 +03:00
alesapin
548ec6d2cb Trying enabled setting 2021-04-04 11:02:09 +03:00
Olga Revyakina
adf494ae1f Nullable types 2021-04-04 11:00:48 +03:00
Alexey Milovidov
a0f2b85cd3 Make round function to behave consistently on non-x86_64 2021-04-04 05:21:56 +03:00
alexey-milovidov
b35ba1152f
Update IColumnDummy.h 2021-04-04 05:04:11 +03:00
Alexey Milovidov
3f2f53d2bb Allow query profiling only on x86_64 2021-04-04 04:52:41 +03:00
Maksim Kita
b9e8ff137a Fixed build 2021-04-04 01:19:57 +03:00
mastertheknife
4a79c52978 Fix tab\space in xz.cmake 2021-04-04 01:16:00 +03:00
mastertheknife
65ca073f42 Allow unbundled xz (lzma) using USE_INTERNAL_XZ_LIBRARY=OFF 2021-04-04 01:05:07 +03:00
alexey-milovidov
cb4e119c3d
Merge pull request #22561 from traceon/apple-clang-compilation-fix
AppleClang compilation fix
2021-04-04 00:25:58 +03:00
Alexey Milovidov
e684b463ae Add test 2021-04-03 22:51:37 +03:00
Alexey Milovidov
3050486308 Fix assert in Arena 2021-04-03 22:50:49 +03:00
alexey-milovidov
d0effbb0fc
Merge pull request #22534 from ClickHouse/minor-fixes-in-tests
Minor fixes in tests for AArch64
2021-04-03 22:10:43 +03:00
alexey-milovidov
89db2b1ffc
Merge pull request #22542 from azat/fuzzer-fix
Filter removed/renamed tests from ci-changed-files.txt for fuzzer
2021-04-03 22:05:47 +03:00
alexey-milovidov
67fdfd4b89
Merge pull request #22560 from azat/tiny-log-rwlock-ub-fix
Fix UB by unlocking the rwlock of the TinyLog from the same thread
2021-04-03 21:59:01 +03:00
Denis Glazachev
36b03b2740 Compilation fix 2021-04-03 22:17:51 +04:00
alesapin
75cd37f359 More retries 2021-04-03 18:05:10 +03:00
alesapin
1906c77884 Fix tidy one more time 2021-04-03 17:57:03 +03:00
Azat Khuzhin
6cebd3ee1f Fix UB by unlocking the rwlock of the TinyLog from the same thread
Before this patch the build with libstdc++ hangs for
00967_insert_into_distributed_different_types test (and I guess some
others), this is because the rwlock is acquired from different thread as
it was unlocked which causes UB [1], fix this by moving unlock into
writeSuffix().

  [1]: The pthread_rwlock_unlock() function shall release a lock held on
       the read-write lock object referenced by rwlock. Results are undefined
       if the read-write lock rwlock is not held by the **calling thread**.
2021-04-03 16:04:39 +03:00
Azat Khuzhin
10d35867e3 Drop mutable qualifier for StorageTinyLog::rwlock 2021-04-03 16:03:17 +03:00
alesapin
925f2103f0 Update NuRaft submodules (merge with master + better autoforwarding 2021-04-03 15:37:24 +03:00
tavplubix
6d9852344f
Merge pull request #22543 from ClickHouse/tavplubix-patch-1
Try fix flaky test
2021-04-03 15:34:03 +03:00
alesapin
0204f5dd35 Merge branch 'master' into merge_tree_deduplication 2021-04-03 15:24:26 +03:00
alesapin
dc9f776e15 More stable 2021-04-03 15:23:24 +03:00
alesapin
7d4415a2d0 Better logs snarfing 2021-04-03 15:17:28 +03:00
alesapin
b127e31451 CI fixes 2021-04-03 14:56:56 +03:00
Maksim Kita
2f1f9692e6 Fixed test 2021-04-03 13:58:11 +03:00
tavplubix
541b601317
Try fix flaky test 2021-04-03 13:25:40 +03:00