Commit Graph

54962 Commits

Author SHA1 Message Date
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
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
alexey-milovidov
263c0a9408
Update tests.md 2021-01-07 16:17:00 +03:00
alexey-milovidov
8d3e50ae1d
Update tests.md 2021-01-07 16:15:44 +03:00
alexey-milovidov
bb4adf0293
Update tests.md 2021-01-07 16:15:00 +03:00
alexey-milovidov
80bdc76a23
Update tests.md 2021-01-07 16:13:48 +03:00
alexey-milovidov
99fa3cbd34
Update tests.md 2021-01-07 16:06:03 +03:00
alexey-milovidov
d0c72f83cc
Update tests.md 2021-01-07 16:04:41 +03:00
alexey-milovidov
9de3a2f892
Update tests.md 2021-01-07 16:01:54 +03:00
alexey-milovidov
025ade6ef5
Update tests.md 2021-01-07 16:00:54 +03:00
alexey-milovidov
c4c10fddb2
Update tests.md 2021-01-07 15:59:59 +03:00
alexey-milovidov
10478811f9
Update tests.md 2021-01-07 15:59:05 +03:00