Commit Graph

56059 Commits

Author SHA1 Message Date
alexey-milovidov
442a90fb89
Merge pull request #18850 from ClickHouse/system-suspend
Add SYSTEM SUSPEND command for fault injection
2021-01-08 07:26:05 +03:00
Vitaliy Zakaznikov
4f0068bdde Fixing inproper usage of And step. 2021-01-07 18:42:54 -05:00
Azat Khuzhin
f2ff785460 Do not check bit flips for big buffers (since the size can be corrupted) 2021-01-08 02:26:17 +03:00
alexey-milovidov
19ad9e7a51
Merge pull request #18832 from azat/altstack-fix
Respect MINSIGSTKSZ for alternative stack to fix under aarch64
2021-01-08 01:15:55 +03:00
alexey-milovidov
371149b8fe
Merge pull request #18811 from ClickHouse/integrity-check
Simple integrity check for ClickHouse binary
2021-01-08 01:15:35 +03:00
Azat Khuzhin
7b9f670cc3 Fix DirectorySyncGuard under OSX 2021-01-07 23:34:08 +03:00
Alexey Milovidov
6dcc779978 Merge branch 'master' into spongedu-complete_sysemlog_table_doc 2021-01-07 22:27:37 +03:00
Alexey Milovidov
9cbb9c6d7c Add SYSTEM SUSPEND command #15979, continued 2021-01-07 22:22:41 +03:00
Alexey Milovidov
ffa5bbd5fd Add SYSTEM SUSPEND command #15979 2021-01-07 22:19:33 +03:00
bharatnc
1e579ac375 Fixes to code, build and style checks 2021-01-07 11:10:49 -08:00
bharatnc
8dacfde3d3 Docs - update to reflect code changes 2021-01-07 11:10:41 -08:00
bharatnc
6f0009ff52 extract cluster_name from DDLQuery 2021-01-07 11:10:41 -08:00
bharatnc
f0ea07b493 DDLLogEntry.parse() to populate query and initiator 2021-01-07 11:10:41 -08:00
bharatnc
9cddd22a7a review fixes 2021-01-07 11:10:41 -08:00
bharatnc
5365d556e3 Docs - distributed_ddl_queue 2021-01-07 11:10:41 -08:00
bharatnc
24d67082a9 few more changes and simplification to integration test 2021-01-07 11:10:41 -08:00
bharatnc
c796b0c1cb add exception_status column 2021-01-07 11:10:41 -08:00
bharatnc
9004d4384d Add query_start|finish_time, query_dureation_ms 2021-01-07 11:10:41 -08:00
bharatnc
6da923cbe1 Use tryGetChildren() for Zookeeper 2021-01-07 11:10:41 -08:00
bharatnc
57126d1901 Add values column and fix tests 2021-01-07 11:10:41 -08:00
bharatnc
2a122905f1 Review - initial round of changes 2021-01-07 11:10:41 -08:00
bharatnc
f6d33c49bb DDLWorkerQueueTable - fix integration test 2021-01-07 11:10:41 -08:00
bharatnc
c0d32dee37 DDLWorkerQueueTable - make loop vars a const ref 2021-01-07 11:10:41 -08:00
bharatnc
cc568a1d2c DDLWorkerQueueTable - load distributed_ddl.path from server config 2021-01-07 11:10:40 -08:00
bharatnc
b008c49bd9 DDlWorkerQueueTable - add integration test 2021-01-07 11:10:40 -08:00
bharatnc
56a8532781 DDLWorkerQueueTable - populate active and finished columns 2021-01-07 11:10:40 -08:00
bharatnc
5af6f11325 DLLWorkerQueueTable - remove unimplemented function 2021-01-07 11:10:40 -08:00
bharatnc
da174a63d1 DDLWorkerQueueTable - initial attempt to fetch entries from zk 2021-01-07 11:10:40 -08:00
bharatnc
2c1f9e2a77 DDLWorkerQueueTable - add intial scaffolding 2021-01-07 11:10:40 -08:00
Alexey Milovidov
8e0c3c8a42 Merge branch 'master' into amosbird-onclusteraltersettings 2021-01-07 21:42:13 +03:00
Alexey Milovidov
32d8785a26 Better kill #18847 2021-01-07 21:36:38 +03:00
Azat Khuzhin
9a09044da6 Add DirectorySyncGuard.cpp into ya.make 2021-01-07 20:41:43 +03:00
Azat Khuzhin
b1f08f5c27 Rename FileSyncGuard to DirectorySyncGuard 2021-01-07 20:26:18 +03:00
myrrc
0fc2020f2a fix gcc build 2021-01-07 19:38:58 +03:00
Azat Khuzhin
798fb4e842 Smoke coverage of various fsync capabilities 2021-01-07 19:30:25 +03:00
Azat Khuzhin
513a824f30 Fix fsync_part_directory for parts renames 2021-01-07 19:30:25 +03:00
Azat Khuzhin
53268d9f05 Fix fsync_after_insert by not closing fd from finalize()
But this may cause troubles, another option will be to split finalize()
into finalize(bool sync) and finalizeImpl()

This was introduced in #8356
2021-01-07 19:30:10 +03:00
Azat Khuzhin
52f56cd6ad Add support of F_FULLSYNC on osx 2021-01-07 19:25:26 +03:00
Azat Khuzhin
8d3ec1cce9 Fix fsync_part_directory (missing O_DIRECTORY)
On linux you should pass O_DIRECTORY, otherwise open(2) will fail
2021-01-07 19:25:26 +03:00
Alexey Milovidov
e7a7f557d1 Fix Arcadia 2021-01-07 18:40:54 +03:00
Alexey Milovidov
afb4cc8d3a Merge branch 'master' of github.com:yandex/ClickHouse into kssenii-pg2ch 2021-01-07 18:40:12 +03:00
Alexey Milovidov
159891573f Merge branch 'master' into kssenii-pg2ch 2021-01-07 18:39:44 +03:00
Azat Khuzhin
46c3266c6a Respect MINSIGSTKSZ for alternative stack to fix under aarch64
And acording to sigaltstack(2) alignment is not required:

    When a signal handler is invoked on the alternate stack, the kernel
    automatically aligns the address given in ss.ss_sp to a suitable address
    boundary for the underlying hardware architecture.

Fixes: #18785
2021-01-07 18:28:23 +03:00
fastio
ea047b951f Expand macros for fetchPartition 2021-01-07 22:13:17 +08:00
alexey-milovidov
80d88a7b17
Merge pull request #18834 from ClickHouse/revert-17838-dev/add_metrics_for_parts
Revert "Add metrics for part number in MergeTree in ClickHouse"
2021-01-07 16:41:18 +03:00
alexey-milovidov
a08db94343
Revert "Add metrics for part number in MergeTree in ClickHouse" 2021-01-07 16:40:52 +03:00
Alexey Milovidov
b85bc3f5eb Fix Arcadia 2021-01-07 16:37:55 +03:00
Alexey Milovidov
cea1b7dba5 Fix build 2021-01-07 16:37:06 +03:00
alexey-milovidov
9b4160bbd0
Update tests.md 2021-01-07 16:31:50 +03:00
alexey-milovidov
c69931d352
Update tests.md 2021-01-07 16:22:28 +03:00