Commit Graph

83395 Commits

Author SHA1 Message Date
Azat Khuzhin
daa292cf5a jemalloc: remove README for linux x86_64
Note, that there is no need to disable JEMALLOC_PURGE_MADVISE_FREE,
since jemalloc does check in runtime, and ClickHouse already
successfully works w/o this change.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
1a98c1aace jemalloc: move JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF out from per-arch
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
e962649899 jemalloc: correctly disable JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
560f813c46 jemalloc: cleanup README for linux x86_64
- remove GNU_SOURCE it is done in common CMakeLists.txt
- remove JEMALLOC_OVERRIDE___POSIX_MEMALIGN (there is no need to since
  __posix_memalign() does not exists in linux)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
be4d95e444 jemalloc: remove superfluous READMEs
Those were just copied from include_linux_x86_64, and replaced x86_64
with the arch.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
bc183223c5 jemalloc: update provisioned headers for linux x86_64
v2: update jemalloc

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
0c73b860e5 jemalloc: update generic headers
v2: update jemalloc one more time
v3:
- do not include jemalloc_mangle*.h
- do not change jemalloc.h
- fix for JEMALLOC_NOTHROW/JEMALLOC_SYS_NOTHROW

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
569d613326 jemalloc: update cmake rules
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-17 21:25:58 +03:00
Azat Khuzhin
14446290f7 jemalloc: update to dev/5.3RC
And now we can use upstream jemalloc, since all required patches had
been merged into upstream (we have to use fork since there was no new
5.2.x releases).

v2: rebase to include patch for failed assert
2022-02-17 21:25:11 +03:00
Maksim Kita
562f1ec01a
Merge pull request #34607 from zzsmdfj/issue/#31092_add_encodeURLComponent_function
add encode url component function
2022-02-17 17:57:23 +01:00
Mikhail f. Shiryaev
bce6947fb3
Merge pull request #34685 from ClickHouse/auto/v22.2.2.1-stable
Update version_date.tsv after v22.2.2.1-stable
2022-02-17 17:49:41 +01:00
robot-clickhouse
817ef71b3d
Update version_date.tsv after v22.2.2.1-stable 2022-02-17 17:49:05 +01:00
Mikhail f. Shiryaev
462b817759
Merge pull request #34624 from ClickHouse/timeout-fast-tests
Timeout fast tests
2022-02-17 17:25:12 +01:00
alexey-milovidov
89d6e49d57
Merge pull request #34687 from ClickHouse/changelog-22.2
Changelog for version 22.2
2022-02-17 19:09:46 +03:00
alexey-milovidov
f7000cf06a
Update CHANGELOG.md 2022-02-17 19:05:04 +03:00
Mikhail f. Shiryaev
e8f927283c
Add timeouts to TeePopen, second attempt 2022-02-17 16:44:34 +01:00
alesapin
8a0153b6d3
Merge pull request #34606 from qoega/no-clickhouse-test-deb
Remove clickhouse-test deb completely
2022-02-17 18:13:44 +03:00
Mikhail f. Shiryaev
1aff775574
Apply black formatter, fix linter notes 2022-02-17 16:11:12 +01:00
alesapin
21bc494bd6
Merge pull request #34686 from ianton-ru/MDB-16622
Fix ZooKepper paths in zero_copy_schema_converter.py
2022-02-17 18:10:16 +03:00
Alexey Milovidov
34e6d28fc5 Editing the changelog 2022-02-17 16:09:24 +01:00
Alexey Milovidov
d3416129a0 Editing the changelog 2022-02-17 15:59:22 +01:00
Anton Ivashkin
243726aa29 Fix ZooKepper paths in zero_copy_schema_converter.py 2022-02-17 17:05:49 +03:00
Kruglov Pavel
5e8b2228e0
Merge pull request #34561 from bigo-sg/arrow_type_timestamp
Implement transformation between CH DateTime64 and arrow timestamp column
2022-02-17 16:55:17 +03:00
Alexey Milovidov
ed50ab2f2e Changelog for version 22.2 (autogenerated draft) 2022-02-17 14:38:16 +01:00
alesapin
d08e3d1d46
Merge pull request #34680 from ClickHouse/drop-pvs
Remove PVS test
2022-02-17 16:25:02 +03:00
Kruglov Pavel
07098fc597
Merge pull request #34619 from vdimir/fix_aarch64/01662_date_ubsan
Check overflow in addSeconds/Minues/etc functions
2022-02-17 15:55:55 +03:00
Mikhail f. Shiryaev
c3bf9eb2f9
Remove PVS test 2022-02-17 12:59:47 +01:00
Mikhail f. Shiryaev
6f637d63e2
Merge pull request #34677 from ClickHouse/22.3-prepare
Update version after release
2022-02-17 12:38:00 +01:00
tavplubix
0f5ee19d0b
Merge pull request #34633 from zhangjmruc/master
For ReplatedMergeTree, early break for multiple leaders case when log has been updated by the other leader
2022-02-17 14:01:50 +03:00
Kruglov Pavel
6dcb766879
Merge pull request #34465 from Avogar/fix-url-globs
Improve schema inference with globs in FIle/S3/HDFS/URL engines
2022-02-17 13:33:27 +03:00
Mikhail f. Shiryaev
ddc0939a4b
Update version to 22.3.1.1 2022-02-17 11:21:11 +01:00
alesapin
6df2c9c2d8
Merge pull request #34433 from ClickHouse/s3-fix-content-type
Workaround for bug when AWS mistakenly set Content-Type to XML
2022-02-17 13:11:14 +03:00
Kruglov Pavel
7411178064
Merge pull request #34650 from azat/fix-projection-optimization
Fix allow_experimental_projection_optimization with enable_global_with_statement
2022-02-17 13:09:57 +03:00
alesapin
75366fc95e
Merge pull request #34591 from ClickHouse/memory-overcommit-test
Fix deadlock in OvercommitTracker
2022-02-17 12:17:18 +03:00
Dmitry Novik
c32313b045
Merge branch 'master' into memory-overcommit-test 2022-02-17 00:50:15 -08:00
alesapin
5343b7dcbe
Merge pull request #34663 from ClickHouse/disable-overcommit
Disable memory overcommit if timeout is not set
2022-02-17 11:31:17 +03:00
alesapin
0b099b140f Fix 2022-02-17 10:39:33 +03:00
Jianmei Zhang
ef0c3b99ff Merge remote-tracking branch 'upstream/master' 2022-02-17 14:02:27 +08:00
Nikolay Degterinsky
bd2f8958fe
Merge pull request #34672 from cnmade/PR202202170930
sync translate to zh: getting-started/install: stable install
2022-02-17 08:53:46 +03:00
zzsmdfj
1c068f1295 to issue/#31092_add_encodeURLComponent_function 2022-02-17 11:55:06 +08:00
zzsmdfj
6b78da6f02 to issue/#31092_add_encodeURLComponent_function 2022-02-17 11:32:47 +08:00
cnmade
bc48ec4793 sync translate to zh: getting-started/install: stable install
see 2e143719
2022-02-17 10:36:38 +08:00
Mikhail f. Shiryaev
2340a6c684
Merge pull request #34659 from ClickHouse/improve-release
Improve the release.py script
2022-02-17 00:53:02 +01:00
Dmitry Novik
371d5e0e2d Disable memory overcommit if timeout is not set 2022-02-16 22:24:09 +00:00
Dmitry Novik
07d0e3c823 cleanup 2022-02-16 20:19:10 +00:00
Dmitry Novik
44d5ddc939 Fix deadlock in OvercommitTracker 2022-02-16 20:02:14 +00:00
Mikhail f. Shiryaev
0c41564b27
Add the rollback command logging on success run 2022-02-16 20:51:28 +01:00
Mikhail f. Shiryaev
015c0ab611
Solve the issue with wrong initial version 2022-02-16 17:46:43 +01:00
Mikhail f. Shiryaev
b2f3a4ccab
Fix issues with labeling 2022-02-16 17:42:44 +01:00
Azat Khuzhin
774744a86d Fix allow_experimental_projection_optimization with enable_global_with_statement
allow_experimental_projection_optimization requires one more
InterpreterSelectQuery, which with enable_global_with_statement will
apply ApplyWithAliasVisitor if the query is not subquery.

But this should not be done for queries from
MergeTreeData::getQueryProcessingStage()/getQueryProcessingStageWithAggregateProjections()
since this will duplicate WITH statements over and over.

This will also fix scalar.xml perf tests, that leads to the following
error now:

    scalar.query0.prewarm0: DB::Exception: Stack size too large.

And since it has very long query in the log, this leads to the following
perf test error:

    _csv.Error: field larger than field limit (131072)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-16 19:14:47 +03:00