Vitaly Baranov
5257ce31f8
Improved using ThreadPool for making backup or restoring, changed columns in system.backups.
2022-05-03 11:03:13 +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
Vitaly Baranov
b1295311c9
Fix crash when BACKUP & RESTORE are called without ON CLUSTER for replicated DB.
2022-05-03 11:01:44 +02:00
Vitaly Baranov
2a645bb187
Fix sending 'create_table' and 'create_database' restore settings to cluster.
2022-05-03 11:01:44 +02:00
Vitaly Baranov
bddec55d35
Added ASTBackupQuery::setDatabase().
2022-05-03 11:01:44 +02:00
Mikhail f. Shiryaev
326ce4af16
Merge pull request #36701 from ClickHouse/tests-report
...
Tests report
2022-05-03 09:55:10 +02:00
Robert Schulze
0a4eccb73e
Activated a bunch of LLVM 12/13/14 clang-tidy warnings
...
Omitted new checks which produce too many matches or which are
controversial (e.g. readability-identifier-length).
New checks:
- misc-misleading-bidirectional + misc-misleading-identifier
Detects potential attack as described in the Trojan Source attack
- modernize-macro-to-enum
Replaces groups of adjacent macros with an unscoped anonymous enum
- modernize-shrink-to-fit
Replace copy and swap tricks on shrinkable containers with the
shrink_to_fit() method call
- modernize-use-transparent-functors
Prefer transparent functors to non-transparent ones
- modernize-use-uncaught-exceptions
This check will warn on calls to std::uncaught_exception and replace
them with calls to std::uncaught_exceptions (uncaught_exception was
deprecated with C++17)
- performance-no-int-to-ptr
Diagnoses every integer to pointer cast
- readability-duplicate-include
Looks for duplicate includes and removes them
- readability-redundant-preprocessor
Finds potentially redundant preprocessor directives
- bugprone-lambda-function-name
Checks for attempts to get the name of a function from within a lambda
expression
- bugprone-redundant-branch-condition
Finds condition variables in nested if statements that were also
checked in the outer if statement and were not changed
- bugprone-shared-ptr-array-mismatch
Finds initializations of C++ shared pointers to non-array type that
are initialized with an array
- bugprone-stringview-nullptr
Checks for various ways that the const CharT* constructor of
std::basic_string_view can be passed a null argument and replaces them
with the default constructor in most cases
- bugprone-suspicious-memory-comparison
Finds potentially incorrect calls to memcmp() based on properties of
the arguments
2022-05-03 09:22:11 +02:00
Robert Schulze
777b5bc15b
Don't let storages inherit from boost::noncopyable
...
... IStorage has deleted copy ctor / assignment already
2022-05-03 09:07:08 +02:00
Antonio Andelic
fd0ba2d10b
Protect background exception
2022-05-03 06:34:03 +00:00
Antonio Andelic
bfdb4566c6
Use mutex per worker
2022-05-03 06:18:39 +00: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
07a7b6b17a
Merge pull request #36858 from ClickHouse/revert-35637-memory-overcommit-free
...
Revert "Memory overcommit: continue query execution if memory is available"
2022-05-03 00:37:20 +02:00
alesapin
f0b7af0aa2
Revert "Memory overcommit: continue query execution if memory is available"
2022-05-03 00:36:50 +02:00
Nikolai Kochetov
b10decc987
Fix style and formatting.
2022-05-02 18:59:43 +00:00
Nikita Mikhaylov
3fac56ffa1
Update Dockerfile
2022-05-02 20:37:16 +02:00
Nikolai Kochetov
3d9b87af09
Reproduce and a little bit better fix for LC dict right offset.
2022-05-02 18:06:47 +00:00
Sergei Trifonov
98168cfc8f
Add docs for developers on threads and jobs
2022-05-02 19:47:15 +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
Mikhail f. Shiryaev
c359edbd8d
Fix some linter issues
2022-05-02 18:21:39 +02:00
Mikhail f. Shiryaev
76efb83f7c
Try to fix corrupted report for died server
2022-05-02 18:21:37 +02:00
mergify[bot]
93f5aa7488
Merge branch 'master' into aggregator-jit-lock-fix
2022-05-02 16:16:36 +00:00
Dmitry Novik
9be17ef50c
Merge pull request #35111 from azat/optimize_aggregation_in_order-prefix
...
Implement partial GROUP BY key for optimize_aggregation_in_order
2022-05-02 17:49:48 +02:00
Mikhail f. Shiryaev
5e019efb7e
Try to fix corrupted report for died server
2022-05-02 17:48:40 +02:00
Mikhail f. Shiryaev
2349d3d6a6
Use f-strings, some simplifications
2022-05-02 17:48:39 +02:00
Mikhail f. Shiryaev
cd27c13331
Apply black to clickhouse-test
2022-05-02 17:48:38 +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
Alexey Milovidov
c1756f0906
Merge pull request #36836 from azat/remove-raid1
...
[RFC] Remove unimplemented RAID1 support
2022-05-02 17:26:44 +03:00
Maksim Kita
c059629f8d
Aggregator JIT compilation lock fix
2022-05-02 16:21:10 +02:00
Nikita Mikhaylov
1681bb0ff8
Update install.sh + trigger images rebuild
2022-05-02 14:05:25 +00:00
mergify[bot]
615c0237fc
Merge branch 'master' into fix-s3-cluster
2022-05-02 13:26:55 +00:00
jasperzhu
f4b275c4ac
Improve decompression in readbig to avoid unnecessary memcpy ( #36095 )
2022-05-02 15:06:52 +02:00
Kruglov Pavel
7a54a3c07b
Merge pull request #36850 from ClickHouse/Avogar-patch-4
...
Fix check black
2022-05-02 15:02:42 +02:00
Kruglov Pavel
d105be69e7
Fix check black
2022-05-02 14:55:17 +02:00
Maksim Kita
2377106370
Fix build
2022-05-02 14:27:00 +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
Anton Popov
507948ee1d
fix test
2022-05-02 12:18:35 +00:00
Kruglov Pavel
21bc5624cc
Fix
2022-05-02 14:16:29 +02:00
Kruglov Pavel
c3570b9f7e
Merge branch 'master' into fix-s3-cluster
2022-05-02 14:15:21 +02:00
mergify[bot]
1b7b1e852b
Merge branch 'master' into bump-minizip
2022-05-02 12:14:04 +00:00
Kruglov Pavel
b8ee22eb57
Update StorageS3.cpp
2022-05-02 14:09:54 +02:00
avogar
533e4adf6c
Try to fix build
2022-05-02 12:07:31 +00:00
Anton Popov
d90caf76bb
Merge pull request #36739 from zhangyifan27/fix_groupBitmapState
...
fix `groupBitmapAndState` function on distributed table
2022-05-02 14:00:24 +02:00
Kruglov Pavel
b98ac57090
Merge pull request #36803 from CurtizJ/fix-unflatten-nested
...
Fix creation of tables with `flatten_nested = 0`
2022-05-02 13:58:16 +02:00
Kruglov Pavel
d613f7eab0
Merge branch 'master' into mysqldump-format
2022-05-02 13:31:57 +02:00
Kruglov Pavel
fd980e6840
Merge pull request #36562 from wuxiaobai24/file_descriptor
...
allow file descriptor in table function file()
2022-05-02 13:25:13 +02:00
Kruglov Pavel
aaf74914b0
Fix check black
2022-05-02 13:18:51 +02:00