Commit Graph

114193 Commits

Author SHA1 Message Date
Nikolay Degterinsky
434aa3e4e0 Fix build 2023-04-28 18:54:18 +00:00
Robert Schulze
7609832606
Unpoison stack frame ptrs from libunwind for msan
Turned out that in msan builds, stack frame pointers explicitly returned
by unw_backtrace() in Common/StackTrace.cpp were unpoisened, but stack
frame pointers returned from the same function under the
STD_EXCEPTION_HAS_STACK_TRACE define in std::exception (see (*)) were
not. I tried unpoisoning directly in libcxx. Since this didn't work,
this PR unpoisons where get_stack_trace_frames() is called.

I don't know why this issue never occurred in CI but it fixes #48385 for
me (where msan complains about reads of uninitialized data when query
cache squashes and compresses chunks produced from SELECT last_error_trace
FROM system.errors).

Fixes: #48385

(*) https://github.com/ClickHouse/llvm-project/pull/7/files#diff-8c81d74ef72967be2fa27a31275000aa18532a583490f9673c62d7b981a5b39c
2023-04-28 17:43:12 +00:00
Alexey Milovidov
cd171bef7d
Merge pull request #45999 from sichenzhao/cgroup_v2
Updates AsyncMetrics cgroup-memory to support cgroupv2
2023-04-28 20:39:53 +03:00
Mike Kot
2d20658885
Merge branch 'master' into feature/show-secrets-option 2023-04-28 20:19:35 +03:00
Mikhail f. Shiryaev
01e70c64c2
Add a fallback to authenticated requests to GH API 2023-04-28 18:46:33 +02:00
Shane Andrade
a60ee304b3
Merge branch 'master' into date-trunc-return-date-time 2023-04-28 09:16:40 -07:00
Nikolai Kochetov
8465b6cdf0
Merge pull request #49139 from ClickHouse/remove-upgradable-mutex
Use `SharedMutex` instead of `UpgradableMutex`
2023-04-28 17:40:08 +02:00
alesapin
70ee02a3eb Add node holder 2023-04-28 17:39:32 +02:00
Nikolay Degterinsky
69d8d41197 Add docs, better tests 2023-04-28 15:12:48 +00:00
Nikolay Degterinsky
54c8f63a33 Fixes 2023-04-28 15:12:06 +00:00
Dmitry Novik
2d156d09ab Fix 02516_join_with_totals_and_subquery_bug with new analyzer 2023-04-28 14:47:30 +00:00
Kseniia Sumarokova
a04025623c
Update FileCache.cpp 2023-04-28 16:47:15 +02:00
Kseniia Sumarokova
b2aa2aa244
Fix 2023-04-28 16:45:00 +02:00
Alexey Milovidov
911d4e9977
Merge branch 'master' into fix_some_tests3 2023-04-28 17:23:46 +03:00
Alexander Tokmakov
691fdbf6a6
Update StorageReplicatedMergeTree.cpp (#49302) 2023-04-28 17:21:03 +03:00
Dmitry Novik
0520342cd5
Merge pull request #49116 from ClickHouse/fix-analyzer-tests
Fix tests with enabled analyzer
2023-04-28 16:07:25 +02:00
Mikhail f. Shiryaev
8c60b60916
Receive the best robot token only once 2023-04-28 16:01:53 +02:00
Mike Kot
f1d0ed367d separate name for format setting 2023-04-28 13:39:38 +00:00
Mike Kot
7bffa89e96 add all 3 settings 2023-04-28 13:22:36 +00:00
Alexey Milovidov
c86d3daee5
Update AsynchronousMetrics.cpp 2023-04-28 16:21:37 +03:00
Alexey Milovidov
309291a27c
Merge pull request #49250 from FrankChen021/test
Don't choose io_uring when running test on macOS
2023-04-28 16:17:30 +03:00
Alexey Milovidov
6dcfdbfaf2
Merge branch 'master' into clusters_is_active_column 2023-04-28 16:16:25 +03:00
Alexey Milovidov
85d78a6265
Merge pull request #49286 from ClickHouse/added-documentation-for-kolmogorov-smirnov-test-2
Added an alias `asymptotic` for `asymp` computational method for `kolmogorovSmirnovTest`.
2023-04-28 16:15:24 +03:00
Alexey Milovidov
d585071e86
Merge pull request #49263 from ClickHouse/fix-garbage
Fix garbage #48719
2023-04-28 16:14:56 +03:00
Anton Popov
bbdfb9dcd2
Merge pull request #48300 from aiven-sal/aiven-sal/case2
Allow NULLs in CASE and transform
2023-04-28 14:58:47 +02:00
alesapin
ef49603432 Merge branch 'master' into fix_zero_copy_not_atomic 2023-04-28 14:42:30 +02:00
robot-ch-test-poll1
f724a60fdd
Merge pull request #49295 from fky2015/patch-1
docs: update build.md, add missing argument value.
2023-04-28 14:41:28 +02:00
MikhailBurdukov
5c9959af49 Resolve conservation 2023-04-28 12:40:47 +00:00
Boris Kuschel
e640d79765
Update Curl to latest 2023-04-28 04:59:06 -07:00
Boris Kuschel
dcfee036a8
One more file 2023-04-28 04:59:05 -07:00
Boris Kuschel
449f63a2ef
Add missing files 2023-04-28 04:59:04 -07:00
Boris Kuschel
2246306370
remove commented lines 2023-04-28 04:59:03 -07:00
Boris Kuschel
7f91105e7d
Update curl to 8.0.1 2023-04-28 04:59:02 -07:00
kssenii
e603adfd4c Merge remote-tracking branch 'upstream/master' into better-local-object-storage 2023-04-28 13:26:57 +02:00
kssenii
298ed454ce Merge remote-tracking branch 'upstream/master' into better-local-object-storage 2023-04-28 13:26:55 +02:00
Raúl Marín
bb4a7f65de
Slight improvements to coordinator logging (#49204) 2023-04-28 13:25:53 +02:00
Kseniia Sumarokova
107474a42f
Merge pull request #44985 from kssenii/cache-better-locks
Rework locking in fs cache
2023-04-28 12:24:55 +02:00
Robert Schulze
c583a4f8cd
Merge pull request #49222 from DanRoscigno/add-examples-to-functions
Extend system.functions with in-source documentation
2023-04-28 11:56:35 +02:00
Azat Khuzhin
c8ec152f57 Add ability to use strict parts size for S3 (compatibility with R2)
The are some implementations that does not allow to use parts of
different size for multi-part upload:

- CouldFlare R2 [1] and also got help on discord
- AWS S3 Glacier [2]
- and I also know of one bug in Google Cloud Storage (GCS), but it
  should be fixed in a couple of months.

  [1]: https://developers.cloudflare.com/r2/reference/changelog/#2022-10-28
       > Multipart upload part sizes are always expected to be of the
       > same size, but this enforcement is now done when you complete
       > an upload instead of being done very time you upload a part

  [2]: https://docs.aws.amazon.com/amazonglacier/latest/dev/api-multipart-initiate-upload.html

On top of this I'm going to add auto detection of this issue for disks,
but not for S3 function, since those checks are quite costly, and they
need to write at least 5MB*3, which may be questionable.

v2: mark test as long [1]
    [1]: https://s3.amazonaws.com/clickhouse-test-reports/48492/d4a90880e947ab3a17b3eddeea274afed8ebceb4/stateless_tests_flaky_check__asan_.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-28 11:01:56 +02:00
Feng Kaiyu
2e14b91b92
docs: update build.md, add missing argument value.
`--build` need an option (`build`).
2023-04-28 16:53:19 +08:00
Robert Schulze
fd5c8355b0
Merge pull request #49288 from ClickHouse/rs/nasm
Update build for nasm
2023-04-28 10:43:24 +02:00
Mike Kot
e428af0b63 replace format settings with server setting 2023-04-27 21:27:18 +00:00
Mike Kot
b24de29c70 reverting mr changes 2023-04-27 20:37:12 +00:00
Alexey Milovidov
4dccd5f9b0
Update AsynchronousMetrics.cpp 2023-04-27 23:20:38 +03:00
Mike Kot
357cde95e9 Merge branch 'master' into feature/show-secrets-option 2023-04-27 20:19:40 +00:00
kssenii
f7404d7e72 Fix 2023-04-27 21:40:55 +02:00
Robert Schulze
744acc943c
Update CMakeLists.txt 2023-04-27 19:43:51 +02:00
Robert Schulze
742a93f168
Check NASM exists 2023-04-27 17:42:09 +00:00
Robert Schulze
fcf0bb2aa0
Update build guide for nasm, #49254 2023-04-27 17:20:53 +00:00
Nikolay Degterinsky
df1e56b985 Merge remote-tracking branch 'upstream/master' into bcrypt 2023-04-27 17:01:58 +00:00