Vitaly Baranov
c92219f01b
BACKUP now writes encrypted data for tables on encrypted disks.
2023-05-16 14:26:33 +02:00
Kruglov Pavel
b414760d43
Merge pull request #49673 from Avogar/fiber-local-var
...
Fix assert in SpanHolder::finish() with fibers
2023-05-16 11:59:33 +02:00
avogar
78064d0622
Better comments
2023-05-15 15:52:14 +00:00
avogar
b23afdc533
Fix build for aarch64-darwin
2023-05-15 15:48:00 +00:00
Sergei Trifonov
8f20085d9a
Merge pull request #48923 from ClickHouse/async-loader
...
Add AsyncLoader with dependency tracking and runtime prioritization
2023-05-14 15:12:39 +02:00
Alexey Milovidov
5a44dc26e7
Fixes for clang-17
2023-05-13 02:57:31 +02:00
Alexey Milovidov
12be14b195
Merge pull request #49819 from azat/fix-clock
...
Use CLOCK_MONOTONIC_RAW over CLOCK_MONOTONIC on Linux (fixes non monotonic clock)
2023-05-13 01:06:27 +03:00
Alexey Milovidov
efc5e69aaf
Merge pull request #49833 from HarryLeeIBM/hlee-s390x-simple-agg
...
Fix DefaultHash64 for s390x
2023-05-13 01:00:36 +03:00
Sergei Trifonov
a30a0d80f2
Merge branch 'master' into async-loader
2023-05-12 20:17:20 +02:00
serxa
195eafcaed
fix disable test
2023-05-12 14:51:33 +00:00
HarryLeeIBM
809fdc7b16
Fix DefaultHash64 for s390x
2023-05-12 06:00:47 -07:00
serxa
5807737804
temporarily disable JobFailure test
2023-05-12 12:02:45 +00:00
Robert Schulze
b9c185af44
Merge pull request #49678 from azat/build/llvm-16
...
Switch to LLVM/clang 16 (16.0.3)
2023-05-12 13:47:36 +02:00
alesapin
d147cb105c
Merge pull request #49755 from CurtizJ/fix-unit-test
...
Fix unit test `ExceptionFromWait`
2023-05-12 13:08:48 +02:00
Robert Schulze
922420420c
Merge pull request #49300 from ClickHouse/rs/functdocs
...
Introduce more fields for in-source function documentation
2023-05-12 11:36:04 +02:00
Azat Khuzhin
fa2074e67b
Use CLOCK_MONOTONIC_RAW over CLOCK_MONOTONIC on Linux (fixes non monotonic clock)
...
There is no bug in Linux, the issue that CLOCK_MONOTONIC returns values
less then previous calls likely happens due to adjtime(3) (NTP), since
CLOCK_MONOTONIC is affected by it, and I've seen lots of slight time
modifications due to NTP on the servers. And even on my desktop (I also
have NTP enabled):
CLOCK_MONOTONIC: 189292.803 (2 days + 4h 34m 52s)
CLOCK_MONOTONIC_RAW: 189290.016 (2 days + 4h 34m 50s)
However on Linux there is CLOCK_MONOTONIC_RAW, it is similar to
CLOCK_MONOTONIC, but does not affected by the adjtime(3).
About performance, it is the same:
CLOCK_MONOTONIC 10e6: real=0m0.191s user=0m0.190s sys=0m0.000s
CLOCK_MONOTONIC_RAW 10e6: real=0m0.191s user=0m0.191s sys=0m0.000s
Ops/s:
- AMD Threadripper: 52.3e6
- Xeon Silver 4216 2.10: 46.5e6
Fixes: c5d631ca54
Fixes : #29811 (cc @tavplubix)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-12 10:59:53 +02:00
Anton Popov
292cfe12af
Merge branch 'master' into fix-unit-test
2023-05-11 16:56:21 +02:00
Anton Popov
db52652337
fix unit test
2023-05-10 21:00:56 +00:00
Robert Schulze
9795d5403f
Merge branch 'master' into rs/msan-randomStringUTF8
2023-05-10 20:16:49 +02:00
Robert Schulze
374dbd9c39
Fix msan issue in randomStringUTF8(<uneven number>)
2023-05-10 17:49:23 +00:00
Kruglov Pavel
289af626ad
Merge branch 'master' into fiber-local-var
2023-05-10 18:21:46 +02:00
Sergei Trifonov
2169f077be
Merge branch 'master' into async-loader
2023-05-10 18:02:11 +02:00
Azat Khuzhin
a0cc5b7e47
Merge remote-tracking branch 'u/master' into build/llvm-16
2023-05-10 16:28:36 +02:00
Han Fei
d17aa828b3
Merge pull request #49361 from hanfei1991/hanfei/fiu
...
support named fault injection and add a simple test
2023-05-10 15:51:51 +02:00
Sergei Trifonov
0b2860d822
Merge branch 'master' into async-loader
2023-05-10 14:54:00 +02:00
avogar
a7aec49fbb
Fix indents
2023-05-10 12:43:29 +00:00
avogar
10e6f5b59a
Fix indents
2023-05-10 12:31:34 +00:00
avogar
0cf6b9f145
Inherit context from parent fiber
2023-05-10 12:27:13 +00:00
Han Fei
505d9be7b2
address comments
2023-05-10 13:56:17 +02:00
avogar
930c8c3043
Use own fiber local implementation
2023-05-09 18:56:09 +00:00
Azat Khuzhin
be39e8e566
Merge remote-tracking branch 'u/master' into build/llvm-16
...
Conflicts:
docker/test/codebrowser/Dockerfile
2023-05-09 20:40:43 +02:00
serxa
459181568c
remove not used ErrorCodes
2023-05-09 11:54:25 +00:00
Azat Khuzhin
a794177dc3
Use __powerpc64__ over __ppc64__ (clang 16 stops declaring __ppc64__)
...
From the release notes [1]:
To match GCC, __ppc64__ is no longer defined on PowerPC64 targets. Use __powerpc64__ instead.
[1]: https://releases.llvm.org/16.0.0/tools/clang/docs/ReleaseNotes.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-09 12:20:50 +02:00
Sergei Trifonov
4f9d443226
Merge branch 'master' into async-loader
2023-05-09 12:04:23 +02:00
Alexey Milovidov
a8bdb20fc4
Merge pull request #48787 from ClickHouse/background-memory-tracker
...
Add MemoryTracker for the background tasks [Resubmit]
2023-05-09 07:58:36 +03:00
Han Fei
64b67b9a37
Merge branch 'master' into hanfei/fiu
2023-05-09 01:14:30 +02:00
Han Fei
82ce47ce56
address comments
2023-05-08 23:02:36 +02:00
avogar
c961e3706e
Clean up
2023-05-08 16:52:57 +00:00
Igor Nikonov
8bc04d5fa8
Merge pull request #49636 from ClickHouse/fix-distinct-in-order-bug-49622
...
Fix: DISTINCT in order with zero values in non-sorted columns
2023-05-08 18:42:38 +02:00
avogar
b320527158
Fix assert in SpanHolder::finish() with fibers
2023-05-08 16:33:39 +00:00
Alexey Milovidov
3cf1da7bf3
Merge branch 'master' into deprecate-in-memory-parts
2023-05-08 01:38:00 +03:00
Igor Nikonov
fe02317d45
Clear zero value storage only if need_zero_value_storage
2023-05-07 22:16:16 +00:00
Igor Nikonov
ba2e827aa7
Fix: check if zero storage has zeros before clean up
2023-05-07 21:31:01 +00:00
Igor Nikonov
68fcc39292
Fix: DISTINCT in order with zero values in non-sorted columns
2023-05-07 21:09:03 +00:00
Alexey Milovidov
cfb35cb251
Fix typo: "as much slots" -> "as many slots"
2023-05-07 04:42:46 +02:00
Alexey Milovidov
61f1861d70
Fix error
2023-05-06 20:54:52 +02:00
Alexey Milovidov
b1a92a5712
Remove dangerous code
2023-05-06 18:30:18 +02:00
Alexey Milovidov
7897a6cf92
Remove dangerous code (stringstream)
2023-05-06 18:14:01 +02:00
Alexey Milovidov
26d435bd66
Merge pull request #49572 from CurtizJ/fix-thread-pool-wait
...
Fix `ThreadPool::wait`
2023-05-06 18:15:02 +03:00
Alexey Milovidov
75a2589a42
Merge branch 'master' into deprecate-in-memory-parts
2023-05-06 00:49:59 +03:00