Commit Graph

6474 Commits

Author SHA1 Message Date
alexey-milovidov
df19d6aac1
Merge pull request #9622 from PerformanceVision/dictionary_status
Bring dictionary status on native prometheus exporter
2020-03-24 09:44:01 +03:00
alexey-milovidov
9a2760d914
Merge pull request #9673 from azat/processors-max_distributed_connections
Fix max_distributed_connections
2020-03-24 08:32:15 +03:00
alexey-milovidov
ebddd4f0ba
Merge pull request #9832 from ClickHouse/fix-tsan-report-system-stack-trace
Fix tsan report in system.stack_trace
2020-03-24 03:08:09 +03:00
alexey-milovidov
db55ad5309
Merge pull request #9827 from ClickHouse/remove_redundant_code_merge_tree
Remove redundant code from merge tree
2020-03-24 03:07:59 +03:00
alexey-milovidov
28aa3119a4
Merge pull request #8846 from azat/distributed-const-expr-eval
Evaluate constant expressions for optimize_skip_unused_shards
2020-03-24 03:07:42 +03:00
alexey-milovidov
1ee26193f0
Update StorageDistributed.cpp 2020-03-23 20:28:38 +03:00
Alexey Milovidov
e06b9d4c2f Fix tsan report in system.stack_trace 2020-03-23 19:25:21 +03:00
alexey-milovidov
857c39fe48
Merge pull request #9825 from ClickHouse/remove-garbage-system-tables
Remove some garbage from code of system.tables
2020-03-23 19:00:24 +03:00
alesapin
772c210184 Better name 2020-03-23 18:43:20 +03:00
Pavel Kovalenko
5375683f24
DiskS3 hardlinks optimal implementation (#9760)
* Optimal DiskS3 hardlinks implementation and new tests.

* Code style fixes.

* Minor fixed.

* Minor fixes.
2020-03-23 17:45:48 +03:00
alesapin
048a61695c Add comment 2020-03-23 16:40:14 +03:00
alesapin
b0578d3faa Remove accident change 2020-03-23 16:35:18 +03:00
alesapin
3a1e375b8a Remove atomic from bytes_size 2020-03-23 16:32:02 +03:00
Alexey Milovidov
a331f2c616 Remove some garbage from code of system.tables, part 1 2020-03-23 16:03:15 +03:00
alesapin
9cd283266e Better size calculation 2020-03-23 15:19:43 +03:00
alesapin
fd7be934bb Remove useless method and it's usages 2020-03-23 12:50:54 +03:00
alexey-milovidov
c7863e1ac6
Clang Tidy, part 7 (#9799)
* Attempt to enable identifier naming check

* Attempt to enable identifier naming check, continue

* Progress on identifier names

* Adopt identifier names check

* Fixed error

* Merge with master

* Fixed build

* Fixed build

* Fixed build

* Fixed build

* Fixed build

* Fixed error

* Fixed error

* Fixed error
2020-03-23 05:12:31 +03:00
Azat Khuzhin
b89de69345 Evaluate constant expressions for optimize_skip_unused_shards 2020-03-22 19:30:36 +03:00
Vitaly Baranov
18d5f63b31 Mass rename: AccessRightsContext -> ContextAccess, QuotaContext -> EnabledQuota, RoleContext -> EnabledRoles, and so on. 2020-03-22 11:08:08 +03:00
Vitaly Baranov
c1f5f8bc89 Improve access rights: SHOW splitted into SHOW_DATABASES, SHOW_TABLES, SHOW_COLUMNS, SHOW_DICTIONARIES, EXISTS deleted. 2020-03-22 11:08:08 +03:00
Vitaly Baranov
4af36ee5a4 Fix updating of the access rights after changing of the readonly setting. Remove non-const function Context::getSettingsRef(). 2020-03-22 11:08:08 +03:00
Alexey Milovidov
75bf22e1f3 Fixed style 2020-03-22 05:52:44 +03:00
alexey-milovidov
939e702bc6
Merge pull request #9606 from ClickHouse/alter_on_top_of_mutations_merge_tree
Non-blocking alter for vanilla merge tree
2020-03-22 03:56:25 +03:00
alexey-milovidov
03aa8d4cfd
Update AlterCommands.cpp 2020-03-22 03:56:10 +03:00
alexey-milovidov
46829a63f3
Update StorageMergeTree.cpp 2020-03-22 03:53:40 +03:00
alexey-milovidov
7a92428046
Update MutationCommands.h 2020-03-22 03:50:06 +03:00
alesapin
20970f0ba7 Remove files from part correctly 2020-03-20 22:07:09 +03:00
Alexey Milovidov
de5f559304 Fixed strange whitespaces 2020-03-20 21:53:35 +03:00
Alexey Milovidov
a5e3d4efb7 Added most of clang-static-analyzer checks 2020-03-20 21:53:35 +03:00
Azat Khuzhin
62b60a09a4 Add missing space in StorageDistributed logging (sharding key) 2020-03-20 20:51:37 +03:00
alesapin
2a533264e7 Correct merge with master (try 2) 2020-03-20 19:32:16 +03:00
alesapin
62f39b6f52 Correct merge with master 2020-03-20 19:28:41 +03:00
alesapin
90c436f940 Fix style 2020-03-20 15:45:05 +03:00
alesapin
ba3ac3df32 Fix alter drop column for compact parts 2020-03-20 15:25:24 +03:00
alesapin
5a3216b26f Merge with master 2020-03-20 13:45:36 +03:00
alesapin
610a727b92 Fix tidy error 2020-03-19 22:12:38 +03:00
alexey-milovidov
791dddc184
Merge pull request #9754 from ClickHouse/fix_mutations_memory_consumption
Fix mutations huge memory consumption
2020-03-19 21:56:50 +03:00
Pavel Kovalenko
f2dca656f9
MergeTree full support for S3 (#9646)
* IMergeDataPart full S3 support.

* MergeTreeData full S3 support.

* Compilation fixes.

* Mutations and merges S3 support.

* Fixed removing data part.

* MergeTree for S3 integration tests and fixes.

* Code style issues.

* Enable AWS logging.

* Fixed hardlink creation for DiskLocal.

* Fixed localBackup.cpp compilation.

* Fixed attaching partition.

* Get rid of extra methods in IDisk.

* Fixed storage config reloading.

* More tests with table manipulations.

* Remove unused error codes.

* Move localBackup to MergeTree folder.

* Minor fixes.
2020-03-19 19:37:55 +03:00
alesapin
c6d10e32fc Revert accident changes 2020-03-19 18:12:22 +03:00
alesapin
204d0ac955 Fix bugs after method split 2020-03-19 17:11:37 +03:00
alesapin
ce8eb9293a Merge branch 'master' into alter_on_top_of_mutations_merge_tree 2020-03-19 16:05:17 +03:00
alesapin
72baec8523 Better includes 2020-03-19 14:34:54 +03:00
alesapin
d27cd773cc Fix mutations huge memory consumption 2020-03-19 14:31:21 +03:00
alesapin
37cc49efad Fix clang-tidy 2020-03-18 20:06:48 +03:00
alesapin
04494c6ec2 Merge with master after strange conflict 2020-03-18 19:59:22 +03:00
Alexey Milovidov
93466ce097 Added even more clang-tidy checks 2020-03-18 19:51:20 +03:00
Alexey Milovidov
c20853eecc Added most of bugprone checks 2020-03-18 19:51:20 +03:00
alesapin
baec35a18b Better locking in alter 2020-03-18 17:43:16 +03:00
alesapin
f64c005e70 Split merger mutator 2020-03-18 16:16:59 +03:00
alesapin
d00406294c Splitting mutate part to temporarty part 2020-03-18 14:36:18 +03:00