kssenii
18dd74be0c
Remove unneede changes
2022-05-11 10:26:30 +02:00
fenglv
175175a16e
fix wrong argument in proxy resolver of DiskS3
2022-05-11 04:16:05 +00:00
kssenii
ccab49e3cf
Merge master
2022-05-10 19:33:34 +02:00
kssenii
f4b45a5805
Better profile events
2022-05-10 16:00:53 +02:00
kssenii
2f0f76369a
Better
2022-05-09 21:25:26 +02:00
Anton Ivashkin
6a6505c224
Merge master
2022-05-09 17:21:34 +03:00
Anton Ivashkin
5c72da83d3
Fix typos
2022-05-09 17:19:53 +03:00
Robert Schulze
61cbcbf073
Enable clang-tidy readability-misleading-indentation
...
Official docs:
Correct indentation helps to understand code. Mismatch of the
syntactical structure and the indentation of the code may hide serious
problems.
2022-05-08 19:12:01 +02:00
kssenii
0e9e1dd000
Fix assert in case cache forcefully dropped
2022-05-07 23:19:44 +02:00
Alexey Milovidov
4eac661588
Merge branch 'master' into master
2022-05-07 13:21:59 +03:00
kssenii
7e9913509f
Fix build
2022-05-06 14:22:01 +02:00
kssenii
c60a3be0ce
Better
2022-05-06 13:42:52 +02:00
kssenii
fd1ab053f8
Merge master
2022-05-06 12:50:33 +02:00
kssenii
23d9230acd
Do not throw logical error for detached file segment
2022-05-06 12:48:16 +02:00
Kseniia Sumarokova
6d302c59e8
Merge pull request #36951 from ClickHouse/remove-strange-code
...
Remove strange code
2022-05-06 11:12:12 +02:00
Alexey Milovidov
996d838ca3
Merge pull request #36817 from DevTeamBK/Clang-tidy-Fixes
...
Clang -Tidy Fixes
2022-05-06 02:01:00 +03:00
Alexey Milovidov
490bdf5249
Fix style
2022-05-05 23:46:57 +02:00
Alexey Milovidov
e73dddb8c5
Remove strange code
2022-05-05 22:59:41 +02:00
kssenii
808ab75d74
Fix
2022-05-04 23:17:31 +02:00
Kruglov Pavel
d91b9b3049
Merge pull request #36882 from kssenii/add-current-metrics-for-filesystem-cache
...
Add some CurrentMetrics for fs cache
2022-05-04 14:44:12 +02:00
kssenii
ab65e163fa
Add current metrics
2022-05-03 19:35:04 +02:00
kssenii
0266cdf125
Add entries to cache log when cache was not event attempted
2022-05-03 18:29:41 +02:00
kssenii
000f2c9f7a
Better
2022-05-03 15:55:36 +02:00
Azat Khuzhin
da974585f1
Remove unimplemented RAID1 support
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-02 13:59:13 +03:00
KinderRiven
9c44ef1188
fix
2022-05-01 19:45:16 +08:00
KinderRiven
9413aa423b
fix
2022-05-01 19:45:16 +08:00
KinderRiven
e0fc7870a8
fix style
2022-05-01 19:45:16 +08:00
KinderRiven
1145570c08
fix and add test for system.filesystem_cache_log
2022-05-01 19:45:16 +08:00
KinderRiven
e1acacf831
fix
2022-05-01 19:45:16 +08:00
KinderRiven
01210c8d38
fix header
2022-05-01 19:45:16 +08:00
KinderRiven
d80aa0fd17
impl system.filesystem_cache_log
2022-05-01 19:45:16 +08:00
KinderRiven
d595df1604
fix
2022-05-01 19:45:16 +08:00
KinderRiven
6a2e4559c8
impl system.cache_log
2022-05-01 19:45:16 +08:00
KinderRiven
ce9a6965d0
impl system.log_table
2022-05-01 19:45:16 +08:00
KinderRiven
9c9870f021
build cache_log table
2022-05-01 19:45:16 +08:00
KinderRiven
5a361a0db5
impl cache_log in filecache
2022-05-01 19:45:16 +08:00
Kseniia Sumarokova
66f62b2ba6
Merge pull request #36632 from DevTeamBK/Fix-Coverity-Issues
...
Minor Coverity defects fixes
2022-04-30 15:11:40 +02:00
Kseniia Sumarokova
56f37d54ab
Merge pull request #36809 from ClickHouse/kssenii-patch-3
...
Update CachedReadBufferFromRemoteFS.cpp
2022-04-30 12:57:51 +02:00
Alexey Milovidov
1ddb04b992
Merge pull request #36715 from amosbird/refactorbase
...
Reorganize source files so that base won't depend on Common
2022-04-30 09:40:58 +03:00
HeenaBansal2009
042157efca
Clang -Tidy Fixes
2022-04-29 20:17:45 -07:00
Kseniia Sumarokova
7191d3d75b
Update CachedReadBufferFromRemoteFS.cpp
2022-04-29 19:13:35 +02:00
HeenaBansal2009
631b0154c0
Reverted change from ReadBufferFromRemoteFSGather.cpp
2022-04-29 07:21:35 -07:00
Kseniia Sumarokova
ca994e0861
Merge pull request #36660 from kssenii/fix-stress-test
...
Fix stress test after 36639
2022-04-29 12:56:25 +02:00
Amos Bird
4a5e4274f0
base should not depend on Common
2022-04-29 10:26:35 +08:00
mergify[bot]
41aa85fd4c
Merge branch 'master' into fix-stress-test
2022-04-29 00:54:09 +00:00
kssenii
84490d5198
Fix
2022-04-28 18:33:25 +02:00
HeenaBansal2009
3ac9434c57
Merge branch 'master' into Fix-Coverity-Issues
2022-04-28 08:14:50 -07:00
Sergei Trifonov
11f40376ae
Merge pull request #34571 from surahman/CH-31221-AWS-S3-object-version-id
...
[CH-31221] AWS S3 Object Version Specification
2022-04-28 15:45:33 +02:00
Kseniia Sumarokova
4c371f710e
Merge pull request #36676 from kssenii/refactor-with-size-buffer
...
Better version of SeekableReadBufferWithSize
2022-04-28 13:44:25 +02:00
kssenii
da1392877a
Better
2022-04-27 20:01:59 +02:00
HeenaBansal2009
a34fca27d5
Incorporated review comments
2022-04-26 11:12:14 -07:00
HeenaBansal2009
13a9a8fd5e
Style check fix
2022-04-26 07:13:09 -07:00
HeenaBansal2009
267f426605
Minor Coverity defetcs fixes
2022-04-26 07:13:09 -07:00
kssenii
0c43b7b08a
Merge master
2022-04-26 16:10:47 +02:00
kssenii
9d364cdce2
Refactor
2022-04-26 15:33:53 +02:00
kssenii
a395532d54
Add support for exact right bounded reads for some other buffers
2022-04-26 12:56:40 +02:00
Sergei Trifonov
c1a0165f7d
merge from master and fix conflicts
2022-04-26 12:39:16 +02:00
Sergei Trifonov
2aa17630be
fix build
2022-04-26 12:30:04 +02:00
Vitaly Baranov
88b0cf3ca0
Fix TemporaryFileOnDisk
2022-04-25 16:33:38 +02:00
alesapin
2559d62d74
Better logging and bugfixes
2022-04-22 15:35:25 +02:00
mergify[bot]
cd8fa75546
Merge branch 'master' into fix_trash
2022-04-21 21:45:31 +00:00
alesapin
cbced6567d
Fix build
2022-04-21 17:32:23 +02:00
kssenii
1b008b0014
Fix test
2022-04-21 14:48:07 +02:00
alesapin
5465415751
Fix replace/move partition with zero copy replication
2022-04-21 14:39:12 +02:00
kssenii
24e376337d
Merge with master
2022-04-21 12:33:56 +02:00
alesapin
c14e2e0b96
Fix more
2022-04-20 21:08:26 +02:00
Sergei Trifonov
34842f209c
merge master and fix conflicts
2022-04-20 18:35:56 +02:00
Kseniia Sumarokova
df8312b357
Merge pull request #36388 from kssenii/fix-s3-tests-3
...
Fix test 01161_all_system_tables under s3 storage
2022-04-20 15:46:12 +02:00
alesapin
829854113b
Add a little thread safety
2022-04-20 15:10:36 +02:00
alesapin
612a81ba24
Update src/Disks/IDisk.h
...
Co-authored-by: tavplubix <tavplubix@clickhouse.com>
2022-04-20 13:58:31 +02:00
alesapin
a9131de657
Merge branch 'fix_trash' of github.com:ClickHouse/ClickHouse into fix_trash
2022-04-20 13:27:03 +02:00
alesapin
2eee79dc2a
Review fixes
2022-04-20 13:26:20 +02:00
alesapin
40c15222f8
Merge branch 'master' into fix_trash
2022-04-20 12:45:49 +02:00
kssenii
5fc4aaaa2d
Better
2022-04-20 10:42:07 +02:00
Kseniia Sumarokova
f37812f89a
Merge pull request #36079 from kssenii/change-hashed-path
...
Change hashed path for cache
2022-04-20 10:27:44 +02:00
Kseniia Sumarokova
766a84e64f
Merge pull request #35915 from kssenii/better-s3-settings
...
Better settings configuration for s3
2022-04-20 10:22:06 +02:00
alesapin
033a3475a5
Update src/Disks/IDiskRemote.cpp
2022-04-19 17:57:12 +02:00
kssenii
2fb331bcec
Better
2022-04-19 17:32:46 +02:00
kssenii
7cfc0ac433
Merge with master
2022-04-19 15:13:45 +02:00
alesapin
7c2fcee351
Simplify interface
2022-04-19 14:13:11 +02:00
alesapin
cc06bc3d99
Add some clarifications
2022-04-19 14:01:30 +02:00
Sergei Trifonov
75c1053ad7
Merge remote-tracking branch 'origin/master' into surahman-CH-31221-AWS-S3-object-version-id
2022-04-19 13:17:25 +02:00
mergify[bot]
64d5e0c8a2
Merge branch 'master' into change-hashed-path
2022-04-19 09:33:48 +00:00
mergify[bot]
d22f538b41
Merge branch 'master' into fix-s3-tests-3
2022-04-19 09:32:54 +00:00
kssenii
1f9a597b77
Merge master
2022-04-19 11:31:13 +02:00
Kseniia Sumarokova
f7a2fa487d
Fix style check
2022-04-19 10:45:48 +02:00
alesapin
bd7b3847c1
Some code
2022-04-19 01:09:09 +02:00
Robert Schulze
118e94523c
Activate clang-tidy warning "readability-container-contains"
...
This check suggests replacing <Container>.count() by
<Container>.contains() which is more speaking and in case of
multimaps/multisets also faster.
2022-04-18 23:53:11 +02:00
kssenii
40f7ddb6cc
Fix
2022-04-18 15:07:07 +02:00
alesapin
c4b70f3ed3
Merge branch 'master' into fix_trash
2022-04-18 12:20:09 +02:00
Alexey Milovidov
7de4f2b6c1
Merge branch 'master' into remove-arcadia
2022-04-17 16:30:09 +02:00
Alexey Milovidov
e128d89957
Remove Arcadia
2022-04-16 00:24:58 +02:00
Alexey Milovidov
416fa95b87
Remove "Arcadia" build system
2022-04-15 23:57:09 +02:00
alesapin
2fcc00380d
Get rid of iheritance
2022-04-15 14:00:52 +02:00
kssenii
3e42a1711d
Fix
2022-04-14 13:50:13 +02:00
Kseniia Sumarokova
04926d882a
Merge branch 'master' into change-hashed-path
2022-04-14 11:18:42 +02:00
mergify[bot]
2c5d6d132e
Merge branch 'master' into cache-fix
2022-04-13 13:32:56 +00:00
kssenii
0912b038fa
Merge master
2022-04-13 15:30:01 +02:00
kssenii
7f78196b68
Update config
2022-04-13 15:11:40 +02:00
kssenii
05ceae428b
Fix tests
2022-04-13 14:54:43 +02:00
Sergei Trifonov
9d1a2da685
merge master and fix conflicts
2022-04-13 14:53:36 +02:00
Kseniia Sumarokova
9ae047df1d
Update CachedReadBufferFromRemoteFS.cpp
2022-04-13 14:30:10 +02:00
kssenii
a6dc437911
Merge master
2022-04-13 14:23:48 +02:00
Kseniia Sumarokova
1b267462d8
Update CachedReadBufferFromRemoteFS.cpp
2022-04-13 11:27:47 +02:00
kssenii
37242a0103
Allow non-evictable file segments based on predicate
2022-04-12 16:55:25 +02:00
kssenii
9804c39de7
Composable cache
2022-04-12 14:33:13 +02:00
kssenii
d2ccf876c6
Fix
2022-04-11 17:51:49 +02:00
Raúl Marín
6e346a7fc3
Support atomic replace under OSX
2022-04-11 14:32:55 +02:00
alesapin
324020a46f
Restore class
2022-04-10 15:59:43 +02:00
alesapin
f61cad144c
Get rid of strange abstraction
2022-04-10 15:55:05 +02:00
Kseniia Sumarokova
867b85dfad
Merge branch 'master' into change-hashed-path
2022-04-09 16:57:57 +02:00
kssenii
138588be29
Change hashed path
2022-04-08 17:14:13 +02:00
alesapin
4a03402da5
Update ReadBufferFromRemoteFSGather.h
2022-04-08 16:41:37 +02:00
alesapin
60e36abfe9
Get rid of metadata in buffers
2022-04-08 16:03:00 +02:00
Sergei Trifonov
fd001b5c80
fix param order
2022-04-08 15:51:53 +02:00
alesapin
ad9fdc1d79
Don't use metadata path in write buffers
2022-04-08 15:30:46 +02:00
alesapin
0db8808f2e
Remove unused field from buffers
2022-04-08 15:06:43 +02:00
kssenii
87855c4ae7
Merge master
2022-04-08 12:32:48 +02:00
alesapin
8ec802bc62
Merge pull request #35475 from kssenii/remote-fs-cache-improvements
...
Allow to write remote fs cache on all write operations. Add `system.remote_filesystem_cache` table. Add `drop remote filesystem cache (<path>)` query. Add `system.remote_data_paths` table.
2022-04-08 12:06:26 +02:00
kssenii
0b7af1f26c
Fix checks
2022-04-08 01:58:55 +02:00
kssenii
5dce2f18b5
Better
2022-04-07 18:48:35 +02:00
Sergei Trifonov
9c2804b924
merge from master + resolve conflicts
2022-04-07 11:22:01 +02:00
vdimir
4cb7b7e49b
Create parent directories in DiskLocal::replaceFile
2022-04-06 11:15:37 +00:00
kssenii
6c6fb5c3e8
Fix race in cached buffer
2022-04-04 16:32:37 +02:00
kssenii
4e50da722b
Better s3 settings
2022-04-04 16:14:56 +02:00
kssenii
6c8e073a61
Merge master
2022-04-01 16:48:29 +02:00
alesapin
f2c6387a8d
Merge pull request #35381 from kssenii/remote-filesystem-cache-fixes
...
Cache fixes for high concurrency on corner cases
2022-04-01 10:48:31 +02:00
alesapin
e12860f646
Update src/Disks/IO/CachedReadBufferFromRemoteFS.cpp
2022-03-31 11:42:42 +02:00
alesapin
4c66c2e10f
Update src/Disks/IO/CachedReadBufferFromRemoteFS.cpp
2022-03-31 11:42:38 +02:00
kssenii
0fc92fe2aa
Get rid of all "remote" mentions
2022-03-30 17:15:29 +02:00
kssenii
98ad3f4a91
Fix tests, rename some remote mentions
2022-03-30 12:21:59 +02:00
Antonio Andelic
03a09dc914
Merge pull request #35571 from ClickHouse/parallel-s3-downloading
...
Parallel S3 downloading
2022-03-30 08:14:49 +02:00
kssenii
f0e0d97752
Fix lask of query id in merges
2022-03-29 19:49:42 +02:00
kssenii
421b1e5a81
Update
2022-03-29 17:33:02 +02:00
Antonio Andelic
9990abb76a
Use compile-time check for Exception messages, fix wrong messages
2022-03-29 13:16:11 +00:00
Antonio Andelic
f0b4a9fd15
Fix construction of ReadBufferFromS3
2022-03-29 10:56:49 +00:00
kssenii
eab04674fa
Fix review comments
2022-03-29 12:38:17 +02:00
Azat Khuzhin
6da2c48b7a
Add missing __builtin_unreachable for switch/case for gcc
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-26 23:42:21 +03:00
kssenii
141c290344
Fix build
2022-03-25 18:31:15 +01:00
kssenii
e59dbe72c7
Revert accidental commit
2022-03-25 17:53:02 +01:00
kssenii
9aaba43a0a
Remove incorrect assertion
2022-03-25 16:29:30 +01:00
kssenii
0c6577eee0
Merge master
2022-03-24 20:49:02 +01:00
kssenii
6769b84638
Merge master
2022-03-24 20:47:43 +01:00
kssenii
f9b538fb0c
Fix
2022-03-24 15:38:29 +01:00
kssenii
d6ab6de30a
Minor changes
2022-03-24 15:32:08 +01:00
kssenii
d4161b5925
Add optin read_from_cache_if_exists_otherwise_bypass_cache
(for merges)
2022-03-23 20:24:00 +01:00
kssenii
d2a3cfe5dc
Cache on all write operations
2022-03-23 19:14:33 +01:00
kssenii
e39aba37a2
Minor changes
2022-03-23 18:11:52 +01:00
Sergei Trifonov
bf9c6be6c6
move threadPoolCallbackRunner from Common into Interpreters folder to fix split build issue
2022-03-23 17:57:19 +01:00
kssenii
34c0690a69
Better
2022-03-23 15:43:14 +01:00