Kseniia Sumarokova
ff37d7d5c3
Update ErrorCodes.cpp
2022-05-16 15:30:07 +02:00
Mikhail Artemenko
535b3ea686
refactor code & change exception numbers
2022-05-16 16:13:05 +03:00
tchepavel
58d8bc40aa
Merge branch 'master' of github.com:ClickHouse/ClickHouse into nats-integration
2022-05-16 13:01:45 +03:00
Robert Schulze
e3cfec5b09
Merge remote-tracking branch 'origin/master' into clangtidies
2022-05-16 10:12:50 +02:00
Dmitry Novik
2259add1fa
Merge pull request #37197 from ClickHouse/overcommit-ratio-overflow
...
Fix possible overflow in OvercommitRatio
2022-05-15 15:09:19 +02:00
tchepavel
7317c76d3c
Merge branch 'master' into nats-integration
2022-05-15 14:41:22 +03:00
kssenii
646cf4cc95
Better
2022-05-14 14:26:04 +02:00
Kseniia Sumarokova
f4a8a0cefe
Merge pull request #37200 from kssenii/add-s3-requests-metric
...
Add S3Requests metric
2022-05-14 10:08:21 +02:00
kssenii
47ff7b6132
Fixes after merge
2022-05-13 19:22:22 +02:00
kssenii
58faaf0ea3
Merge master
2022-05-13 18:51:07 +02:00
kssenii
5dd3ad08a1
Add S3Requests metric
2022-05-13 18:12:46 +02:00
Dmitry Novik
45585f0e7f
Fix possible overflow in OvercommitRatio
2022-05-13 15:39:05 +00:00
Kseniia Sumarokova
6e0a910fcd
Merge branch 'master' into better-read-from-cache
2022-05-12 19:44:18 +02:00
alesapin
e7296a2b28
Merge pull request #36825 from kssenii/cache-fix-1
...
Removed forceful drop cache command, fix detached status state
2022-05-12 17:18:21 +02:00
kssenii
7700d51ae4
Update profile events descriptions
2022-05-12 15:02:07 +02:00
kssenii
ef044a5df7
Merge
2022-05-12 14:59:27 +02:00
kssenii
483e056bcc
Merge master
2022-05-12 14:58:24 +02:00
Vitaly Baranov
30005a1eff
BACKUP ON CLUSTER correctly collects data of a replicated table from all replicas now,
...
and if some part doesn't exist on either replica it's no problem anymore.
2022-05-12 13:33:42 +02:00
tchepavel
5f8fcb748f
Select, MV, Insert working
2022-05-12 13:58:50 +03:00
Kseniia Sumarokova
5ae28f6fd8
Update ProfileEvents.cpp
2022-05-12 12:28:48 +02:00
Kseniia Sumarokova
d636a02e7a
Update FileSegment.cpp
2022-05-12 12:16:12 +02:00
Kseniia Sumarokova
2a4f763a5e
Merge pull request #37075 from kssenii/fix-progress-for-insert-select
...
Fix progress indication for `INSERT SELECT` in clickhouse-local and for file progress in client
2022-05-12 12:05:53 +02:00
Robert Schulze
f8c24c5fe8
Merge pull request #37117 from ClickHouse/bug-37114
...
Fix Bug 37114 - ilike on FixedString(N)s produces wrong results
2022-05-12 09:39:36 +02:00
Kseniia Sumarokova
4483e5783a
Update FileSegment.h
2022-05-11 23:33:38 +02:00
Kseniia Sumarokova
2d15520ddb
Update FileSegment.cpp
2022-05-11 23:33:15 +02:00
kssenii
c5e84950d6
Update test, add descriptions to profile events
2022-05-11 14:57:51 +02:00
Robert Schulze
7232f47c68
Fix Bug 37114 - ilike on FixedString(N) columns produces wrong results
...
The main fix is in MatchImpl.h where the "case_insensitive" parameter is
added to Regexps::get().
Also made "case_insensitive" a non-default template parameter to reduce
the risk of future bugs.
The remainder of this commit are minor random code improvements.
resoves #37114
2022-05-11 14:30:21 +02:00
Kseniia Sumarokova
a440e1376a
Update FileSegment.cpp
2022-05-11 12:05:50 +02:00
mergify[bot]
0e2a86dcee
Merge branch 'master' into MeiliSearch
2022-05-11 08:49:19 +00:00
kssenii
5385a4da8a
Fix review comments
2022-05-11 10:45:20 +02:00
kssenii
18dd74be0c
Remove unneede changes
2022-05-11 10:26:30 +02:00
alesapin
0f276a0956
Merge pull request #36947 from ClickHouse/dump_ordered_sessions_map
...
Force keeper snapshot equality on different replicas
2022-05-10 23:36:09 +02:00
kssenii
ccab49e3cf
Merge master
2022-05-10 19:33:34 +02:00
kssenii
61f2737e17
Merge master
2022-05-10 19:31:22 +02:00
kssenii
f4b45a5805
Better profile events
2022-05-10 16:00:53 +02:00
kssenii
0feda67ec4
Fix progress for insert select
2022-05-10 15:04:08 +02:00
Alexander Tokmakov
897a0393b2
Merge pull request #37072 from jiahui-97/fix_comment_num
...
just fix a number
2022-05-10 15:39:50 +03:00
jiahui-97
4c1244d06d
just fix a number
...
Find a number wrong when reading SAHA paper and related code.
2022-05-10 20:33:25 +08:00
kssenii
2f0f76369a
Better
2022-05-09 21:25:26 +02:00
Anton Popov
e911900054
remove last mentions of data streams
2022-05-09 19:15:24 +00:00
Robert Schulze
1b81bb49b4
Enable clang-tidy modernize-deprecated-headers & hicpp-deprecated-headers
...
Official docs:
Some headers from C library were deprecated in C++ and are no longer
welcome in C++ codebases. Some have no effect in C++. For more details
refer to the C++ 14 Standard [depr.c.headers] section. This check
replaces C standard library headers with their C++ alternatives and
removes redundant ones.
2022-05-09 08:23:33 +02:00
kssenii
f43c09b53c
Fix incorrect assetion
2022-05-08 14:18:43 +02:00
kssenii
50d229651f
Fix exception message
2022-05-07 23:33:28 +02:00
kssenii
0e9e1dd000
Fix assert in case cache forcefully dropped
2022-05-07 23:19:44 +02:00
mergify[bot]
ac5e69d940
Merge branch 'master' into dump_ordered_sessions_map
2022-05-07 21:17:23 +00:00
alesapin
e54e33a6df
I'm not ready for 3-way comparison
2022-05-07 15:33:34 +02:00
Alexey Milovidov
4eac661588
Merge branch 'master' into master
2022-05-07 13:21:59 +03:00
kssenii
0db83d7002
Merge master
2022-05-07 11:52:25 +02:00
kssenii
7e9913509f
Fix build
2022-05-06 14:22:01 +02:00
kssenii
35ed60f5f6
Merge master
2022-05-06 13:56:14 +02:00
kssenii
c0248d4250
Merge master
2022-05-06 13:50:09 +02:00
Kruglov Pavel
80df398bfc
Merge pull request #36883 from kssenii/add-asynchronous-metrics-for-filesystem-cache
...
Add some asynchronous metrics for fs cache
2022-05-06 13:39:55 +02:00
kssenii
23d9230acd
Do not throw logical error for detached file segment
2022-05-06 12:48:16 +02:00
alesapin
931a5f11f1
Update src/Common/ZooKeeper/IKeeper.h
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-05-06 12:13:51 +02:00
kssenii
2275196ef0
Merge master
2022-05-06 11:21:10 +02:00
Kseniia Sumarokova
83a4b94970
Merge pull request #36952 from ClickHouse/remove-nested-exception
...
Remove nested exception
2022-05-06 11:14:16 +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
kssenii
3aef08b887
Fix style
2022-05-06 00:25:13 +02:00
kssenii
b26098735f
Merge
2022-05-06 00:08:14 +02:00
kssenii
3a3a756d18
Fix failed checks
2022-05-06 00:07:22 +02:00
Alexey Milovidov
7841f02cf0
Remove nested exception
2022-05-05 23:05:52 +02:00
mergify[bot]
9ce436733f
Merge branch 'master' into fix-current-size-count-in-cache
2022-05-05 17:33:56 +00:00
alesapin
f4cdd86ae8
Force keeper snapshot equality on different replicas
2022-05-05 19:23:01 +02:00
mergify[bot]
2a8aad42dc
Merge branch 'master' into add-asynchronous-metrics-for-filesystem-cache
2022-05-05 15:43:38 +00:00
kssenii
78d3fd505f
Merge master
2022-05-05 17:41:13 +02:00
kssenii
0117fd40a6
Review fixes
2022-05-05 17:39:36 +02:00
Vitaly Baranov
dd51265218
Merge pull request #36864 from vitlibar/backup-improvements-4
...
Backup improvements
2022-05-05 15:37:51 +02:00
Anton Popov
fa1feb238e
Merge pull request #36853 from qoega/add-other-time-microsecons
...
Add Other Query Time Microseconds Profile Event
2022-05-05 13:58:13 +02:00
Alexander Gololobov
7e3a805ae3
Merge pull request #36572 from ClickHouse/fix-trash-s3-metrics
...
Everything related to S3 metrics was not good
2022-05-05 11:44:02 +02:00
alesapin
aba78e5ed0
Merge pull request #36859 from ClickHouse/revert-36858-revert-35637-memory-overcommit-free
...
Revert "Revert "Memory overcommit: continue query execution if memory is available""
2022-05-04 23:43:00 +02:00
kssenii
e604677c85
Better
2022-05-04 22:52:01 +02:00
Alexander Tokmakov
e30365a531
Merge pull request #36872 from ClickHouse/fix_exception_message
...
Add extra info when sending exception
2022-05-04 23:24:47 +03:00
Robert Schulze
c48d9a4174
Merge pull request #36844 from rschu1ze/shared_ptr_helper3
...
Remove inherited create() method + disallow copying of storages
2022-05-04 19:16:30 +02:00
mergify[bot]
e0fa563092
Merge branch 'master' into fix_exception_message
2022-05-04 15:56:03 +00:00
Robert Schulze
78cdb3ec64
Merge pull request #36862 from rschu1ze/new-clangtidies
...
Activated a bunch of LLVM 12/13/14 clang-tidy warnings
2022-05-04 15:26:57 +02:00
kssenii
c8b5decf29
Fix lock inversion
2022-05-04 14:28:55 +02:00
mergify[bot]
6ecddf4077
Merge branch 'master' into fix-trash-s3-metrics
2022-05-04 10:14:29 +00:00
Robert Schulze
590a01d39d
Linux build fix
2022-05-04 11:42:23 +02:00
Dmitry Novik
9087ab0e11
Use free_continue_and_alloc_3_test
2022-05-04 00:41:15 +00:00
kssenii
ef7d5b2a65
Fix
2022-05-04 00:19:36 +02:00
Vitaly Baranov
160bc288d3
Fix implementation of totalBytes() & totalRows() for Log family.
2022-05-04 00:15:21 +02:00
mergify[bot]
64084b5e32
Merge branch 'master' into shared_ptr_helper3
2022-05-03 20:46:16 +00:00
kssenii
8f99046100
Add come asynchronous metrics
2022-05-03 20:02:19 +02:00
kssenii
ab65e163fa
Add current metrics
2022-05-03 19:35:04 +02:00
mergify[bot]
ddd1c3e1b3
Merge branch 'master' into add-other-time-microsecons
2022-05-03 15:45:40 +00:00
Vitaly Baranov
828f45f078
Add new restore setting 'allow_non_empty_tables'.
2022-05-03 16:18:45 +02:00
Dmitry Novik
455742ec7a
Make unit tests stable
2022-05-03 13:20:57 +00:00
Alexander Tokmakov
94af11dd74
add extra info when sending exception
2022-05-03 15:13:47 +02:00
kssenii
025e632a66
Merge master
2022-05-03 14:46:59 +02:00
kssenii
b0d43e3f40
Better
2022-05-03 14:20:23 +02:00
kssenii
a3c9ff7fe8
Tiny changes
2022-05-03 11:46:22 +02:00
Vitaly Baranov
409edfd3fa
Rework RestoreCoordination: make restore deterministic.
2022-05-03 11:01:44 +02:00
Vitaly Baranov
2c754f44fc
Make calculation of shard_num & replica_num not dependant on match of the cluster's definitions on nodes.
2022-05-03 11:01:44 +02:00
Larry Luo
ee131eefd8
Removed move for trivially-copyable type and added noexcept for move constructor
2022-05-02 18:46:34 -07:00
Dmitry Novik
2815f22152
Remove incorrect assert
2022-05-02 23:02:43 +00:00
Dmitry Novik
2ed5a4013a
Revert "Revert "Memory overcommit: continue query execution if memory is available""
2022-05-03 00:45:13 +02:00
alesapin
f0b7af0aa2
Revert "Memory overcommit: continue query execution if memory is available"
2022-05-03 00:36:50 +02:00
alesapin
73f3334d80
Better fix for cache
2022-05-03 00:28:53 +02:00
Dmitry Novik
71b6f89166
Merge pull request #35637 from ClickHouse/memory-overcommit-free
...
Memory overcommit: continue query execution if memory is available
2022-05-02 19:00:18 +02:00
kssenii
70e2bb6264
Reimplement write-through cache
2022-05-02 18:55:11 +02:00
Ilya Yatsishin
6c3bbb4933
Add Other Time Microseconds Profile Event
2022-05-02 17:13:57 +02:00
Vladimir C
7293a69e5e
Merge pull request #36656 from amosbird/timefunctionunderflow
...
Saturate date/datetime to zero (part 2)
2022-05-02 17:10:48 +02:00
Maksim Kita
9bea207680
Merge pull request #36839 from rschu1ze/concepts
...
Replace uses of SFINAE by C++20 concepts
2022-05-02 14:20:12 +02:00
Robert Schulze
ad0b3be79d
Replace uses of SFINAE by C++20 concepts
...
- enable_if is usually regarded as fragile and unreadable
- C++20 concepts are much easier to read and produce more expressive
error messages
2022-05-02 09:23:53 +02:00
Robert Schulze
330212e0f4
Remove inherited create() method + disallow copying
...
The original motivation for this commit was that shared_ptr_helper used
std::shared_ptr<>() which does two heap allocations instead of
make_shared<>() which does a single allocation. Turned out that
1. the affected code (--> Storages/) is not on a hot path (rendering the
performance argument moot ...)
2. yet copying Storage objects is potentially dangerous and was
previously allowed.
Hence, this change
- removes shared_ptr_helper and as a result all inherited create() methods,
- instead, Storage objects are now created using make_shared<>() by the
caller (for that to work, many constructors had to be made public), and
- all Storage classes were marked as noncopyable using boost::noncopyable.
In sum, we are (likely) not making things faster but the code becomes
cleaner and harder to misuse.
2022-05-02 08:46:52 +02:00
Alexey Milovidov
ef9633499c
Merge branch 'master' into fix-trash-s3-metrics
2022-05-02 03:55:10 +02:00
Mikhail Artemenko
cf48390cb9
Merge branch 'master' into MeiliSearch
2022-05-02 00:28:42 +03:00
KinderRiven
7d0789472c
fix
2022-05-01 19:45:16 +08:00
KinderRiven
e1acacf831
fix
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
a4b8f9e9cf
impl system.cache_log
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
KinderRiven
5b7b2d26ea
fix add miss header
2022-05-01 19:45:16 +08:00
KinderRiven
df81496ba1
fix bug for cache log table
2022-05-01 19:45:16 +08:00
KinderRiven
de7e89661d
resubmit
2022-05-01 19:45:16 +08:00
Mikhail Artemenko
41f657d8ed
Merge branch 'master' into MeiliSearch
2022-05-01 10:01:56 +03:00
kssenii
8cf83a2daf
Fix
2022-04-30 22:02:44 +02:00
Robert Schulze
89aa9ae00f
Fixed clang-tidy check "bugprone-branch-clone"
...
The check is currently *not* part of .clang-tidy. It complains about:
(1) "switch has multiple consecutive identical branches"
(2) "repeated branch in conditional chain"
About (1): Lots of findings in switches were about redundant
"[[fallthrough]]" in places where the compiler would not warn anyways. I
have cleaned these up.
About (2): In if-else_if-else chains, fixing the warning would usually
mean concatenating multiple if-conditions. As this would reduce
readability in most cases, I did not fix these places.
Because of (2), I also refrained from adding "bugprone-branch-clone" to
.clang-tidy.
2022-04-30 19:40:28 +02: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
kssenii
eea0a009dc
Debug
2022-04-30 15:02:21 +02:00
mergify[bot]
cc08ccb420
Merge branch 'master' into remove-useless-code-2
2022-04-30 12:48:15 +00: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
mergify[bot]
e9fde5d067
Merge branch 'master' into memory-overcommit-free
2022-04-29 19:31:59 +00:00
Nikolai Kochetov
5807ca47b0
Merge pull request #36425 from ClickHouse/pool-size-hot-reload
...
Allow to increase number of threads and tasks for background executors
2022-04-29 17:24:12 +02: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
Amos Bird
e81929a8b5
Saturate date/datetime to zero (part 2)
...
For partial hours/minutes timezones.
2022-04-29 10:24:18 +08:00
Kseniia Sumarokova
ace3fe253d
Merge pull request #36737 from KinderRiven/fix_bug_for_local_cache
...
fix bug for local cache
2022-04-29 02:54:33 +02:00
mergify[bot]
41aa85fd4c
Merge branch 'master' into fix-stress-test
2022-04-29 00:54:09 +00:00
kssenii
1cbf672237
Another fix
2022-04-28 22:51:57 +02:00
Alexey Milovidov
d8fa806fca
Merge pull request #36360 from ClickHouse/optimize-asynchronous-metric-log
...
Optimize `system.asynchronous_metric_log`
2022-04-28 20:16:17 +03:00
Dmitry Novik
8fb7e2dbab
Cleanup
2022-04-28 15:31:13 +00:00
HeenaBansal2009
3ac9434c57
Merge branch 'master' into Fix-Coverity-Issues
2022-04-28 08:14:50 -07:00
kssenii
9b38c9f7eb
Fix
2022-04-28 13:06:43 +02:00
Kseniia Sumarokova
0c2f074c60
Update FileCache.cpp
2022-04-28 12:47:02 +02:00
Kseniia Sumarokova
2039e0e974
Update FileCache.h
2022-04-28 12:46:45 +02:00
KinderRiven
63804fd425
fix
2022-04-28 18:45:01 +08:00
KinderRiven
1fbaddf559
fix bug for local_cache
2022-04-28 17:11:25 +08:00
Vitaly Baranov
641a5f5e35
Merge pull request #36198 from vitlibar/backup-improvements-3
...
Backup for replicated tables and other improvements
2022-04-28 09:23:53 +02:00
Alexey Milovidov
de3a47c67a
Merge branch 'master' into optimize-asynchronous-metric-log
2022-04-28 05:03:57 +02:00
kssenii
37d11cfb1c
Merge master
2022-04-28 00:44:15 +02:00
mergify[bot]
b7e63154df
Merge branch 'master' into optimize-asynchronous-metric-log
2022-04-27 18:27:27 +00:00
kssenii
da1392877a
Better
2022-04-27 20:01:59 +02:00
mergify[bot]
9410e2813f
Merge branch 'master' into fix-stress-test
2022-04-27 14:51:55 +00:00
HeenaBansal2009
4961caec13
Merge branch 'master' into Fix-Coverity-Issues
2022-04-26 11:43:44 -07:00
kssenii
64168faf0a
Fix
2022-04-26 20:31:42 +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
8d3dfc62ae
Revert
2022-04-26 12:57:58 +02:00
kssenii
8d741f173a
Save changes
2022-04-26 12:57:06 +02:00
kssenii
a395532d54
Add support for exact right bounded reads for some other buffers
2022-04-26 12:56:40 +02:00
mergify[bot]
7571387a6e
Merge branch 'master' into memory-overcommit-free
2022-04-26 10:15:18 +00:00
kssenii
b874750807
Better
2022-04-26 12:13:21 +02:00
kssenii
41bba15e20
Fix
2022-04-26 12:09:58 +02:00
Vladimir C
1aa9d77246
Merge pull request #36453 from zombee0/master
2022-04-26 11:47:42 +02:00
Kseniia Sumarokova
81db081b88
Merge pull request #36639 from kssenii/better-drop-cache
...
Improve drop cache query
2022-04-26 11:25:46 +02:00
Vitaly Baranov
1c0b731ea6
Fix compilation.
2022-04-26 10:13:08 +02:00
mergify[bot]
4e82b56a8d
Merge branch 'master' into optimize-asynchronous-metric-log
2022-04-26 05:40:49 +00:00
Alexey Milovidov
86bf67c93c
Merge pull request #36526 from Joeywzr/to_start_of_five_minutes
...
Replace toStartOfFiveMinute to toStartOfFiveMinutes
2022-04-26 05:52:02 +03:00
alesapin
92296484e7
Merge pull request #36348 from rschu1ze/erase_if3
...
Replace remove-erase idiom by C++20 erase()/erase_if()
2022-04-25 23:34:18 +02:00
alesapin
7a901c0826
Merge pull request #36602 from azat/netlink-strict-resubmit
...
Strict taskstats parser (resubmit)
2022-04-25 23:28:08 +02:00
alesapin
04afe552f8
Trying to avoid segfaults
2022-04-25 22:51:09 +02:00
kssenii
35b8d302da
Fix
2022-04-25 21:57:13 +02:00
alesapin
1fffa56f63
Merge branch 'master' into memory-overcommit-free
2022-04-25 20:21:08 +02:00
mergify[bot]
d2ac9b2223
Merge branch 'master' into to_start_of_five_minutes
2022-04-25 17:36:38 +00:00
mergify[bot]
e79de5a577
Merge branch 'master' into optimize-asynchronous-metric-log
2022-04-25 17:29:11 +00:00
mergify[bot]
fdc895462e
Merge branch 'master' into fix-trash-s3-metrics
2022-04-25 17:28:06 +00:00
kssenii
a76a35d3ce
Better drop cache
2022-04-25 19:20:25 +02:00
Vitaly Baranov
d20b3d78c5
Rename some restore settings.
2022-04-25 16:34:17 +02:00
Sergei Trifonov
ad9d57807f
fix typo
2022-04-25 16:06:14 +02:00
Kruglov Pavel
34c342fdd3
Merge pull request #36205 from Avogar/improve-globs
...
Some refactoring around schema inference with globs
2022-04-25 13:14:46 +02:00
Nikolai Kochetov
d5b2d28f7b
Merge pull request #36579 from amosbird/refactor-executor1
...
Small refactoring of Processors and QueryPipeline
2022-04-25 12:47:59 +02:00
Antonio Andelic
d60384d336
Merge pull request #36469 from bigo-sg/fix_ranger_generator
...
Fix bug of range generator
2022-04-25 10:52:34 +02:00
Azat Khuzhin
278101fc0c
Add a comment for taskstruct netlink interface rounding to KiB
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-25 08:49:17 +03:00
Azat Khuzhin
d161b798a8
Strict taskstats parser
...
This will unhide possible issues (since sometimes statistics is
inaccurate).
Also before this patch TASKSTATS_TYPE_AGGR_TGID had been handled, while
it not correct to take into account, but it was not requested anyway.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
(cherry picked from commit bfa65b651a
)
2022-04-25 07:56:54 +03:00
Azat Khuzhin
6df54611a9
Log which taskstats provider is in use
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
v2: add missing __builtin_unreachable() for gcc built [1]
[1]: https://s3.amazonaws.com/clickhouse-builds/36351/99e72a960325cc1fb3cd3d6a1b56cf2b1cc2d733/binary_gcc/build_log.log
(cherry picked from commit 2be022cb56
)
2022-04-25 07:56:54 +03:00
mergify[bot]
705d5af3a0
Merge branch 'master' into to_start_of_five_minutes
2022-04-24 22:24:24 +00:00
Alexey Milovidov
74bb6349c2
Revert "Strict taskstats parser"
2022-04-25 01:15:08 +03:00
Amos Bird
a25bb50096
Refactor many exception messages
...
1. Always use fmt variant
2. Remove redundant period at the end of message
3. Remove useless parenthesis
2022-04-24 19:44:00 +08:00
taiyang-li
6716aa9d95
Merge remote-tracking branch 'ck/master' into fix_ranger_generator
2022-04-24 11:31:19 +08:00
Alexey Milovidov
8af3159916
Merge pull request #36351 from azat/netlink-strict
...
Strict taskstats parser
2022-04-24 05:14:06 +03:00
Alexey Milovidov
d08da0f63c
Everything related to S3 metrics was a trash
2022-04-24 03:46:35 +02:00
Alexey Milovidov
6de4f2bbff
Everything related to S3 metrics was a trash
2022-04-24 03:42:18 +02:00
zombee0
c02de61086
fixed the cow_compositions.cpp clone inner column when there is no need
...
Signed-off-by: zombee0 <flylucas_10@163.com>
2022-04-23 18:42:04 +08:00
alesapin
7380a71333
Merge pull request #31833 from ClickHouse/musl-check
...
Build clickhouse-keeper with Musl
2022-04-22 22:41:16 +02:00
Nikita Mikhaylov
36bdee0499
Deleted settings
2022-04-22 13:56:16 +00:00
Alexander Tokmakov
b16faab477
fix configs
2022-04-22 15:37:14 +02:00
Kseniia Sumarokova
33bb48106f
Merge pull request #36314 from CurtizJ/print-bad-filenames
...
Show names of erroneous files in case of parsing errors while executing table functions
2022-04-22 13:24:55 +02:00
taiyang-li
3751c69aaa
fix code style
2022-04-22 15:38:19 +08:00
taiyang-li
6bcf24ae36
add test for range generator
2022-04-22 12:33:16 +08:00
Memo
956d525840
fix conflict
2022-04-22 11:22:50 +08:00
Memo
39aadf0975
replaced toStartOfFiveMinute to toStartOfFiveMinutes
2022-04-22 10:49:59 +08:00
Maksim Kita
57444fc7d3
Merge pull request #36444 from rschu1ze/clang-tidy-fixes
...
Clang tidy fixes
2022-04-21 16:11:27 +02:00
kssenii
1b008b0014
Fix test
2022-04-21 14:48:07 +02:00
mergify[bot]
1ba1cad5cf
Merge branch 'master' into improve-globs
2022-04-21 11:52:13 +00:00
kssenii
24e376337d
Merge with master
2022-04-21 12:33:56 +02:00
taiyang-li
adb1288e10
fix bug of range generator
2022-04-21 11:33:15 +08:00
Azat Khuzhin
2be022cb56
Log which taskstats provider is in use
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
v2: add missing __builtin_unreachable() for gcc built [1]
[1]: https://s3.amazonaws.com/clickhouse-builds/36351/99e72a960325cc1fb3cd3d6a1b56cf2b1cc2d733/binary_gcc/build_log.log
2022-04-20 21:39:26 +03:00
Azat Khuzhin
bfa65b651a
Strict taskstats parser
...
This will unhide possible issues (since sometimes statistics is
inaccurate).
Also before this patch TASKSTATS_TYPE_AGGR_TGID had been handled, while
it not correct to take into account, but it was not requested anyway.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-20 21:39:25 +03:00
Alexander Tokmakov
09daa23bd7
fix
2022-04-20 18:15:21 +02:00
Kruglov Pavel
813e228fcc
Merge branch 'master' into improve-globs
2022-04-20 16:31:47 +02:00
Anton Popov
d4df38a0e6
fix tests
2022-04-20 14:13:04 +00:00
KinderRiven
137a1a3392
fix bug for local cache
2022-04-20 20:22:33 +08:00
KinderRiven
59d56b6391
resubmit
2022-04-20 20:10:31 +08:00
KinderRiven
910c4a6660
fix bug for local cache
2022-04-20 19:49:04 +08:00
KinderRiven
b91f18033c
fix bug for local cache
2022-04-20 19:43:07 +08:00
Alexander Tokmakov
1d30a97fd2
Merge branch 'master' into remove-useless-code-2
2022-04-20 11:45:56 +02:00
mergify[bot]
0df5fda6ed
Merge branch 'master' into musl-check
2022-04-20 09:28:40 +00:00
tavplubix
2c54381520
Merge pull request #36200 from ClickHouse/fix_create_as_replicated_default_args
...
Fix CREATE AS for ReplicatedMergeTree with default arguments
2022-04-20 12:01:13 +03:00
Robert Schulze
b24ca8de52
Fix various clang-tidy warnings
...
When I tried to add cool new clang-tidy 14 warnings, I noticed that the
current clang-tidy settings already produce a ton of warnings. This
commit addresses many of these. Almost all of them were non-critical,
i.e. C vs. C++ style casts.
2022-04-20 10:29:05 +02:00
Robert Schulze
b6d7367538
Merge remote-tracking branch 'origin/master' into erase_if3
...
Conflicts:
- Interpreters/ActionsDAG.cpp
2022-04-20 10:02:59 +02:00
Anton Popov
bee4ca9b62
add more tests for error diagnostics in files
2022-04-19 15:56:34 +00:00
Alexey Milovidov
93229133e2
Return two changes
2022-04-19 17:44:27 +02:00
Alexey Milovidov
79be0aa75b
Remove Arcadia
2022-04-19 17:44:27 +02:00
Alexey Milovidov
3c1e05eb53
Remove Arcadia
2022-04-19 17:44:27 +02:00
Alexey Milovidov
7629016f66
Fix clang-tidy-14 (part 1)
2022-04-19 17:44:27 +02:00
Alexey Milovidov
b6c06268eb
Simplification #36313
2022-04-19 17:44:27 +02:00
Alexey Milovidov
767b2eecff
Remove trash
2022-04-19 17:44:27 +02:00
Alexey Milovidov
fb9545e0b4
Remove trash
2022-04-19 17:44:27 +02:00
Alexey Milovidov
611ea86d60
Remove abbreviation
2022-04-19 17:44:26 +02:00
Alexey Milovidov
c46715db82
Remove abbreviation
2022-04-19 17:44:26 +02:00
Anton Popov
3e361c9759
Merge remote-tracking branch 'upstream/master' into HEAD
2022-04-19 14:18:04 +00:00
kssenii
7cfc0ac433
Merge with master
2022-04-19 15:13:45 +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
Alexey Milovidov
f6ab2bd523
Merge pull request #36312 from ClickHouse/remove-arcadia
...
Remove remaining parts of Arcadia
2022-04-18 07:02:54 +03:00
Alexey Milovidov
36595e4206
Merge pull request #36320 from ClickHouse/fix-clang-tidy-14
...
Fix clang-tidy-14 (part 1)
2022-04-18 07:02:10 +03:00
Alexey Milovidov
48fd09c7db
Merge pull request #36310 from ClickHouse/cpuid-remove-trash
...
Remove trash from CPUID
2022-04-18 07:01:23 +03:00
Alexey Milovidov
543e5d7242
Merge branch 'master' into musl-check
2022-04-18 02:40:13 +02:00
Alexey Milovidov
c7bca13a03
Remove abbreviation
2022-04-18 01:03:58 +02:00
Alexey Milovidov
242919eddd
Remove abbreviation
2022-04-18 01:02:49 +02:00
Alexey Milovidov
a64765bc6f
Allow custom default ORDER BY for system logs
2022-04-17 21:56:36 +02:00
Alexey Milovidov
27afc08d8f
Merge branch 'master' into cpuid-remove-trash
2022-04-17 16:30:30 +02:00
Alexey Milovidov
7de4f2b6c1
Merge branch 'master' into remove-arcadia
2022-04-17 16:30:09 +02:00
Robert Schulze
1e1df8e101
Replace remove-erase idiom by C++20 erase()/erase_if()
...
- makes the code less verbose while being as efficient
2022-04-17 12:04:47 +02:00
Alexey Milovidov
294efeccfe
Fix clang-tidy-14 (part 1)
2022-04-16 04:54:04 +02:00
Alexey Milovidov
33ffdcaa4f
Return two changes
2022-04-16 02:18:22 +02:00
Anton Popov
2de6668b3f
show names of erroneous files
2022-04-16 00:10:47 +00:00
Alexey Milovidov
69b91c5410
Simplification #36313
2022-04-16 02:08:06 +02:00
Alexey Milovidov
40357637ec
Remove Arcadia
2022-04-16 00:33:32 +02:00
Alexey Milovidov
cbeeb7ec4f
Remove Arcadia
2022-04-16 00:20:47 +02:00
Alexey Milovidov
364f10aff5
Remove trash
2022-04-15 22:56:51 +02:00
Alexey Milovidov
58fc4e033a
Remove trash
2022-04-15 22:54:08 +02:00
alesapin
40e5ba21a4
Update src/Common/FileSegment.cpp
2022-04-15 11:55:05 +02:00
Alexander Tokmakov
4ce0b280e6
wait for node to disappear instead of removing
2022-04-14 15:31:05 +02:00
kssenii
3e42a1711d
Fix
2022-04-14 13:50:13 +02:00
Kseniia Sumarokova
4d667301cc
Merge pull request #36135 from kssenii/cache-fix
...
Fix after #35475
2022-04-14 11:11:13 +02:00
Antonio Andelic
4be7cc757d
Merge pull request #36125 from ClickHouse/memory-tracking-overloads
...
Add new/delete overloads with align
2022-04-14 08:16:51 +02:00
avogar
1c065f8c7a
Some refactoring around schema inference with globs
2022-04-13 17:02:48 +00:00
tavplubix
6a165787a6
Merge pull request #36115 from ClickHouse/thread-pool-reset-thread-name
...
Reset thread name in thread pool
2022-04-13 19:10:04 +03:00
Maksim Kita
ca89af89a1
Merge pull request #36088 from israelg99/fix_executable
...
Fix CH silently failing when it cannot execute a file
2022-04-13 16:53:00 +02:00
Alexander Tokmakov
40fea2b833
do not unfold {uuid} macro
2022-04-13 16:51:59 +02:00
mergify[bot]
2c5d6d132e
Merge branch 'master' into cache-fix
2022-04-13 13:32:56 +00:00
mergify[bot]
4fb66013fe
Merge branch 'master' into memory-tracking-overloads
2022-04-13 12:40:49 +00:00
tavplubix
43de4827d7
Merge pull request #36074 from ClickHouse/zookeeper_log_thread_query_id
...
Add thread_id and query_id to zookeeper_log
2022-04-13 15:34:04 +03:00
Alexey Milovidov
ab80b94f45
Update ThreadPool.cpp
2022-04-13 15:18:49 +03:00
Kseniia Sumarokova
07cfa980ac
Update FileCache.h
2022-04-13 12:08:25 +02:00
Kseniia Sumarokova
44ecfd925b
Update FileSegment.cpp
2022-04-13 11:35:46 +02:00
Kseniia Sumarokova
053892777f
Update FileSegment.cpp
2022-04-13 11:35:12 +02:00
Kseniia Sumarokova
a611566266
Update FileCache.h
2022-04-13 11:33:15 +02:00
Mikhail Artemenko
2fd86cc564
Merge branch 'master' into MeiliSearch
2022-04-13 12:05:46 +03:00
Antonio Andelic
835f752a1a
Add maybe_unused for align arguments
2022-04-13 06:19:59 +00:00
alesapin
f011864386
Build clickhouse-keeper with musl
2022-04-12 18:48:16 +02:00
mergify[bot]
d5b2355944
Merge branch 'master' into memory-overcommit-free
2022-04-12 16:00:12 +00:00
Dmitry Novik
d9d2bf310d
Fix test
2022-04-12 15:58:34 +00:00
Julian Gilyadov
a4f56f3330
Throw exception when file cant be executed instead of displaying success
2022-04-12 17:52:44 +02:00
kssenii
37242a0103
Allow non-evictable file segments based on predicate
2022-04-12 16:55:25 +02:00
Antonio Andelic
1b4cebcfb6
Add new/delete overloads
2022-04-12 14:11:10 +00:00
Dmitry Novik
63de3c9746
Add comment with explanation
2022-04-12 13:00:06 +00:00
Dmitry Novik
188e1a87bd
Check if enough memory is actually freed within timeout
2022-04-12 12:52:35 +00:00
kssenii
9804c39de7
Composable cache
2022-04-12 14:33:13 +02:00
Kseniia Sumarokova
50b5684d00
Update FileSegment.cpp
2022-04-12 11:59:58 +02:00
Dmitry Novik
9c20a492c8
Add unit tests
2022-04-12 09:46:26 +00:00
Kseniia Sumarokova
a77a228ab8
Update FileSegment.cpp
2022-04-12 09:37:03 +02:00
kssenii
d2ccf876c6
Fix
2022-04-11 17:51:49 +02:00
Raúl Marín
83c814f658
OSX fixes
2022-04-11 15:25:20 +02:00
Raúl Marín
6e346a7fc3
Support atomic replace under OSX
2022-04-11 14:32:55 +02:00
Alexander Tokmakov
802f62a80e
fix
2022-04-11 09:42:00 +02:00
Alexey Milovidov
f0fad98a73
Reset thread name in thread pool
2022-04-11 01:03:24 +02:00
Alexander Tokmakov
50a32a74b7
add thread_id and query_id to zookeeper_log
2022-04-08 17:10:08 +02:00
Alexander Tokmakov
49c35f3261
Merge branch 'master' into mvcc_prototype
2022-04-08 13:34:40 +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
Alexander Tokmakov
7f54e7b422
Merge branch 'master' into mvcc_prototype
2022-04-07 15:14:06 +02:00
Alexander Tokmakov
8290ffa88d
Merge branch 'master' into mvcc_prototype
2022-04-07 13:50:42 +02:00
tavplubix
6e9c028bbb
Merge pull request #35956 from Algunenano/limit_dns_retries
...
DNS cache: Add option to drop elements after several consecutive failures
2022-04-07 13:20:36 +03:00
Nikolai Kochetov
3e1b3f14c0
Merge pull request #34355 from azat/processors-profiling
...
Profiling on Processors level
2022-04-07 12:13:14 +02:00
alesapin
d21ed546a4
Merge pull request #35967 from ClickHouse/keeper-polishing
...
Small code changes in ZooKeeper client/Keeper code
2022-04-07 12:11:10 +02:00
Mikhail Artemenko
0f1119dd2a
fix impl after merge
2022-04-07 11:56:30 +03:00
mergify[bot]
585cff1e95
Merge branch 'master' into limit_dns_retries
2022-04-06 18:23:17 +00:00
tavplubix
58db8cd9b3
Merge pull request #35946 from ClickHouse/faster_replicated_ddl
...
Make some replicated DDL queries faster
2022-04-06 19:25:25 +03:00
Mikhail Artemenko
151eeb1a27
Merge branch 'master' into MeiliSearch
2022-04-06 17:07:55 +03:00
Kseniia Sumarokova
a383d9ee6a
Merge pull request #35916 from filimonov/kafka_metrics
...
Add some metrics to engine Kafka
2022-04-06 11:58:17 +02:00
Raúl Marín
060f5118f0
Improvements based on PR review
2022-04-06 10:48:12 +02:00
Mikhail Filimonov
3412be9d4d
Change KafkaDirectReads to KafkaConsumersInUse
2022-04-05 20:25:05 +02:00
Raúl Marín
39cc3baf5f
Keep the previous exception code
2022-04-05 16:37:53 +02:00
Antonio Andelic
d296eeee2d
Small changes for Keeper
2022-04-05 13:56:28 +00:00
Alexander Tokmakov
d9e3e9b69f
Merge branch 'master' into faster_replicated_ddl
2022-04-05 14:38:38 +02:00
Alexander Tokmakov
1fe50ad201
Merge branch 'master' into mvcc_prototype
2022-04-05 14:38:02 +02:00
Maksim Kita
c3c284e6e6
Merge pull request #35917 from kitaisreal/executable-user-defined-function-fix
...
Executable user defined functions prevent executing during analysis
2022-04-05 14:05:52 +02:00
Raúl Marín
8a05cf3927
DNS cache: Add option to drop elements after several consecutive failures
2022-04-05 13:00:27 +02:00
Maksim Kita
6e1d837439
Fixed style check
2022-04-05 11:24:33 +02:00
Alexander Tokmakov
da00beaf7f
Merge branch 'master' into mvcc_prototype
2022-04-05 11:14:42 +02:00
Maksim Kita
b160ffd726
Merge pull request #35723 from ClickHouse/array-has-all-sse-avx2-optimizations
...
Merging #27653
2022-04-05 11:09:14 +02:00
Alexander Tokmakov
4e9ec5dc2f
make some replicated DDL faster
2022-04-05 00:51:48 +02:00
larryluogit
808d9afd0f
Fix optin.cplusplus.UninitializedObject issue ( #35626 )
...
* Fix optin.cplusplus.UninitializedObject issue
* Enable optin.cplusplus.UninitializedObject
2022-04-04 23:47:14 +03:00
Mikhail Filimonov
53c7376e37
Add some metrics to engine Kafka
2022-04-04 20:25:53 +02:00
Maksim Kita
2a8e479277
ExecutableUserDefinedFunction prevent function execution during query analysis
2022-04-04 15:56:01 +02:00
Alexander Tokmakov
a2167f12b8
Merge branch 'master' into mvcc_prototype
2022-04-04 14:24:23 +02:00
Maksim Kita
47528de78b
Fix build
2022-04-04 14:07:05 +02:00
Azat Khuzhin
14538f6456
Add system.processors_profile_log
...
This is the system table that will contain Processors level profiling.
v2: one entry per Processor, not 3 (PortFull/NeedData/work())
v3: us over ms
v4: Enable processors_profile_log table by default
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 13:19:41 +03:00
kssenii
36c583d0de
Better version of cache on insert
2022-04-04 10:58:59 +02:00
Antonio Andelic
a926bc19ea
Address PR comments
2022-04-04 07:24:42 +00:00
Antonio Andelic
d96b682a55
Refactor
2022-04-04 07:24:42 +00:00
taiyang-li
d6247338de
fix failed stateless tests
2022-04-04 07:24:42 +00:00
taiyang-li
eda299b48b
fix building
2022-04-04 07:24:42 +00:00
taiyang-li
4547ed370a
add hints for column description
2022-04-04 07:24:42 +00:00
Alexey Milovidov
d9e5ca2119
Merge pull request #34394 from holadepo/last_day
...
Add toLastDayOfMonth function
2022-04-04 07:02:08 +03:00
Alexey Milovidov
5a47958744
Merge pull request #35736 from CurtizJ/quota-written-bytes
...
Add quota for written bytes
2022-04-03 05:26:49 +03:00
Anton Popov
687942ce70
more strict quota for written bytes
2022-04-01 15:02:49 +00:00
kssenii
6c8e073a61
Merge master
2022-04-01 16:48:29 +02:00
tcoyvwac
cb698c4cc1
Replace throw in debug mode in destructor
...
FileSegmentsHolder:
- Replaced throw in destructor with assert for all #ifdef modes.
2022-04-01 15:42:34 +02:00
Alexander Tokmakov
6591d1ceb7
Merge branch 'master' into mvcc_prototype
2022-04-01 15:38:46 +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
filimonov
24d72a18d0
Update getNumberOfPhysicalCPUCores.cpp
...
In Kubernetes shares are calculated from resources.requests.cpu, quota & period - from limits.
When you configure only requests without limits - the container still can use all the cores. So you see all the cores the system has.
(because of requests the pod just can't be scheduled on the node which have less cpus)
So the effective CPU count is all the available cores if you don't have limits, or calculated from quota & period if you have the limits.
2022-03-31 17:21:54 +02:00
mergify[bot]
3183b61c74
Merge branch 'master' into mvcc_prototype
2022-03-31 12:27:09 +00:00
Alexander Tokmakov
5a50ad9de3
Merge branch 'master' into mvcc_prototype
2022-03-31 11:35:04 +02:00
alesapin
2365bbf0d3
Merge pull request #34566 from ClickHouse/startup-sanity-checks
...
add simple sanity checks for server startup
2022-03-31 11:33:59 +02:00
alesapin
81ce991494
Merge branch 'master' into startup-sanity-checks
2022-03-31 00:08:43 +02:00
Nikita Taranov
30f2a942c5
Predict size of hash table for GROUP BY ( #33439 )
...
* use AggregationMethod ctor with reserve
* add new settings
* add HashTablesStatistics
* support queries with limit
* support distributed and with external aggregation
* add new profile events
* add some tests
* add perf test
* export cache stats through AsynchronousMetrics
* rm redundant trace
* fix style
* fix 02122_parallel_formatting test
* review fixes
* fix 02122_parallel_formatting test
* apply also to two-level HTs
* try simpler strategy
* increase max_size_to_preallocate_for_aggregation for experiment
* fixes
* Revert "increase max_size_to_preallocate_for_aggregation for experiment"
This reverts commit 6cf6f75704
.
* fix test
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-03-30 22:47:51 +02:00
kssenii
0fc92fe2aa
Get rid of all "remote" mentions
2022-03-30 17:15:29 +02:00
kssenii
b30948dd53
Relax test
2022-03-30 17:12:23 +02:00
Vladimir C
31c367d3cd
Merge pull request #35651 from amosbird/columntransformerrename
2022-03-30 12:37:30 +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
ce9131f905
Fix unit test
2022-03-29 19:57:55 +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
Alexander Tokmakov
287d858fda
Merge branch 'master' into mvcc_prototype
2022-03-29 16:24:12 +02:00
Antonio Andelic
9990abb76a
Use compile-time check for Exception messages, fix wrong messages
2022-03-29 13:16:11 +00:00
alesapin
842c0b8ff0
Merge remote-tracking branch 'origin/startup-sanity-checks' into startup-sanity-checks
2022-03-29 14:29:33 +02:00
alesapin
ed2c461fe1
Merge branch 'master' into startup-sanity-checks
2022-03-29 14:09:20 +02:00
kssenii
7a70e3a6da
Fix
2022-03-29 14:08:24 +02:00
kssenii
eab04674fa
Fix review comments
2022-03-29 12:38:17 +02:00
taiyang-li
834ac3a1b9
Merge remote-tracking branch 'ck/master' into rocksdb_metacache
2022-03-29 18:32:06 +08:00
Antonio Andelic
362e877529
Merge branch 'master' into parallel-s3-downloading
2022-03-29 07:05:26 +00:00
Alexey Milovidov
5e262fba85
Merge pull request #35204 from azat/build-gcc
...
Add build with GCC
2022-03-29 04:55:15 +03:00
kssenii
44157e5c80
Merge master
2022-03-29 02:19:32 +02:00
mergify[bot]
9efc8bda78
Merge branch 'master' into remote-filesystem-cache-fixes
2022-03-28 20:53:29 +00:00
Alexander Tokmakov
208b242188
Merge branch 'master' into mvcc_prototype
2022-03-28 19:58:06 +02:00
Dmitry Novik
a767605f0e
Remove redundant mutable
2022-03-28 15:36:25 +00:00
Dmitry Novik
b34c1c02b7
Fix typo
2022-03-28 15:05:37 +00:00
Dmitry Novik
2017361e00
Do not cancel query if memory is free
2022-03-28 14:54:13 +00:00
Dmitry Novik
31566cdd78
Fix typo
2022-03-28 13:49:07 +00:00
taiyang-li
38702be40c
Merge remote-tracking branch 'ck/master' into rocksdb_metacache
2022-03-28 21:03:22 +08:00
Amos Bird
6003a49a87
Fix style
2022-03-28 17:48:47 +08:00
Antonio Andelic
d9d826c813
Address PR review
2022-03-28 08:19:23 +00:00
Amos Bird
58a78fba12
formatString bug fix and refactoring
2022-03-28 15:47:48 +08:00
Antonio Andelic
cbe8e747b4
Merge branch 'master' into parallel-s3-downloading
2022-03-28 07:04:45 +00:00
Alexey Milovidov
6fbf5bd9ad
More correct
2022-03-28 02:11:27 +02:00
Alexey Milovidov
bb35184da1
Add metric about size of async INSERTs
2022-03-28 02:04:19 +02:00
Dmitry Novik
95c9a03b9c
Handle corner case
2022-03-27 16:56:41 +00: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
Dmitry Novik
0d75e773ab
Continue query execution if memory is freed
2022-03-26 18:25:58 +00:00
alesapin
14e84ff6ef
Merge pull request #34802 from ClickHouse/overcommit-doc
...
Add documentation for memory overcommit
2022-03-25 20:50:44 +01:00
kssenii
141c290344
Fix build
2022-03-25 18:31:15 +01:00
Antonio Andelic
394682b983
Merge branch 'master' into parallel-s3-downloading
2022-03-25 13:00:44 +00:00
Kruglov Pavel
2f2d3cdbca
Merge pull request #35578 from ClickHouse/Avogar-patch-3
...
Increase fiber stack size a bit in attempt to fix stack overflow in tests with address sanitizer
2022-03-25 00:33:05 +01:00
Maksim Kita
7b03617341
Merge pull request #35539 from kitaisreal/parse-ipv6-long-fix
...
Fix parsing of IPv6 addresses longer than 39 characters
2022-03-24 22:28:51 +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
Dmitry Novik
56d20e00cc
Update src/Common/OvercommitTracker.cpp
...
Co-authored-by: alesapin <alesapin@clickhouse.com>
2022-03-24 17:47:48 +01:00
Kruglov Pavel
f07918c659
Increase stack size
2022-03-24 15:50:32 +01:00
kssenii
d6ab6de30a
Minor changes
2022-03-24 15:32:08 +01:00
Sergei Trifonov
2e2a1c06a2
Merge branch 'startup-sanity-checks' of github.com:ClickHouse/ClickHouse into startup-sanity-checks
2022-03-24 15:30:59 +01:00
Sergei Trifonov
041e348076
cosmetic bugfix
2022-03-24 15:30:10 +01:00
mergify[bot]
394fdb4fb8
Merge branch 'master' into startup-sanity-checks
2022-03-24 14:23:38 +00:00
Kruglov Pavel
98be162d20
Update comment
2022-03-24 13:49:26 +01:00
Kruglov Pavel
37286c6141
Increase fiber stack size a bit in attempt to fix stack overflow in tests with address sanitizer
2022-03-24 12:55:56 +01:00
tavplubix
7b96d61057
Merge pull request #35478 from ClickHouse/merging_30325
...
Merging #30325
2022-03-24 14:53:20 +03:00
kssenii
142a5938a1
Merge master
2022-03-24 12:10:26 +01:00
alesapin
d3fbd9b2ad
Fix style
2022-03-24 11:25:28 +01:00
alesapin
93d1b1d198
Merge branch 'master' into startup-sanity-checks
2022-03-24 11:17:06 +01:00
Antonio Andelic
c52cee2219
Merge branch 'master' into parallel-s3-downloading
2022-03-24 08:11:52 +00:00
kssenii
d4161b5925
Add optin read_from_cache_if_exists_otherwise_bypass_cache
(for merges)
2022-03-23 20:24:00 +01:00
mergify[bot]
b745b67026
Merge branch 'master' into parse-ipv6-long-fix
2022-03-23 18:56:40 +00:00
mergify[bot]
abbed251c1
Merge branch 'master' into asof-join-improve-performance
2022-03-23 18:53:17 +00:00
Sergei Trifonov
c7cf14e743
fix style and darwin build
2022-03-23 19:15:01 +01:00
kssenii
d2a3cfe5dc
Cache on all write operations
2022-03-23 19:14:33 +01:00
Yakov Olkhovskiy
1631656803
Merge pull request #34353 from zvonand/issue_33147
...
Extended usage of Milliseconds, Microseconds, Nanoseconds
2022-03-23 13:33:07 -04:00
kssenii
e39aba37a2
Minor changes
2022-03-23 18:11:52 +01:00
kssenii
c2c7f365ce
Merge master
2022-03-23 16:58:35 +01:00
Maksim Kita
df0d3c9304
Fix parsing of IPv6 addresses longer than 39 characters
2022-03-23 16:11:46 +01:00
kssenii
34c0690a69
Better
2022-03-23 15:43:14 +01:00
kssenii
f3e1ca44a9
Add system.remote_data_paths table
2022-03-23 13:01:18 +01:00
Maksim Kita
3c5c267c17
Improve performance of ASOF join
2022-03-23 12:19:38 +01:00
Alexander Tokmakov
94d32c6b80
Merge branch 'master' into merging_30325
2022-03-23 11:58:57 +01:00
Alexander Tokmakov
bcec53aadc
Merge branch 'master' into mvcc_prototype
2022-03-23 11:28:43 +01:00
Antonio Andelic
bb6b9f3799
Merge branch 'parallel-downloading-url-engine' into parallel-s3-downloading
2022-03-23 07:46:14 +00:00
Antonio Andelic
9829f2d051
Merge branch 'master' into parallel-downloading-url-engine
2022-03-23 07:41:14 +00:00
taiyang-li
8dbf1c60e7
merge master and fix conflict
2022-03-23 11:36:50 +08:00
Alexander Tokmakov
7e904ac789
more logs
2022-03-22 19:05:37 +01:00
Alexander Tokmakov
bc5a689899
add debug logging
2022-03-22 15:34:20 +01:00
Antonio Andelic
df99a9cc3c
Merge branch 'parallel-downloading-url-engine' into parallel-s3-downloading
2022-03-22 12:49:35 +00:00
Antonio Andelic
5da3058368
Merge branch 'master' into parallel-downloading-url-engine
2022-03-22 12:20:36 +00:00
kssenii
d8739318ea
Fix bug
2022-03-22 11:22:57 +01:00
alesapin
bad78f0daa
Don't unwind inlines if we unable to do it
2022-03-22 11:11:36 +01:00
kssenii
a9ba14e386
Fix checks
2022-03-21 21:53:46 +01:00
mergify[bot]
9a505476a5
Merge branch 'master' into mvcc_prototype
2022-03-21 20:33:07 +00:00
Maksim Kita
ce2883a13d
Merge pull request #35462 from kitaisreal/mysqlxx-pool-with-failover-style-fix
...
mysqlxx PoolWithFailover style fix
2022-03-21 20:30:55 +01:00
Alexander Tokmakov
3c762f566d
Merge branch 'master' into mvcc_prototype
2022-03-21 20:16:29 +01:00
kssenii
e5c870add2
Fix bug, fix unit tests
2022-03-21 20:00:52 +01:00
Alexander Tokmakov
0ab258be01
fix_build
2022-03-21 19:59:47 +01:00
Maksim Kita
1cb8faf36c
Fixed style
2022-03-21 16:35:18 +01:00
Alexander Tokmakov
3cca5fb181
minor fixes
2022-03-21 15:55:01 +01:00
Antonio Andelic
04e6e6ab5e
Add ParallelReadBuffer for S3
2022-03-21 14:52:26 +00:00
kssenii
afd0c64a1a
Better
2022-03-21 15:04:16 +01:00
mergify[bot]
e11ef05c2b
Merge branch 'master' into issue_33147
2022-03-21 13:40:17 +00:00
Alexander Tokmakov
94f616b48e
Merge branch 'master' into merging_30325
2022-03-21 13:23:45 +01:00
kssenii
eabbce69a7
Add system drop remote filesystem cache query, allow to write cache on insert
2022-03-21 12:32:44 +01:00
Vitaly Baranov
7a46e7a0d1
Merge branch 'master' into improve-backup-and-restore
2022-03-21 11:49:26 +01:00
Vitaly Baranov
51fc556fcd
Implement BACKUP and RESTORE for MatViews.
2022-03-21 11:45:21 +01:00
Maksim Kita
5dcbc07d22
Fixed style check
2022-03-21 10:49:46 +01:00
Maksim Kita
695b1300f9
Merge pull request #35383 from rschu1ze/enable-if-to-concepts-pt2
...
Replace more uses of std::enable_if for SFINAE by concepts
2022-03-21 10:47:28 +01:00
Maksim Kita
15271c9b13
mysqlxx PoolWithFailover style fix
2022-03-21 10:45:53 +01:00
Antonio Andelic
b8c43ff2f2
Merge branch 'master' into parallel-downloading-url-engine
2022-03-21 09:11:01 +00:00
kssenii
1d80262a2a
Add write settings, file cache settings
2022-03-21 09:50:50 +01:00
Alexey Milovidov
0ce4696c49
Revert "[WIP] New row policies"
2022-03-21 08:41:33 +03:00
Alexander Tokmakov
9e05b12d2c
Merge branch 'master' into mvcc_prototype
2022-03-20 22:42:26 +01:00
Vitaly Baranov
e72a343994
Implement BACKUP & RESTORE for the Memory table engine.
2022-03-20 20:02:15 +01:00
Vitaly Baranov
e8fc9cf476
Move renameInCreateQuery() to a better place.
2022-03-20 20:02:12 +01:00
Vitaly Baranov
c160494f43
Make BACKUP more consistent with RESTORE.
2022-03-20 20:01:52 +01:00
Vitaly Baranov
7a63feb3f7
Make restore tasks explicit.
2022-03-20 20:01:31 +01:00
Vitaly Baranov
9fb50422ce
Merge pull request #35345 from vitlibar/new-row-policies
...
[WIP] New row policies
2022-03-20 20:00:25 +01:00
Robert Schulze
7617053c58
Revert changes in HashTable.h
2022-03-19 15:44:21 +01:00
mergify[bot]
d2509dadc5
Merge branch 'master' into issue/#35128_add_mysql_error__detail
2022-03-18 13:42:25 +00:00
Alexander Tokmakov
0719d01d39
more introspection
2022-03-18 14:33:59 +01:00
kssenii
43ed2beb3c
Merge master
2022-03-18 12:33:08 +01:00
Alexander Tokmakov
c28008a2df
more comments, minor fixes
2022-03-18 12:01:26 +01:00
kssenii
b756af7a14
Uncomment code, update test
2022-03-18 10:57:32 +01:00
kssenii
44fb6fb86f
Revert some changes
2022-03-18 10:16:06 +01:00
zzsmdfj
e5540fe4c4
to #35128_add_mysql_error_detail
2022-03-18 09:49:33 +08:00
Robert Schulze
df73c75456
Replace more uses of std::enable_if for SFINAE by concepts
...
- enable_if is usually regarded as fragile and unreadable
- C++20 concepts are much easier to read and produce more expressive error messages
- this is follow-up to PR #35347 but this time most of the remaining and
more complex usages of enable_if in the codebase were replaced.
2022-03-17 20:44:55 +01:00
kssenii
a7c9fe5c78
Finally-finally fixed
2022-03-17 20:29:07 +01:00
kssenii
2157e8820f
Fix
2022-03-17 18:30:32 +01:00
kssenii
c698fb9539
Debug
2022-03-17 18:24:00 +01:00
kssenii
1b6e7fea2f
Finally fixed
2022-03-17 16:40:10 +01:00
Vitaly Baranov
3e950d79b3
Add new setting rbac_version.
2022-03-17 15:28:51 +01:00
Alexander Tokmakov
d04dc03fa4
Merge branch 'master' into mvcc_prototype
2022-03-17 15:24:32 +01:00
kssenii
59c0fb0244
Revert changes with downloaded size
2022-03-17 11:53:49 +01:00
kssenii
f354b704e0
Add more checks, different counting for download size
2022-03-17 11:52:59 +01:00
Antonio Andelic
103a3fa140
Merge branch 'master' into parallel-downloading-url-engine
2022-03-17 10:11:58 +00:00
alesapin
457fa0d1ba
Merge pull request #23932 from CurtizJ/dynamic-columns
...
Support of dynamic subcolumns (JSON data type)
2022-03-17 10:45:46 +01:00
Maksim Kita
4d8c2b2009
Merge pull request #35347 from rschu1ze/enable-if-to-concepts
...
Replace a few uses of enable_if for SFINAE by concepts
2022-03-17 10:34:08 +01:00
Alexander Tokmakov
4b3e13a4fe
Merge branch 'master' into mvcc_prototype
2022-03-16 21:06:19 +01:00
Alexander Tokmakov
c2ac8d4a5c
review fixes
2022-03-16 21:05:34 +01:00
Robert Schulze
b56c28d841
Replace a few uses of enable_if for SFINAE by concepts
...
- enable_if is usually regarded as fragile and unreadable
- C++20 concepts are much easier to read and produce more expressive
error messages
2022-03-16 19:51:38 +01:00
Maksim Kita
9ba53ae037
Merge pull request #34888 from kitaisreal/performance-tests-fix
...
Performance tests fix
2022-03-16 17:19:16 +01:00
Maksim Kita
dc31a4175f
Fixed style check
2022-03-16 16:16:08 +00:00
Anton Popov
0ba78c3c3a
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-16 15:28:09 +00:00
Kseniia Sumarokova
663c8e9e4a
Merge pull request #35275 from kssenii/fix-logical-error-in-cache
...
Fix logical error in remote fs cache
2022-03-16 15:01:41 +01:00
Maksim Kita
ed74a464bd
Fixed tests
2022-03-16 11:21:18 +00:00
Antonio Andelic
2291b7c1e1
Merge branch 'master' into parallel-downloading-url-engine
2022-03-16 09:59:52 +00:00
Nikolai Kochetov
a380aa6b8a
Merge pull request #35294 from ClickHouse/reload-remote_url_allow_hosts
...
Reload remote_url_allow_hosts after config update.
2022-03-15 22:07:16 +01:00
Maksim Kita
8bdb906acb
Fixed tests
2022-03-15 15:43:39 +00:00
Maksim Kita
08bb39d869
Fixed performance tests
2022-03-15 15:43:39 +00:00
Nikolai Kochetov
d6710b3354
Always clear hosts.
2022-03-15 14:08:56 +00:00
Nikolai Kochetov
97aa6c82ce
Reload remote_url_allow_hosts after config update.
2022-03-15 13:00:31 +00:00
mergify[bot]
a7298a98b9
Merge branch 'master' into fix-logical-error-in-cache
2022-03-15 08:29:16 +00:00
Antonio Andelic
067b79b00b
Merge branch 'master' into parallel-downloading-url-engine
2022-03-15 07:55:41 +00:00
Alexander Tokmakov
9702b5177d
Merge branch 'master' into mvcc_prototype
2022-03-14 21:45:38 +01:00
Alexander Tokmakov
278d779a01
log cleanup, more comments
2022-03-14 21:43:34 +01:00
Maksim Kita
282dd98779
Fix build
2022-03-14 18:17:36 +00:00
Maksim Kita
e7772ed434
Fix clang-tidy warnings in Common folder
2022-03-14 18:17:35 +00:00
kssenii
53d23d901e
Fix
2022-03-14 18:11:59 +01:00
Anton Popov
36ec379aeb
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-14 16:28:35 +00:00
Antonio Andelic
d3353f3f0c
Merge branch 'master' into parallel-downloading-url-engine
2022-03-14 12:47:23 +00:00
alesapin
b149f28cd3
Merge pull request #35209 from kssenii/cache-fix
...
Cache fix
2022-03-14 11:07:40 +01:00
Alexey Milovidov
978877a9c0
Merge pull request #35212 from rschu1ze/cpp14-trait-aliases
...
Use C++14 aliases for some type traits
2022-03-12 22:20:14 +03:00
zzsmdfj
88560c3917
to #35128_add_mysql_error__detail
2022-03-12 11:10:26 +08:00
alexey-milovidov
a3a8a1055d
Merge pull request #34919 from azat/fix-glibc2.35-build
...
Fix alignment for aligned_alloc() to fix build for glibc2.35+
2022-03-11 17:59:49 +03:00
alexey-milovidov
003619b18c
Merge pull request #34771 from azat/fix-glibc2.34-build
...
Fix undefined __pthread_mutex_lock/unlock for glibc 2.34+/DISABLE_HERMETIC_BUILD
2022-03-11 17:58:37 +03:00
alexey-milovidov
b6f511506b
Update ThreadFuzzer.cpp
2022-03-11 17:58:27 +03:00
Robert Schulze
85ce4a9bea
Use C++14 aliases for some type traits
2022-03-11 15:54:29 +01:00
kssenii
a18bb606a2
Update
2022-03-11 14:24:02 +01:00
kssenii
2b478e2501
Fix
2022-03-11 12:17:17 +01:00
Kseniia Sumarokova
2bd99a4c70
Update FileSegment.cpp
2022-03-11 09:52:50 +01:00
Antonio Andelic
df0f5e20d0
Refactor
2022-03-11 08:33:34 +00:00
Kseniia Sumarokova
818459b9f0
Merge pull request #33717 from kssenii/local-cache-for-remote-fs
...
Local cache for remote filesystem
2022-03-11 07:23:10 +01:00
Nikita Mikhaylov
909a7309ca
Delete nodes with attributes remove
or replace
if they didn't merge ( #35141 )
2022-03-10 23:40:55 +01:00
alexey-milovidov
40dd7da309
Update gtest_DateLUTImpl.cpp
2022-03-10 22:29:56 +03:00
Maksim Kita
83de2f66d1
Merge pull request #35032 from ClickHouse/fix-query-profiler-on-bad-linux-kernels
...
Avoid division by zero in Query Profiler if Linux kernel has a bug
2022-03-10 17:49:27 +01:00
Alexander Tokmakov
061fa6a6f2
Merge branch 'master' into mvcc_prototype
2022-03-10 13:13:04 +01:00
Miel Donkers
4a95e6d602
Parsing YAML config to XML leads to incorrect structures ( #35135 )
2022-03-10 13:09:48 +01:00
kssenii
787a0805a5
Merge master
2022-03-10 11:42:19 +01:00
kssenii
bd68d1d6d0
Update test
2022-03-10 11:02:12 +01:00
kssenii
d089b0ac86
Fix race
2022-03-09 18:14:28 +01:00
Nikita Mikhaylov
d749295222
Fix hardcoded page size ( #35129 )
2022-03-09 12:35:23 +01:00
kssenii
6571c7faa0
Clean up code
2022-03-09 10:36:52 +01:00
kssenii
5260822964
Merge master
2022-03-08 18:21:28 +01:00
kssenii
28a3aece60
Fix uncaught exception from destructor
2022-03-08 10:58:37 +01:00
taiyang-li
b4174b0bef
merge master and fix conflicts
2022-03-08 11:39:25 +08:00
kssenii
4f53080921
Fix
2022-03-07 22:03:12 +01:00
Alexander Tokmakov
8acfb8d27f
Merge branch 'master' into mvcc_prototype
2022-03-07 17:40:15 +01:00
Anton Popov
0bc57da238
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-07 14:46:08 +00:00
kssenii
692b247379
Fix some corner cases
2022-03-07 14:31:21 +01:00
kssenii
2dcfe66236
Fix race
2022-03-06 20:33:07 +01:00
alexey-milovidov
01f8eab2da
Merge pull request #35020 from ClickHouse/preprocessed_config_in_yaml
...
Always write preprocessed config in XML format
2022-03-06 02:31:37 +03:00
Anton Popov
df3b07fe7c
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-03 22:25:28 +00:00
Alexey Milovidov
dda6632932
Avoid division by zero in Query Profiler if Linux kernel has a bug
2022-03-03 21:28:30 +01:00
Nikita Mikhaylov
33baefb12b
Done
2022-03-03 14:35:52 +01:00
Maksim Kita
b1a956c5f1
clang-tidy check performance-move-const-arg fix
2022-03-02 18:15:27 +00:00
Maksim Kita
1f5837359e
clang-tidy check performance-noexcept-move-constructor fix
2022-03-02 18:15:27 +00:00
kssenii
d5952109fb
Merge master
2022-03-02 18:15:25 +01:00
alesapin
b1f5805647
Merge pull request #34609 from ClickHouse/unrestricted-zk-reads
...
allow unrestricted reads from zookeeper
2022-03-02 14:53:12 +01:00
kssenii
2ce4d34964
Fix checks
2022-03-02 14:17:19 +01:00
HaiBo Li
2ea18b3085
Fix the bug that the toDatetime function overflows ( #32898 )
...
* Fixed overflow bug of the function toDatetime/toDate/toDate32/parseDateTimeBestEffort
2022-03-02 10:06:38 +03:00
kssenii
a594f388a4
Merge master
2022-03-01 19:43:45 +01:00
Anton Popov
c1fdcf7a64
Merge remote-tracking branch 'upstream/master' into HEAD
2022-03-01 20:21:39 +03:00
kssenii
b2cab429a7
Move initialization out of constructor
2022-03-01 18:12:34 +01:00
alesapin
cba5fe44a9
Merge branch 'master' into unrestricted-zk-reads
2022-03-01 18:09:21 +01:00
kssenii
438c63f3d8
Style
2022-03-01 17:52:38 +01:00
kssenii
2f4f76341c
Fix deadlock
2022-03-01 17:07:50 +01:00
Danila Kutenin
3ce71f211a
First portion of force inlines
2022-02-27 10:43:17 +00:00
Azat Khuzhin
311f884d3d
Fix alignment for aligned_alloc() to fix build for glibc2.35+
...
In glibc2.35+ alloc_align added for aligned_alloc() alignment argument
8a9a59311551e833ca064de44ac23b193e1b704d ("Add alloc_align attribute to
memalign et al"), and this will cause an error:
/src/ch/clickhouse/src/Common/malloc.cpp:41:26: error: requested alignment is not a power of 2 [-Werror,-Wnon-power-of-two-alignment]
ignore(aligned_alloc(0, 0)); // -V575 NOLINT
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-26 13:04:38 +03:00
Alexandre Snarskii
4a14b25ca6
use getPageSize, correct typo
2022-02-25 17:02:49 +03:00
Vladimir C
45b157f909
Use SYSTEM_ERROR in MemoryStatisticsOS for FreeBSD
2022-02-25 12:37:12 +01:00
Alexandre Snarskii
93de1b1c99
Implement MemoryStatisticsOS for FreeBSD
2022-02-25 14:05:00 +03:00
Anton Popov
fcdebea925
Merge remote-tracking branch 'upstream/master' into HEAD
2022-02-25 13:41:30 +03:00
kssenii
bb27852739
Fix deadlock
2022-02-24 15:20:51 +01:00
Alexander Tokmakov
aa6b9a2abc
Merge branch 'master' into mvcc_prototype
2022-02-23 23:22:03 +03:00
kssenii
8d6f1982df
Tiny refactoring
2022-02-23 14:43:40 +01:00
kssenii
3524ae3cfc
Fix race
2022-02-23 11:12:14 +01:00
Sergei Trifonov
7fe3bef866
add test for unrestricted zk reads
2022-02-22 16:51:30 +03:00
kssenii
c637385dd0
Merge master
2022-02-22 13:17:51 +01:00
Alexey Milovidov
8d05ecc4c0
Fix error
2022-02-22 01:32:23 +01:00
Dmitry Novik
be9082f1c4
Update comments for OvercommitTracker
2022-02-21 15:45:17 +00:00
kssenii
4543513a5d
Add comments
2022-02-21 13:54:03 +01:00
kssenii
009e71e273
Fix tests
2022-02-21 11:43:03 +01:00
Alexey Milovidov
829bd066c4
Fix progress bar
2022-02-21 00:25:07 +01:00
Azat Khuzhin
9b749ae90b
Fix undefined __pthread_mutex_lock/unlock for glibc 2.34+/DISABLE_HERMETIC_BUILD
...
Right now it fails with:
ld.lld: error: undefined symbol: __pthread_mutex_lock
>>> referenced by ThreadFuzzer.cpp:300 (./src/Common/ThreadFuzzer.cpp:300)
>>> src/CMakeFiles/clickhouse_common_io.dir/Common/ThreadFuzzer.cpp.o:(pthread_mutex_lock)
>>> did you mean: __pthread_mutex_lock@GLIBC_2.2.5
>>> defined in: /usr/lib/libc.so.6
Here is the list of matched symbols for 2.35:
$ nm -D /lib/libc.so.6 | fgrep pthread_mutex_lock
00000000000908a0 T __pthread_mutex_lock@GLIBC_2.2.5
00000000000908a0 T pthread_mutex_lock@@GLIBC_2.2.5
$ nm -D /lib/libpthread.so.0 | fgrep -c pthread_mutex_lock
0
And this is for 2.33:
$ nm -D /lib/x86_64-linux-gnu/libc.so.6 | fgrep pthread_mutex_lock
0000000000083eb0 T pthread_mutex_lock@@GLIBC_2.2.5
$ nm -D /lib/x86_64-linux-gnu/libpthread.so.0 | fgrep pthread_mutex_lock
000000000000af00 T __pthread_mutex_lock@@GLIBC_2.2.5
000000000000af00 W pthread_mutex_lock@@GLIBC_2.2.5
Because "likely" starting from 27a448223cb2d3bab191c61303db48cee66f871c
("nptl: Move core mutex functions into libc") [1], __pthread_mutex_lock
is not exported anymore.
[1]: https://sourceware.org/git/?p=glibc.git;a=commit;h=27a448223cb2d3bab191c61303db48cee66f871c
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-20 22:51:47 +03:00
Alexey Milovidov
1d5e99362f
Fix progress bar jumping near 50%
2022-02-20 19:29:09 +01:00
Vladimir C
5284083647
Merge pull request #34683 from vdimir/fix_aarch64/position_utf_8
...
Fix `positionUTF8` on aarch64
2022-02-20 11:35:40 +01:00
kssenii
6b60f7c57f
Add limit for file segment size and split it if exceeds the limit
2022-02-19 18:59:22 +01:00
alexey-milovidov
73fe35e552
Update Volnitsky.h
2022-02-19 19:53:36 +03:00
alexey-milovidov
82728e03b5
Update Volnitsky.h
2022-02-19 19:52:38 +03:00
kssenii
acf9a092a9
Review fixes
2022-02-18 19:09:54 +01:00
Azat Khuzhin
c204ac7744
Export MemoryTracker::getHardLimit()
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-18 12:05:12 +03:00
Anton Popov
0a7895ebb9
add comments and small refactoring
2022-02-17 22:00:25 +03:00
zvonand
90c857c5e3
merge
2022-02-17 18:23:37 +03:00
vdimir
b474dc87ac
check len of char with upper and lower case in putNGramUTF8CaseInsensitive
2022-02-17 12:39:29 +00:00
Alexander Tokmakov
dae044f86b
Merge branch 'master' into mvcc_prototype
2022-02-17 13:49:37 +03:00
Dmitry Novik
c32313b045
Merge branch 'master' into memory-overcommit-test
2022-02-17 00:50:15 -08:00
Dmitry Novik
371d5e0e2d
Disable memory overcommit if timeout is not set
2022-02-16 22:24:09 +00:00
Dmitry Novik
07d0e3c823
cleanup
2022-02-16 20:19:10 +00:00
Dmitry Novik
44d5ddc939
Fix deadlock in OvercommitTracker
2022-02-16 20:02:14 +00:00
kssenii
47f94120da
Merge master
2022-02-16 14:43:28 +01:00
Kruglov Pavel
adf58ea1ce
Merge pull request #34490 from Avogar/fix-client
...
Refactor client fault tolerant connection
2022-02-16 12:39:46 +03:00
kssenii
886b300b8d
Less seeks
2022-02-15 16:12:25 +01:00
Dmitry Novik
bb6dad7d0e
Fix lock order
2022-02-15 15:04:13 +00:00
serxa
7ea3c003d5
fix style
2022-02-15 10:39:45 +00:00
Sergei Trifonov
a819cb7afe
avoid unhandled exceptions on sanity checks at server startup
2022-02-15 12:56:21 +03:00
kssenii
690dcea8be
Style
2022-02-15 10:11:33 +01:00
李扬
f52b67b939
Merge branch 'master' into rocksdb_metacache
2022-02-15 02:16:29 -06:00
Alexander Tokmakov
1e4e569151
Merge branch 'master' into mvcc_prototype
2022-02-15 02:26:47 +03:00
alexey-milovidov
bc206ec423
Merge pull request #31182 from ClickHouse/memory-overcommit
...
Memory overcommit
2022-02-14 23:55:02 +03:00
kssenii
bdbbe85f95
Fixes
2022-02-14 19:28:48 +01:00
Sergei Trifonov
2b0b03276b
add simple sanity checks for server startup
2022-02-13 19:58:38 +03:00
Maksim Kita
9ae2271922
Merge pull request #34506 from freedomDR/fix_lowcardinality_group_by
...
fix lowcardinality on group by of any model
2022-02-13 15:07:49 +01:00
Maksim Kita
9cb440e8d9
Update ColumnsHashing.h
2022-02-13 14:43:02 +01:00
freedomDR
8e5ba9e778
Avoid crash in case of GROUP BY LowCardinality(Nullable(String)) column and group_by_overflow_mode='any'
2022-02-13 10:19:58 +00:00
李扬
daa27d0bda
Merge branch 'master' into rocksdb_metacache
2022-02-12 07:50:12 -06:00
Alexander Tokmakov
07e66e690d
Merge branch 'master' into mvcc_prototype
2022-02-11 15:53:32 +03:00
Maksim Kita
13cbf79ecb
Improve performance of insert into table functions URL, S3, File, HDFS
2022-02-10 20:06:23 +00:00
mergify[bot]
cb3e5f8538
Merge branch 'master' into memory-overcommit
2022-02-10 11:01:43 +00:00
avogar
75c56163a0
Refactor client fault tolerant connection
2022-02-10 12:43:08 +03:00
Anton Popov
18940b8637
Merge remote-tracking branch 'upstream/master' into HEAD
2022-02-09 23:38:38 +03:00
Nikolai Kochetov
38fb50f736
Merge pull request #33958 from Algunenano/mv_cacheable_scalars
...
Scalar cache improvements
2022-02-09 16:46:53 +03:00
taiyang-li
d04ccc0489
Merge branch 'master' into rocksdb_metacache
2022-02-09 11:54:10 +08:00
Habibullah Oladepo
57ff05b6e6
Add new function toLastDayOfMonth
2022-02-08 23:48:44 +01:00
DF5HSE
cfefa57485
Merge branch 'master' of github.com:ClickHouse/ClickHouse into client-fault-tolerant-connection
2022-02-08 19:53:55 +03:00
Vitaly Baranov
9a8e45805a
Merge pull request #34226 from vitlibar/add-submodule-minizip
...
Add submodule minizip
2022-02-08 22:07:34 +07:00
zvonand
0633174b10
Merge branch 'master' of github.com:ClickHouse/ClickHouse into issue_33147
2022-02-08 11:42:31 +03:00
DF5HSE
c08bc7ad65
Merge branch 'master' of github.com:ClickHouse/ClickHouse into client-fault-tolerant-connection
2022-02-08 11:37:31 +03:00
taiyang-li
b6132d490f
merge master and solve conflict
2022-02-08 15:24:59 +08:00
DF5HSE
c1df291b18
Fix error with IPv6 in host param
2022-02-08 02:03:41 +03:00
zvonand
9456d89fad
Move current work from old laptop
...
skip-checks: true
2022-02-07 21:44:14 +03:00
kssenii
2e58733750
Merge master
2022-02-07 15:23:10 +01:00
mergify[bot]
dd947f964c
Merge branch 'master' into mv_cacheable_scalars
2022-02-07 10:07:26 +00:00
Alexander Tokmakov
45be75b4db
Merge branch 'master' into mvcc_prototype
2022-02-06 23:36:08 +03:00
zvonand
be081d997d
basic added fractional intervals types
2022-02-06 15:14:18 +03:00
Vitaly Baranov
23fac284ea
Add utility classes ZipArchiveReader and ZipArchiveWriter.
2022-02-05 23:45:20 +07:00
Vitaly Baranov
f8ef1cd23d
Add submodule minizip-ng
2022-02-05 23:45:16 +07:00
alexey-milovidov
a089f9918c
Update ThreadPool.cpp
2022-02-04 03:54:33 +03:00