Commit Graph

63126 Commits

Author SHA1 Message Date
kssenii
a31e6606c1 Fix 2021-04-17 10:40:48 +00:00
kssenii
5258cccdf7 Add test 2021-04-17 09:55:36 +00:00
kssenii
5dc2dfa437 Fix 2021-04-17 09:00:58 +00:00
Alexey
86daa5612c Merge branch 'master' of https://github.com/ClickHouse/ClickHouse 2021-04-17 08:09:30 +00:00
Azat Khuzhin
a963fba41a Update 00084_external_aggregation to avoid using mmap 2021-04-17 10:37:58 +03:00
Azat Khuzhin
1b367ee71d Update 01605_adaptive_granularity_block_borders to avoid using mmap 2021-04-17 10:37:58 +03:00
Azat Khuzhin
6064f3ef1d Fix memory tracking with min_bytes_to_use_mmap_io
With min_bytes_to_use_mmap_io=1 memory regions for mmap() will not be
accounted. But this creates issues, since if you will run simple
"SELECT * FROM big_enough_table" it will mmap lot's of files and the
process RSS will grow at some point, and before the kernel will
understand that it needs to unmap physical pages the clickhouse-server
will sync total_memory_tracker with RSS of the process and the
allocations will fail by per-server memory limits.

Also note, that this does not address all the issues with mmap()
regions.

v2: move track/untrack into the MMapReadBufferFromFileWithCache to avoid
data-race [1]

  [1]: https://clickhouse-test-reports.s3.yandex.net/23211/6acf6cb9b22cee7db8d1aa523a6208f63e792f7a/functional_stateful_tests_(thread).html#fail1
2021-04-17 10:37:38 +03:00
Nikita Mikhaylov
7a23d8292f done 2021-04-16 23:53:26 +00:00
Maksim Kita
3f3f928c1f
Merge pull request #21639 from changvvb/support-apple-m1
Support Apple m1
2021-04-17 02:44:15 +03:00
Alexey Milovidov
ecf8de7111 Add a test for #14610 2021-04-17 02:22:32 +03:00
Alexey Milovidov
ec473a90d2 Fixed missing semicolon in exception message 2021-04-17 02:14:48 +03:00
Alexey Milovidov
36fe378a17 Fix fairly terrible bug in LowCardinality #16171 2021-04-17 02:11:21 +03:00
alexey-milovidov
786f340256
Merge pull request #22755 from kssenii/postgresql-protocol-with-row-policy
Allow row policy in postgresql protocol
2021-04-17 01:55:30 +03:00
robot-clickhouse
88445294b4 Update version_date.tsv after release 20.8.18.32 2021-04-17 01:11:03 +03:00
robot-clickhouse
d2101c05ce Update version_date.tsv after release 21.2.10.48 2021-04-17 00:40:38 +03:00
robot-clickhouse
a1f6b0e560 Update version_date.tsv after release 21.3.7.62 2021-04-17 00:28:08 +03:00
robot-clickhouse
df2e75bf00 Update version_date.tsv after release 21.4.4.30 2021-04-16 23:56:52 +03:00
Maksim Kita
d381e59791
Merge pull request #23114 from kitaisreal/fix-arcadia-build-s3
Fix arcadia build S3
2021-04-16 23:35:10 +03:00
Maksim Kita
4be441c6d5
Merge branch 'master' into support-apple-m1 2021-04-16 23:33:12 +03:00
alesapin
1b4e3ea1d4 Fix unit tests with new API 2021-04-16 23:07:40 +03:00
Alexander Kuzmenkov
7adc0fde82
Merge pull request #23088 from azat/jemalloc-tunning
jemalloc tuning
2021-04-16 22:17:03 +03:00
alesapin
5c7fa239e2 One more typo 2021-04-16 22:08:52 +03:00
Alexander Kuzmenkov
2782b2a6b0 fix 2021-04-16 21:50:12 +03:00
alesapin
8ff272cf7c Fix typo 2021-04-16 21:35:03 +03:00
alesapin
15cd9b116c Remove debug 2021-04-16 21:32:37 +03:00
alesapin
690045c67f Fix nasty bug 2021-04-16 21:31:23 +03:00
alexey-milovidov
74a0ac6917
Merge pull request #23160 from azat/logging-v2
[RFC] Change logging from trace to debug for messages with rows/bytes
2021-04-16 21:18:32 +03:00
Maksim Kita
a809323179 Updated zlib version 2021-04-16 21:15:32 +03:00
Maksim Kita
2ff5fe24c7
Merge pull request #23153 from kitaisreal/updated-zlib
Updated zlib
2021-04-16 21:06:06 +03:00
Nikolai Kochetov
abe84acc8c Update test. 2021-04-16 20:19:03 +03:00
Nikolai Kochetov
1bf420cbcf Update json description for other steps. 2021-04-16 19:36:59 +03:00
Alexander Kuzmenkov
b991cbf9d6 more stable formatting for negate() 2021-04-16 19:28:33 +03:00
Alexander Tokmakov
3b4bd18809 fix prewhere in materialize mysql 2021-04-16 18:51:27 +03:00
tavplubix
3d1885f08c
Merge pull request #23177 from marsno1/fix-exception-log
Fix exception message for "parts_to_throw_insert"
2021-04-16 18:15:07 +03:00
Pavel Kovalenko
760a2ccedf DiskS3 restore file format change and minor improvements. 2021-04-16 17:43:16 +03:00
romanzhukov
9c4eabc65a BY translation fixes. 2021-04-16 17:06:18 +03:00
alesapin
7ed32dddf0 More checks 2021-04-16 17:00:12 +03:00
alesapin
7f69910e97 Followup fix 2021-04-16 16:56:57 +03:00
alesapin
539f6cda8b Followup fix 2021-04-16 16:56:05 +03:00
alesapin
aecab0a1f6 Followup fix 2021-04-16 16:55:39 +03:00
alesapin
e724952c03 Fix obvious bug 2021-04-16 16:53:48 +03:00
alesapin
f168bfae6d More optimal 2021-04-16 16:50:09 +03:00
Maksim Kita
9679bdd86e Remove explicit database creation in tests 2021-04-16 16:16:11 +03:00
Maksim Kita
d88e0b1b44 Use local shard if there are no remote connections 2021-04-16 16:01:53 +03:00
Nikita Mikhaylov
0ddb396338 add Y_IGNORE 2021-04-16 15:52:48 +03:00
Nikolai Kochetov
8f969ec063 Revert "Ignore output format for explain query on client."
This reverts commit 3f7cee1149.
2021-04-16 15:44:27 +03:00
Nikolai Kochetov
a5f8b0f269 Revert "Omit EXPLAIN FORMAT for old TCP clients."
This reverts commit 4c37d461de.
2021-04-16 15:44:18 +03:00
Vitaly Baranov
936c1bfc53
Merge pull request #23164 from vitlibar/improve-row-policy-docs
Improve documentation for CREATE ROW POLICY command.
2021-04-16 15:15:40 +03:00
Kruglov Pavel
deb86ee520
Merge pull request #22986 from azat/StorageBuffer-flush
[RFC] Add ability to flush buffer only in background for StorageBuffer
2021-04-16 15:14:24 +03:00
Anton Popov
b14798af2a Merge branch 'dev_nested_upadte' of git://github.com/hexiaoting/ClickHouse into nested-update 2021-04-16 14:41:19 +03:00