Commit Graph

59262 Commits

Author SHA1 Message Date
Vitaliy Fedorchenko
0bb665428d
Update gui.md: add SeekTable 2021-03-16 09:05:08 +02:00
Maksim Kita
1b2ed51ff5
Merge pull request #21695 from azat/O_CLOEXEC-for-listen-sockets
Set SOCK_CLOEXEC for sockets (hardcoded via poco update)
2021-03-15 23:43:32 +03:00
alexey-milovidov
378e10f929
Merge pull request #21351 from fuwhu/refine-load-data-parts
Refine MergeTreeData::loadDataParts to not parse format version file and detached directory
2021-03-15 22:38:30 +03:00
alexey-milovidov
65d46b54fa
Merge pull request #21673 from vzakaznikov/update_testflows_to_1.6.74
Updating TestFlows to 1.6.74
2021-03-15 22:36:27 +03:00
alexey-milovidov
9f67c52caa
Merge pull request #21185 from Slach/fix_invalid_links
fix indvalid links, sync ru and en
2021-03-15 20:27:47 +03:00
Anton Popov
840417c957
Merge pull request #21685 from Avogar/reload-cluster-config
Update clusters only if their configs were updated
2021-03-15 20:09:58 +03:00
alexey-milovidov
6a455fe71d
Merge pull request #21715 from ClickHouse/memcpy-bench
Add more variants for memcpy benchmark
2021-03-15 20:04:36 +03:00
Vladimir
f5a7071dbd
Merge pull request #21703 from sevirov/sevirov-DOCSUP-7098-edit_translate_russian_docs_templates 2021-03-15 18:05:27 +03:00
Alexander Tokmakov
d7c43291b1 improve hung check in stress test 2021-03-15 17:23:04 +03:00
Slach
3f36613b46 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix_invalid_links 2021-03-15 19:18:53 +05:00
Vladimir
b1f22e893e
Merge branch 'master' into sevirov-DOCSUP-7098-edit_translate_russian_docs_templates 2021-03-15 15:57:54 +03:00
Vladimir
67a24de661
Apply suggestions from code review 2021-03-15 15:54:51 +03:00
Alexey Milovidov
4028461c77 Whitespaces 2021-03-15 15:54:44 +03:00
Alexey Milovidov
9820ab3558 Fix not working links on single-page docs 2021-03-15 15:46:19 +03:00
alexey-milovidov
fba8d66f51
Merge pull request #21220 from Slach/add_postgresql_engine_docs
Add postgresql engine docs
2021-03-15 15:40:15 +03:00
Alexey Milovidov
da08d29955 Remove trash and fix broken links 2021-03-15 14:56:04 +03:00
Alexey Milovidov
7978320cc2 Fix tons of trash 2021-03-15 14:49:38 +03:00
Alexey Milovidov
c506356cc6 Fix trash links 2021-03-15 14:41:20 +03:00
Alexey Milovidov
6d6633eca4 Fix garbage 2021-03-15 14:38:28 +03:00
Alexey Milovidov
8850856276 Remove "Original article" (must be automated instead) 2021-03-15 14:32:26 +03:00
Alexey Milovidov
0a6a80fa52 Fix broken links 2021-03-15 14:30:56 +03:00
Alexey Milovidov
4ad6cc3313 Improve links matching 2021-03-15 14:28:37 +03:00
Alexey Milovidov
63bf066e2d Improve links matching 2021-03-15 14:27:49 +03:00
Alexey Milovidov
e7ba9dcd68 Merge branch 'master' into add_postgresql_engine_docs 2021-03-15 14:15:24 +03:00
robot-clickhouse
1ede69e277 Update version_date.tsv after release 21.1.7.1 2021-03-15 14:15:06 +03:00
alexey-milovidov
8d1bf002e9
Merge pull request #21716 from azat/concurrent-OPTIMIZE-DROP-fix
[RFC] Fix concurrent OPTIMIZE and DROP for ReplicatedMergeTree
2021-03-15 14:12:27 +03:00
tavplubix
984050e0d1
Merge pull request #21661 from Avogar/path-param
Add test for path as a query parameter in system.zookeeper
2021-03-15 13:13:36 +03:00
alesapin
9d9684cc42
Merge pull request #21676 from azat/fix-server-startup
Start accepting connections after DDLWorker and dictionaries initialization
2021-03-15 13:10:44 +03:00
alexey-milovidov
88a2985f9e
Merge pull request #21729 from baixuexue123/patch-3
Improve the translation of `query_log.md` in Chinese documents
2021-03-15 12:50:17 +03:00
Vitaly Baranov
6153f52811
Merge pull request #21641 from vitlibar/allowed-grantees
Add new clause GRANTEES for CREATE/ALTER USER
2021-03-15 12:47:22 +03:00
robot-clickhouse
1e495705ad Update version_date.tsv after release 21.2.6.1 2021-03-15 12:44:13 +03:00
Alexey Milovidov
9bea10d9f9 Fix style 2021-03-15 11:49:56 +03:00
Alexey Milovidov
1f6b05cd85 Add example 2021-03-15 11:18:11 +03:00
Alexey Milovidov
637f6a29a6 Add penalty 2021-03-15 11:16:15 +03:00
Pysaoke
679b32ee54
Update query_log.md
Improve the translation of `query_log.md` in Chinese documents
2021-03-15 16:11:57 +08:00
alexey-milovidov
afa24938bc
Merge pull request #21686 from kitaisreal/library-dictionary-source-fix-possible-leak
LibraryDictionarySource fix possible leak
2021-03-15 00:06:15 +03:00
Alexey Milovidov
8c2d65242a Fix style 2021-03-14 23:24:22 +03:00
Alexey Milovidov
145116bfb6 Fix style 2021-03-14 23:22:12 +03:00
Alexey Milovidov
ce364955b7 Fix broken link 2021-03-14 23:19:53 +03:00
alexey-milovidov
adbf032235
Merge pull request #21713 from ClickHouse/modulo-ubsan
Fix UBSan report in modulo by constant
2021-03-14 23:19:12 +03:00
Azat Khuzhin
402bf77783 Fix concurrent OPTIMIZE and DROP for ReplicatedMergeTree
Found with fuzzer [1] for 00992_system_parts_race_condition_zookeeper:

    2021.03.13 11:12:30.385188 [ 42042 ] {2d3a8e17-26be-47c1-974f-bd2c9fc7c3af} <Debug> executeQuery: (from [::1]:58192, using production parser) (comment: '/usr/share/clickhouse-test/queries/1_stateful/00153_aggregate_arena_race.sql') CREATE TABLE alter_tabl
    e (a UInt8, b Int16, c Float32, d String, e Array(UInt8), f Nullable(UUID), g Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/test_3.alter_table', 'r1') ORDER BY a PARTITION BY b % 10 SETTINGS old_parts_lifetime = 1, cleanup_delay_p
    eriod = 1, cleanup_delay_period_random_add = 0;
    ...
    2021.03.13 11:12:30.678387 [ 42042 ] {528cafc5-a02b-4df8-a531-a9a98e37b478} <Debug> executeQuery: (from [::1]:58192, using production parser) (comment: '/usr/share/clickhouse-test/queries/1_stateful/00153_aggregate_arena_race.sql') CREATE TABLE alter_table2 (a UInt8, b Int16, c Float32, d String, e Array(UInt8), f Nullable(UUID), g Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/test_3.alter_table', 'r2') ORDER BY a PARTITION BY b % 10 SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 1, cleanup_delay_period_random_add = 0;
    ...
    2021.03.13 11:12:40.671994 [ 4193 ] {d96ee93c-69b0-4e89-b411-16c382ae27a8} <Debug> executeQuery: (from [::1]:59714, using production parser) (comment: '/usr/share/clickhouse-test/queries/1_stateful/00153_aggregate_arena_race.sql') OPTIMIZE TABLE alter_table FINAL
    ...
    2021.03.13 11:12:40.990174 [ 2298 ] {a80f9306-3a73-4778-a921-db53249247e3} <Debug> executeQuery: (from [::1]:59768, using production parser) (comment: '/usr/share/clickhouse-test/queries/1_stateful/00153_aggregate_arena_race.sql') DROP TABLE alter_table;
    ...
    2021.03.13 11:12:41.333054 [ 2298 ] {a80f9306-3a73-4778-a921-db53249247e3} <Debug> test_3.alter_table (d4fedaca-e0f6-4c22-9a4f-9f4d11b6b705): Removing part from filesystem 7_0_0_0
    ...
    2021.03.13 11:12:41.335380 [ 2298 ] {a80f9306-3a73-4778-a921-db53249247e3} <Debug> DatabaseCatalog: Waiting for table d4fedaca-e0f6-4c22-9a4f-9f4d11b6b705 to be finally dropped
    ...
    2021.03.13 11:12:41.781032 [ 4193 ] {d96ee93c-69b0-4e89-b411-16c382ae27a8} <Debug> test_3.alter_table (d4fedaca-e0f6-4c22-9a4f-9f4d11b6b705): Waiting for queue-0000000085 to disappear from r2 queue
    ...
    2021.03.13 11:12:41.900039 [ 371 ] {} <Trace> test_3.alter_table2 (ReplicatedMergeTreeQueue): Not executing log entry queue-0000000085 of type MERGE_PARTS for part 7_0_0_1 because part 7_0_0_0 is not ready yet (log entry for that part is being processed).
    2021.03.13 11:12:41.900213 [ 365 ] {} <Trace> test_3.alter_table2 (ReplicatedMergeTreeQueue): Cannot execute alter metadata queue-0000000056 with version 22 because another alter 21 must be executed before
    2021.03.13 11:12:41.900231 [ 13762 ] {} <Trace> test_3.alter_table2 (ae877c49-0d30-416d-9afe-27fd457d8fc4): Executing log entry to merge parts -7_0_0_0 to -7_0_0_1
    2021.03.13 11:12:41.900330 [ 13762 ] {} <Debug> test_3.alter_table2 (ae877c49-0d30-416d-9afe-27fd457d8fc4): Don't have all parts for merge -7_0_0_1; will try to fetch it instead
    ...

  [1]: https://clickhouse-test-reports.s3.yandex.net/21691/eb3710c164b991b8d4f86b1435a65f9eceb8f1f5/stress_test_(address).html#fail1
2021-03-14 22:35:50 +03:00
Alexey Milovidov
1bc21789d2 Add more variants 2021-03-14 19:52:51 +03:00
Vitaly Baranov
37ce6e26d3 Add a new clause GRANTEES to commands CREATE USER and ALTER USER. 2021-03-14 19:12:42 +03:00
Vitaly Baranov
d6e0342c30 Improvements in implementations of the classes AccessRights and GrantedRoles. 2021-03-14 19:12:35 +03:00
alesapin
dad5238d7d
Merge pull request #16240 from ianton-ru/s3_zero_copy_replication
S3 zero copy replication
2021-03-14 18:19:37 +03:00
Alexey Milovidov
c64892cdc8 Fix broken links 2021-03-14 17:36:45 +03:00
Alexey Milovidov
b3d2948081 Fix UBSan report in modulo by constant 2021-03-14 17:31:07 +03:00
Maksim Kita
c94ee3151d
Merge pull request #21182 from ikarishinjieva/fix_#21170
fix #21170
2021-03-14 17:24:39 +03:00
Maksim Kita
dfd2068350 Updated SharedLibrary string_view interface 2021-03-14 17:19:48 +03:00
Alexey Milovidov
fd766a3519 Better than nothing 2021-03-14 16:31:16 +03:00