Commit Graph

96280 Commits

Author SHA1 Message Date
Azat Khuzhin
c801469e9e Fix LOGICAL_ERROR with max_read_buffer_size=0 during reading marks
The problem is that the buffer size validated after marks reading in
MergeTreeReaderStream::init(), since it requires to read marks first.

And later it is passed to AsynchronousReadBufferFromFileDescriptor,
which throws LOGICAL_ERROR because buffer_size < alignment.

Fix this my simply disallow such values for max_read_buffer_size (I
thougt about modifying createReadBufferFromFileBase(), but it is not
used for remote reads -- remote_fs_buffer_size).

Fixes: #40669
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-27 14:12:07 +02:00
Azat Khuzhin
ebc61a36e0 tests/stress: improve OOM detection (add separate check by dmesg)
Right now if you will look at the OOM errors:
- OOM killer (or signal 9) in clickhouse-server.log
- Backward compatibility check: OOM messages in clickhouse-server.log

Most of them are not real, but just clickhouse server got KILLed by
clickhouse stop, #40678 may imporove the situation, but to definitely
sure that there was OOM let's look at dmesg.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-27 12:46:58 +02:00
Alexander Tokmakov
7e183675e5
Merge pull request #40678 from azat/tests/stress-gdb
tests/stress: capture stacktrace of server hungs if pid was removed already
2022-08-27 12:55:41 +03:00
Alexander Gololobov
6fc8f1e9e0
Merge pull request #40645 from ClickHouse/force-documentation-2
Every current metric must have documentation
2022-08-27 10:44:47 +02:00
Alexey Milovidov
fc3514ca1a Maybe better 2022-08-27 03:13:53 +02:00
Alexey Milovidov
91ed3ebe9a Remove the remaining parts of "unbundled" build 2022-08-27 02:18:47 +02:00
Dan Roscigno
77ab88a3e5
Merge pull request #40698 from DanRoscigno/add-label-to-whats-new
add label
2022-08-26 20:18:06 -04:00
DanRoscigno
4c0eabe1da add label 2022-08-26 20:15:45 -04:00
Dan Roscigno
5507a33081
Merge pull request #40697 from DanRoscigno/fix-link
rename link in faq/operations/production
2022-08-26 20:03:57 -04:00
DanRoscigno
8f77d2e33b rename file 2022-08-26 19:57:37 -04:00
Alexey Milovidov
66bee79d8b
Update install.sh 2022-08-27 02:56:56 +03:00
Dan Roscigno
82a19a8f14
Merge pull request #40696 from DanRoscigno/mv-doc-symlinks-to-includes
Mv doc symlinks to includes
2022-08-26 19:40:42 -04:00
DanRoscigno
0edbef2c8c remove symlinks, use MDX import 2022-08-26 19:14:11 -04:00
Alexey Milovidov
04dc970cb8 Even more reports 2022-08-26 23:57:14 +02:00
DanRoscigno
9e34d2ee9c add about us links 2022-08-26 17:47:49 -04:00
Alexey Milovidov
2a7d9f0778 Merge branch 'master' into high-level-coverage 2022-08-26 23:44:52 +02:00
Alexey Milovidov
86fc10af66 Add missing file 2022-08-26 23:42:36 +02:00
Alexey Milovidov
8000e9ec92 Fix test 2022-08-26 23:09:01 +02:00
Alexey Milovidov
859defa687
Merge pull request #40680 from DanRoscigno/add-slugs-everywhere
Add slugs everywhere
2022-08-27 00:05:22 +03:00
Alexander Gololobov
89be7a5a25
Update ProfileEvents.cpp 2022-08-26 22:55:42 +02:00
Kseniia Sumarokova
0cf76dab77
Merge pull request #40608 from ClickHouse/kssenii-patch-4
Fix stress test after #40420
2022-08-26 22:54:37 +02:00
Alexey Milovidov
2e16e2e9ee Fix fasttest 2022-08-26 22:43:15 +02:00
Alexey Milovidov
3f0ac45389 Add a smoke (fake) test for modelEvaluate function 2022-08-26 22:40:06 +02:00
Alexey Milovidov
6414a01987 Rewrite NLP tests from integration to functional 2022-08-26 22:36:34 +02:00
Mikhail f. Shiryaev
12bbc4a276
Merge pull request #40681 from ClickHouse/obsolete-tgz
Fix clickhouse-server doinst.sh
2022-08-26 22:04:34 +02:00
DanRoscigno
79f8e1c03c add slugs to all docs 2022-08-26 15:49:26 -04:00
Dan Roscigno
8e5ef64d57
Merge branch 'ClickHouse:master' into add-slugs-everywhere 2022-08-26 15:44:57 -04:00
Alexey Milovidov
2eeedb345e Add a test for toDecimal*OrDefault functions 2022-08-26 21:42:43 +02:00
Alexey Milovidov
53343e0fc2 Remove accurate_Cast and accurate_CastOrNull, which are unused 2022-08-26 21:27:30 +02:00
Dan Roscigno
1ac2cfdc0a
Update docs/zh/faq/general/why-clickhouse-is-so-fast.md 2022-08-26 15:14:30 -04:00
Alexey Milovidov
c9858099ea
Update ProfileEvents.cpp 2022-08-26 22:10:10 +03:00
DanRoscigno
7f92006428 add slugs to all docs 2022-08-26 15:07:59 -04:00
Azat Khuzhin
3b519c5d44 tests/stress: capture stacktrace of server hungs if pid was removed already
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-26 22:06:32 +03:00
Mikhail f. Shiryaev
3f967b1822
Fix _includes/install/tgz.sh script for linux 2022-08-26 20:57:38 +02:00
Alexander Gololobov
4fef408104
Merge branch 'master' into force-documentation-3 2022-08-26 20:29:06 +02:00
Alexey Milovidov
6940bdab3b
Merge branch 'master' into fix-recursive-buffer 2022-08-26 21:25:11 +03:00
Alexander Tokmakov
91ec3793db
Merge pull request #40665 from ClickHouse/vdimir/02177_issue_31009_release_only
Disable 02177_issue_31009 for non-release builds
2022-08-26 21:19:37 +03:00
Alexander Tokmakov
3868a029f7
Merge pull request #40674 from ClickHouse/tavplubix-patch-4
Make 01111_create_drop_replicated_db_stress less flaky
2022-08-26 21:15:06 +03:00
Alexey Milovidov
eac54c0375
Merge pull request #40671 from vmihailenco/chore/uptrace
chore: add Uptrace tool and go-clickhouse client
2022-08-26 21:11:16 +03:00
Dan Roscigno
52fc319c83
Merge branch 'master' into add-slugs-everywhere 2022-08-26 14:09:57 -04:00
Mikhail f. Shiryaev
1204b9e303
Fix doinst.sh generator for tgz packages 2022-08-26 20:09:56 +02:00
Alexey Milovidov
02bfebf1d3 Fix typo 2022-08-26 20:08:33 +02:00
Alexey Milovidov
1ad44acce8
Merge pull request #40644 from ClickHouse/force-documentation
Every setting must have documentation
2022-08-26 21:06:57 +03:00
DanRoscigno
b49ca28ca0 remove files that should be soft links 2022-08-26 14:04:53 -04:00
DanRoscigno
d948ee81b6 remove files that should be soft links 2022-08-26 13:53:16 -04:00
DanRoscigno
a88d33d025 remove files that should be soft links 2022-08-26 13:48:39 -04:00
DanRoscigno
726d3c0739 add slugs to all docs 2022-08-26 13:37:11 -04:00
zvonand
b9b8f7a05d explicit timezone in test 2022-08-26 18:43:31 +03:00
Kruglov Pavel
d4d0ec1c95
Fix style 2022-08-26 16:44:54 +02:00
Vladimir C
68d6016267
Merge pull request #40653 from Lloyd-Pottiger/remove-some-outdated-comments
Remove some outdated comments
2022-08-26 16:32:26 +02:00