Commit Graph

84337 Commits

Author SHA1 Message Date
Mikhail f. Shiryaev
b0f9cc4838
Keep deprecated installation methods 2022-03-07 12:20:55 +01:00
vdimir
20478e9088
add testcase to 02100_replaceRegexpAll_bug 2022-03-07 11:18:12 +00:00
alesapin
3e1177a651 Merge branch 'more_keeper_sanity_checks' of https://github.com/ClickHouse/ClickHouse into more_keeper_sanity_checks 2022-03-07 12:14:04 +01:00
alesapin
e81bbfb5b5 Review fixes 2022-03-07 12:13:37 +01:00
vdimir
688493373f
Try to fix trim function 2022-03-07 11:08:11 +00:00
vdimir
202ac18e76
Skip 01086_odbc_roundtrip for aarch, disable force_tests 2022-03-07 11:04:37 +00:00
Nikolay Degterinsky
6dfbc92f5a
Merge pull request #35084 from cnmade/PR202203071030
Sync translate to zh: see Update limit-by.md: #35082
2022-03-07 13:58:43 +03:00
Vladimir C
678f05ca1e
Merge pull request #34912 from kssenii/fix-filelog-metadata-path 2022-03-07 11:45:29 +01:00
alesapin
4d86bf6fdf Merge branch 'master' into more_keeper_sanity_checks 2022-03-07 11:41:04 +01:00
Kseniia Sumarokova
cdb9a05229
Merge pull request #34605 from bigo-sg/add_metric_for_local
Add cpu/mem metric for clickhouse-local
2022-03-07 11:40:11 +01:00
alesapin
527df53c1e
Merge pull request #35088 from ClickHouse/push-artifactory-improvement
Put downloaded artifacts to a temorary path
2022-03-07 11:39:21 +01:00
Nikolay Degterinsky
8269ce8634
Merge pull request #35085 from cnmade/PR202203071100
sync translate to zh: embedded-rocksdb
2022-03-07 13:38:54 +03:00
1lann
5423c5a45c Fix typo of update_lag
In external dictionary providers, the allowed keys for configuration seemed to have a typo
of "update_lag" as "update_tag", preventing the use of "update_lag". This change fixes that.
2022-03-07 18:31:20 +08:00
alesapin
1968de7e9b
Merge pull request #35021 from ClickHouse/more_compatible_read
Fix read old records from logs
2022-03-07 11:16:13 +01:00
lgbo-ustc
0f40a5a52d update tests 2022-03-07 17:31:27 +08:00
lgbo-ustc
8ae5296ee8 fixed compile errors 2022-03-07 17:26:48 +08:00
lgbo-ustc
f322674577 update tests 2022-03-07 17:22:55 +08:00
mergify[bot]
f57dcbf8d1
Merge branch 'master' into remove-useless-define 2022-03-07 07:52:37 +00:00
lgbo-ustc
eab925554d fixed code styles 2022-03-07 14:01:03 +08:00
lgbo-ustc
0c83b96d8c fixed code style 2022-03-07 13:13:33 +08:00
lgbo-ustc
cfeedd2cb5 fixed code style 2022-03-07 12:28:31 +08:00
lgbo-ustc
a016ce3576 updat codes 2022-03-07 12:15:20 +08:00
qieqieplus
c056992e92 add new test query 2022-03-07 12:06:04 +08:00
lgbo-ustc
4507cc58aa update codes 2022-03-07 12:05:07 +08:00
zhanglistar
9efc8a1d38 Fix min/max stat 2022-03-07 11:11:14 +08:00
cnmade
4d77cffdda sync translate to zh: embedded-rocksdb 2022-03-07 10:51:22 +08:00
cnmade
1787f83783 Sync translate to zh: see Update limit-by.md 2022-03-07 10:38:01 +08:00
lgbo-ustc
68fb92edf2 update hive server image 2022-03-07 10:36:12 +08:00
lgbo-ustc
c37eedd887 update codes 2022-03-07 10:30:54 +08:00
lgbo-ustc
75a50a30c4 update codes 2022-03-07 09:43:53 +08:00
lgbo-ustc
d907b70cc4 update codes: get actual read block 2022-03-07 09:26:05 +08:00
lgbo-ustc
f4d8fb46c5 update codes 2022-03-07 09:26:05 +08:00
lgbo-ustc
62c1bd5ae9 hive read columns pruning 2022-03-07 09:26:05 +08:00
Maksim Kita
d0c7c2c0a2
Merge pull request #35082 from den-crane/patch-5
Doc. Note about limitby order
2022-03-06 21:31:20 +01:00
Maksim Kita
1392f980a0
Update limit-by.md 2022-03-06 21:30:59 +01:00
kssenii
2dcfe66236 Fix race 2022-03-06 20:33:07 +01:00
Denny Crane
fd910af86d
Update limit-by.md 2022-03-06 13:37:33 -04:00
Denny Crane
0f37183ca6
Update limit-by.md 2022-03-06 13:34:34 -04:00
Mikhail f. Shiryaev
223ec3d0b6
Put downloaded artifacts to a temorary path 2022-03-06 14:07:47 +01:00
mergify[bot]
086b8e147a
Merge branch 'master' into more_compatible_read 2022-03-06 12:05:47 +00:00
Azat Khuzhin
081f9caa04 Avoid possible deadlock on server shutdown
Here is an example for deadlock during shutting down DDLWorker:

Server main thread:

    6  ThreadFromGlobalPool::join () at ../src/Common/ThreadPool.h:217
    7  DB::DDLWorker::shutdown () at ../src/Interpreters/DDLWorker.cpp:123
    8  DB::DDLWorker::~DDLWorker () at ../src/Interpreters/DDLWorker.cpp:131
    9  DB::DDLWorker::~DDLWorker () at ../src/Interpreters/DDLWorker.cpp:130
    10 std::__1::default_delete<DB::DDLWorker>::operator() () at ../contrib/libcxx/include/memory:1397
    11 std::__1::unique_ptr<>::reset (this=0x7f7521d44fd0, __p=0x0) at ../contrib/libcxx/include/memory:1658
    12 DB::ContextSharedPart::shutdown () at ../src/Interpreters/Context.cpp:380 <!-- holds mutex
    13 DB::Context::shutdown () at ../src/Interpreters/Context.cpp:2677

DDLWorker thread:

    7  DB::Context::getLock () at ../src/Interpreters/Context.cpp:472 <-- trying to acquire shared.mutex
    8  DB::Context::getTCPPortSecure () at ../src/Interpreters/Context.cpp:2120
    9  DB::DDLTask::findCurrentHostID () at ../src/Interpreters/DDLTask.cpp:169
    10 DB::DDLWorker::initAndCheckTask () at ../src/Interpreters/DDLWorker.cpp:191
    11 DB::DDLWorker::scheduleTasks () at ../src/Interpreters/DDLWorker.cpp:367
    12 DB::DDLWorker::runMainThread () at ../src/Interpreters/DDLWorker.cpp:1063

v2: replace getTryLockTimed() with getTryLock() since std::recursive_mutex does not have try_lock_for()
v3: stole objects from context
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Fixes: #21318
2022-03-06 14:31:18 +03:00
alexey-milovidov
1675493e04
Merge pull request #35073 from Avogar/fix-tests
Try to fix failed tests
2022-03-06 14:15:35 +03:00
Azat Khuzhin
bc224dee36 Do not hide exceptions during mutations
system.mutations includes only the message, but not stacktrace, and it
is not always obvious to understand the culprit w/o stacktrace.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-03-06 13:39:49 +03:00
Kseniia Sumarokova
3ec6cd3128
Update StorageFileLog.cpp 2022-03-06 11:03:22 +01:00
qieqieplus
5287f78d8b fix #33798 2022-03-06 12:02:17 +08:00
alexey-milovidov
01f8eab2da
Merge pull request #35020 from ClickHouse/preprocessed_config_in_yaml
Always write preprocessed config in XML format
2022-03-06 02:31:37 +03:00
mergify[bot]
275ce197c7
Merge branch 'master' into fix-tests 2022-03-05 23:26:36 +00:00
alexey-milovidov
f9b7df6ba1
Merge pull request #35050 from CurtizJ/fix-async-inserts-system-table
Fix reading from `system.asynchronous_inserts` table
2022-03-06 02:25:53 +03:00
Nikolay Degterinsky
8b24cf880c
Merge pull request #35041 from cnmade/PR202203041700
Translate zh/sql-reference/statements/alter/row-policy
2022-03-06 00:27:53 +03:00
avogar
722e0ea214 Fix clickhouse-test 2022-03-05 16:46:14 +00:00