Commit Graph

87272 Commits

Author SHA1 Message Date
Vitaly Baranov
78bcb96098 Rename backup & restore setting 'async' -> 'sync', and make backup & restore async by default. 2022-04-26 09:51:19 +02:00
Vitaly Baranov
000b184691 Fix style & compilation. 2022-04-25 23:05:35 +02:00
Vitaly Baranov
5127eeee7b Remove debug sleep. 2022-04-25 17:11:19 +02:00
Vitaly Baranov
ed0af9d4a0 Improve shutdown with async backup/restore. 2022-04-25 16:34:34 +02:00
Vitaly Baranov
97cd68239f Change represenation of shards inside backup. 2022-04-25 16:34:34 +02:00
Vitaly Baranov
4de4fff590 Fix tests. 2022-04-25 16:34:34 +02:00
Vitaly Baranov
042dc4abb2 Rename settings shard -> shard_num, replica -> replica_num. 2022-04-25 16:34:34 +02:00
Vitaly Baranov
129eca7307 CREATE queries generated by RESTORE command is now considered as internal. 2022-04-25 16:34:34 +02:00
Vitaly Baranov
68a020ecea Implement BACKUP/RESTORE ON CLUSTER. 2022-04-25 16:34:33 +02:00
Vitaly Baranov
030f3e488c Add shard_index and replica_index to params of executeDDLQueryOnCluster(). 2022-04-25 16:34:33 +02:00
Vitaly Baranov
3477665659 Add shard_index and replica_index to params of getRewrittenASTWithoutOnCluster(). 2022-04-25 16:34:33 +02:00
Vitaly Baranov
144d3aefeb Add system table system.backups; implement async mode for commands BACKUP & RESTORE 2022-04-25 16:34:33 +02:00
Vitaly Baranov
ec5b89a6ac Revert backup version 2. Add parameter data_file_path to handle duplicate files more easily without introducing a new backup format. 2022-04-25 16:34:33 +02:00
Vitaly Baranov
c92a8925e3 Refactoring of backup implementation to support archives more easily. 2022-04-25 16:34:33 +02:00
Vitaly Baranov
3966ee1e30 Use SeekableReadBuffer instead of ReadBuffer in IBackupEntry. 2022-04-25 16:34:33 +02:00
Vitaly Baranov
f14613f433 Implemented backup version 2: now files in backups are named by their checksums.
It will allow to store duplicate files only one time.
2022-04-25 16:34:33 +02:00
Vitaly Baranov
acd28d8a1d Implement RESTORE for replicated tables. 2022-04-25 16:34:33 +02:00
Vitaly Baranov
6c3333b50b RESTORE TABLE doesn't create containing database anymore 2022-04-25 16:34:33 +02:00
Vitaly Baranov
d20b3d78c5 Rename some restore settings. 2022-04-25 16:34:17 +02:00
Vitaly Baranov
88b0cf3ca0 Fix TemporaryFileOnDisk 2022-04-25 16:33:38 +02:00
Vitaly Baranov
6743eb6bef Correct error messages shown by File & Disk backup engines. 2022-04-25 16:33:38 +02:00
Sergei Trifonov
fa5da60b72
Merge pull request #36629 from ClickHouse/serxa-patch-1
fix typo
2022-04-25 16:07:22 +02:00
Sergei Trifonov
ad9d57807f
fix typo 2022-04-25 16:06:14 +02:00
Yakov Olkhovskiy
579e8105a3
Merge pull request #36468 from ClickHouse/decouple_ParserAttachAccessEntity
Refactoring dependency for ParserAttachAccessEntity
2022-04-25 08:28:17 -04:00
Mikhail f. Shiryaev
f53040b95e
Merge pull request #36559 from ClickHouse/performance-rebalance
Use just index to split performance tests by group
2022-04-25 14:15:23 +02:00
alesapin
46ac2f3e36
Merge pull request #36607 from ClickHouse/exclude_bc_test
Exclude test `02271_fix_column_matcher_and_column_transformer` from bc check
2022-04-25 14:00:13 +02:00
Kseniia Sumarokova
2106a7b895
Merge pull request #36489 from awakeljw/fork_chmaster
fix ConvertDecimalType unexpected behavior
2022-04-25 13:23:54 +02:00
Nikolai Kochetov
0fa63a8d65
Merge pull request #36549 from ClickHouse/interpolate-alias-fix
Avoid projections if INTERPOLATE with expressions is present
2022-04-25 13:18:00 +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
Mikhail f. Shiryaev
71942b6504
Merge pull request #36604 from ClickHouse/check-style-in-docs
Check style in docs, fixes the issue affected #36596
2022-04-25 12:25:36 +02:00
Mikhail f. Shiryaev
f3aaff773a
Disable broken performance test 2022-04-25 11:26:05 +02:00
alesapin
a8f3f9704e Exclude test from bc check 2022-04-25 11:20:22 +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
Mikhail f. Shiryaev
099093c64c
Check style in documentation PRs 2022-04-25 09:42:55 +02:00
Yakov Olkhovskiy
a15c864ec7
Update 02233_interpolate_1.sql
new line
2022-04-24 23:50:19 -04:00
Rich Raposa
21442006ad
Merge pull request #36596 from ClickHouse/resubmit-two-wrong-doc-changes
Resubmit two wrong doc changes
2022-04-24 20:12:45 -06:00
Rich Raposa
9982487512
Update setting.md 2022-04-24 20:00:51 -06:00
Rich Raposa
d2a78d3fa3
Update map.md 2022-04-24 20:00:24 -06:00
Alexey Milovidov
29d5ba5223 Resubmit two wrong doc changes 2022-04-25 03:00:58 +02:00
Alexey Milovidov
dd1190fae8
Merge pull request #36595 from ClickHouse/revert-34442-patch-3
Revert "Update setting.md"
2022-04-25 03:59:41 +03:00
Alexey Milovidov
4f177281aa
Revert "Update setting.md" 2022-04-25 03:59:23 +03:00
Alexey Milovidov
397d7cf0b6
Merge pull request #36594 from ClickHouse/revert-35744-patch-1
Revert "Translate  docs/zh/sql-reference/data-types/map.md"
2022-04-25 03:54:21 +03:00
Alexey Milovidov
d327f38fe9
Revert "Translate docs/zh/sql-reference/data-types/map.md" 2022-04-25 03:54:01 +03:00
Alexey Milovidov
27d02e2689
Merge pull request #36592 from ClickHouse/rfraposa-patch-3
Add cmake page back to docs && fix /settings/settings in /zh
2022-04-25 03:24:07 +03:00
Alexey Milovidov
9443c163b5
Merge pull request #36291 from larry-cdn77/document_merge_tree_max_concurrent_queries
Document MergeTree max_concurrent_queries
2022-04-25 03:22:50 +03:00
Alexey Milovidov
1040e31821
Merge pull request #35969 from larry-cdn77/documentation
Documentation: update listing in system.metrics example
2022-04-25 03:22:42 +03:00
Alexey Milovidov
a56e7da395
Merge pull request #35744 from yjant/patch-1
Translate  docs/zh/sql-reference/data-types/map.md
2022-04-25 03:22:35 +03:00
Alexey Milovidov
05eb1b5a92
Merge pull request #35713 from guov100/patch-2
Update build-cross-arm.md , make it more human-readable in Chinese.
2022-04-25 03:22:28 +03:00
Alexey Milovidov
58490fba0b
Merge pull request #34442 from ermaotech/patch-3
Update setting.md
2022-04-25 03:22:16 +03:00