Kruglov Pavel
019686f6e1
Fix bug in HadoopSnappyReadBuffer
2022-08-22 12:40:58 +02:00
Sema Checherinda
f8480c26e7
do not trigger allocator to return null under sanitizers
2022-08-19 11:22:34 +02:00
Sema Checherinda
128e1fec3d
Memory don't do alignment by itself, Allocator does
2022-08-18 16:01:30 +02:00
Sema Checherinda
b101ebdf32
check integer overflow at Memory class
2022-08-18 14:30:52 +02:00
Sema Checherinda
89bada927c
fix heap buffer overflow by limiting http chunk size
2022-08-18 14:30:52 +02:00
Nikolai Kochetov
5a85531ef7
Merge pull request #38286 from Avogar/schema-inference-cache
...
Add schema inference cache for s3/hdfs/file/url
2022-08-18 13:07:50 +02:00
kssenii
d63d34f7bb
Merge master
2022-08-17 15:49:32 +02:00
avogar
8dd54c043d
Merge branch 'master' of github.com:ClickHouse/ClickHouse into schema-inference-cache
2022-08-17 11:47:40 +00:00
kssenii
eb26b219b9
Merge master
2022-08-16 00:56:27 +02:00
Maksim Kita
58c9270a19
Merge branch 'master' into write-buffer-from-s3-potential-deadlock-fix
2022-08-15 19:20:55 +02:00
Maksim Kita
ee5e61c9a5
Fixed tests
2022-08-15 11:09:39 +02:00
Alexey Milovidov
914f4b8155
Merge pull request #40179 from HarryLeeIBM/hlee-s390x-file-enc
...
Fix Endian issue in FileEncryption for s390x
2022-08-13 22:48:48 +03:00
HarryLeeIBM
296835e2d3
Fix Endian issue in FileEncrption for s390x
2022-08-12 18:55:40 -07:00
Alexey Milovidov
6b8f4f1d59
Merge branch 'master' into server-side-time
2022-08-12 21:36:40 +02:00
Alexander Tokmakov
a9c6a883dc
Merge pull request #40158 from ClickHouse/make_tests_less_flaky
...
Set sync_request_timeout to 10 to avoid reconnections in tests
2022-08-12 22:08:53 +03:00
Kseniia Sumarokova
a6cfc7bc3b
Merge pull request #34651 from alexX512/master
...
New caching strategies
2022-08-12 17:23:37 +02:00
Alexey Milovidov
8c3d1f2b5b
Merge branch 'master' into server-side-time
2022-08-12 17:40:02 +03:00
Alexander Tokmakov
fe7e8dbc3c
fix my favorite ctor
2022-08-12 16:28:21 +02:00
Alexander Tokmakov
0395dca7be
set sync_request_timeout to 10 to avoid reconnections in tests
2022-08-12 15:30:46 +02:00
kssenii
768a207176
Merge master
2022-08-11 22:25:53 +02:00
Maksim Kita
6a7dbc556c
WriteBufferFromS3 potential deadlock fix
2022-08-11 18:22:01 +02:00
Kseniia Sumarokova
be69169f97
Merge pull request #38048 from KinderRiven/decoupling_cache_function_and_algorithm
...
Decoupling local cache function and cache algorithm
2022-08-11 16:49:56 +02:00
Alexey Milovidov
0b24dbaec8
Merge
2022-08-10 19:41:44 +02:00
KinderRiven
9d83b93e88
fix rebase
2022-08-11 00:11:40 +08:00
Alexey Milovidov
c283351a5f
Fix error
2022-08-10 09:31:24 +02:00
Alexey Milovidov
5bc85a6178
Do not write elapsed_ns in HTTP headers
2022-08-10 09:09:04 +02:00
Tanya Bragin
eb61db3b67
initial changes to close #37492
2022-08-08 19:45:00 -07:00
alexX512
c9c26d4898
Fix review
2022-08-08 21:34:24 +00:00
Alexey Milovidov
db85ebfaa7
Add server-side time to Progress
2022-08-08 06:55:41 +02:00
alexX512
62f84b88eb
Review fixes
2022-08-07 20:02:21 +00:00
alexX512
6bf29cb610
Change class LRUCache to class CachBase. Check running CacheBase with default pcahce policy SLRU
2022-08-07 19:59:30 +00:00
alexX512
1133e42367
Add CacheBase clas instead of LRUCache and SLRUCache fo simpler configuration oache policiesf
2022-08-07 19:16:40 +00:00
kssenii
7a9b0bc47f
Merge master
2022-08-05 01:48:52 +02:00
Kseniia Sumarokova
bd5610b732
Merge branch 'master' into update-azure-lib
2022-08-03 23:00:57 +02:00
Alexey Milovidov
316528817b
Merge pull request #39179 from azat/fsync-profile-events
...
Add profile events for fsync
2022-08-02 05:44:35 +03:00
Azat Khuzhin
3e627e2861
Add profile events for fsync
...
The following new provile events had been added:
- FileSync - Number of times the F_FULLFSYNC/fsync/fdatasync function was called for files.
- DirectorySync - Number of times the F_FULLFSYNC/fsync/fdatasync function was called for directories.
- FileSyncElapsedMicroseconds - Total time spent waiting for F_FULLFSYNC/fsync/fdatasync syscall for files.
- DirectorySyncElapsedMicroseconds - Total time spent waiting for F_FULLFSYNC/fsync/fdatasync syscall for directories.
v2: rewrite test to sh with retries
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-31 23:19:30 +03:00
kssenii
e5f4a619ed
Merge master
2022-07-31 20:24:40 +03:00
kssenii
687f0fabfc
Move some dependencies
2022-07-31 20:17:22 +03:00
Robert Schulze
a7734672b9
Use std::popcount, ::countl_zero, ::countr_zero functions
...
- Introduced with the C++20 <bit> header
- The problem with __builtin_c(l|t)z() is that 0 as input has an
undefined result (*) and the code did not always check. The std::
versions do not have this issue.
- In some cases, we continue to use buildin_c(l|t)z(), (e.g. in
src/Common/BitHelpers.h) because the std:: versions only accept
unsigned inputs (and they also check that) and the casting would be
ugly.
(*) https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
2022-07-31 15:16:51 +00:00
Alexey Milovidov
22bc89690d
Merge pull request #39222 from azat/fix-http-session
...
Do not report "Failed communicating with" on and on for parts exchange
2022-07-31 02:24:05 +03:00
Vitaly Baranov
2f3b27d1ac
Fix seeking while reading from encrypted disk.
2022-07-29 12:45:29 +02:00
Vitaly Baranov
3b6bacbf0b
Add tests.
2022-07-28 22:38:50 +02:00
Vladimir C
ee515b8862
Merge pull request #39656 from HarryLeeIBM/hlee-s390x-bit-helpers
...
Fix Endian issue in BitHelpers for s390x
2022-07-28 13:31:14 +02:00
Vladimir C
a8be51f4df
Merge pull request #39567 from Algunenano/progress_result_rows_and_bytes
...
Add result_rows and result_bytes to progress reports
2022-07-27 16:43:55 +02:00
HarryLeeIBM
3639ecfc56
Fix Endian issue in BitHelpers
2022-07-27 06:56:04 -07:00
alesapin
2dfb547847
Merge pull request #39054 from SmitaRKulkarni/add-option-for-outfile-to-print-stdout
...
Add an option to INTO OUTFILE to also print details to standard output.
2022-07-27 13:51:38 +02:00
Kruglov Pavel
381ea139c2
Merge branch 'master' into schema-inference-cache
2022-07-27 11:35:36 +02:00
Kseniia Sumarokova
7d448fc177
Merge pull request #39244 from kssenii/http-buffer-small-fixes
...
Some small fixes for http read buffer, allow to retry partial content in case of 200ok
2022-07-26 14:47:11 +03:00
Raúl Marín
6e3a4b0a3d
Add result_rows and result_bytes to progress reports and summary
2022-07-26 10:40:16 +02:00
Kseniia Sumarokova
9abbb35cda
Fix integration test
2022-07-25 23:40:23 +03:00