Commit Graph

106945 Commits

Author SHA1 Message Date
Alexey Milovidov
fb764b6bf3 Fix style and typo 2023-01-29 03:53:42 +01:00
Alexey Milovidov
9ad87f9917 Fix style and typo 2023-01-29 03:51:42 +01:00
Pradeep Chhetri
18cf0fd2c1 Fix test 2023-01-29 10:29:10 +08:00
Dmitry Novik
ec1f6bfd37 Improve MEMERY_LIMIT_EXCEEDED exception message 2023-01-29 01:52:37 +00:00
Alexey Milovidov
0a829ad187
Merge pull request #45685 from freedomDR/sys_sync_func
add function: system sync file cache(sync syscall)
2023-01-29 04:43:44 +03:00
Alexey Milovidov
f4eb19bd69
Update InterpreterSystemQuery.cpp 2023-01-29 04:43:24 +03:00
Alexey Milovidov
b18dc419b7
Merge pull request #45691 from ClickHouse/tavplubix-patch-2
Suppress TOO_MANY_PARTS in BC check
2023-01-29 04:22:42 +03:00
Pradeep Chhetri
65301cf55a Format fixes 2023-01-29 09:03:51 +08:00
Pradeep Chhetri
0e02f82665 Add test for zip archive with bad settings 2023-01-29 08:40:24 +08:00
Saulius Valatka
374e40447c fix buffer alignment and improve error message for failed reads 2023-01-28 21:54:44 +02:00
Saulius Valatka
252a091702 update Exception creation 2023-01-28 21:54:44 +02:00
Saulius Valatka
a7d1e62054 bump liburing 2023-01-28 21:54:44 +02:00
Saulius Valatka
64accde7bd check for null CQEs to silence clang-analyzer 2023-01-28 21:54:44 +02:00
Saulius Valatka
4b2fefef8b improve SQE submission error reporting, retry on EINTR/EGAIN 2023-01-28 21:54:44 +02:00
Saulius Valatka
8505b8c57a add profile events for failed/succeeded CQE completions 2023-01-28 21:54:44 +02:00
Saulius Valatka
8fa9a99ba1 implement pending request queue to prevent CQ overflows 2023-01-28 21:54:44 +02:00
Saulius Valatka
ac2c921bdf add initial io_uring support 2023-01-28 21:54:44 +02:00
Saulius Valatka
fb45ed038f add liburing to build 2023-01-28 21:54:44 +02:00
Alexey Milovidov
fecccc87f6
Merge branch 'master' into sys_sync_func 2023-01-28 20:12:32 +03:00
Azat Khuzhin
4564a1ef29 Add ability to override connection settings based on connection names
This is somehow analog of .netrc [1].

  [1]: https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html

The follow options can be overwritten on a per-hostname/connection
basis:
- hostname
- port
- secure
- user
- password
- database
- history_file

Also note, that you can have multiple settings for one hostname, can be
useful to distinguish readonly from non-readonly for example.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-28 17:01:12 +01:00
Alexey Milovidov
6a97d938fb
Merge branch 'master' into pchhetri/fix-45690 2023-01-28 18:59:45 +03:00
Alexey Milovidov
d5cda328e0
Merge pull request #45735 from azat/tests/fix-gorilla-suspicious
tests: add missing allow_suspicious_codecs in 02536_delta_gorilla_corruption (fixes fasttest)
2023-01-28 18:58:18 +03:00
Pradeep Chhetri
8156a6761f Set compression method and level for backup writer
Signed-off-by: Pradeep Chhetri <pradeepchhetri4444@gmail.com>
2023-01-28 21:49:59 +08:00
Azat Khuzhin
73fe6aad9b tests: add missing allow_suspicious_codecs in 02536_delta_gorilla_corruption
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-28 13:04:04 +01:00
freedomDR
34ad5dc840
update tests result 2023-01-28 06:42:07 +00:00
freedomDR
5836a3f153 refactor coder 2023-01-28 04:27:11 +00:00
freedomDR
4b3d07f69f add test 2023-01-28 04:27:10 +00:00
freedomDR
876a92d4d1 add doc about system sync file cache. 2023-01-28 04:27:10 +00:00
freedomDR
379850b6c4 add system sync file cache 2023-01-28 04:27:10 +00:00
robot-ch-test-poll
cb803a887a
Merge pull request #45660 from abidino/patch-2
Update sum.md
2023-01-28 01:52:06 +01:00
robot-ch-test-poll2
520e057fd5
Merge pull request #45376 from ClickHouse/block-non-float-gorilla-v2
Mark Gorilla codec on non-float columns as suspicous
2023-01-28 01:50:37 +01:00
Alexey Milovidov
39e54d3baa
Merge pull request #45600 from ClickHouse/changelog-23.1
Changelog for 23.1
2023-01-28 03:46:05 +03:00
Alexey Milovidov
b99ab2d137 Editing trash, part 4 2023-01-28 01:45:25 +01:00
Alexey Milovidov
2f670a772e Merge branch 'master' into changelog-23.1 2023-01-28 01:45:07 +01:00
Alexey Milovidov
bc2f454522
Merge branch 'master' into block-non-float-gorilla-v2 2023-01-28 03:30:12 +03:00
Alexey Milovidov
0ffc8f048b
Merge pull request #45464 from lesandie/patch-1
Update skipping-index.md
2023-01-28 03:27:44 +03:00
Alexey Milovidov
9b1b247f9b
Merge pull request #45585 from kitaisreal/low-cardinality-insert-fix
LowCardinality insert fix
2023-01-28 03:26:40 +03:00
Alexey Milovidov
657d9f69e7
Merge pull request #45686 from amosbird/issue_45590
Fix key description when encountering duplicate primary keys
2023-01-28 02:22:42 +03:00
Alexey Milovidov
a62ca0f016
Merge pull request #45688 from jus1096/master
Add info about connect to remote Clickhouse
2023-01-28 02:21:28 +03:00
Alexey Milovidov
d792a2735d
Update named-collections.md 2023-01-28 02:21:00 +03:00
ivan-klass
b83e60b1d7
improve explanatory of topKWeighted example 2023-01-28 00:20:15 +01:00
Alexey Milovidov
8637556dc9
Merge pull request #45695 from ClickHouse/tylerhannan-patch-1
Add recordings for 23.1 and Tel Aviv
2023-01-28 02:19:12 +03:00
ivan-klass
8a6c4bec13
More intuitive maxMap example
Different types used to easier distinguish maxMap keys vs values
2023-01-27 23:41:55 +01:00
Joanna Hulboj
df030a56f0 FIXUP: Remove use of legacy exceptions api 2023-01-27 21:27:09 +00:00
Azat Khuzhin
ffd5617614 Improve logging for broken disks
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-27 21:11:10 +01:00
Azat Khuzhin
3903b442fb tests: fix broken disk emulation in test_jbod_ha
The problem with chmod 000 is that it is simply ignored for the owner of
the namespace (verified with kprobe for security_capable [1]),
previously it worked only cause there was a check for uid explicitly in
FS::canRead/canWrite.

  [1]: cat-10561   [001]  1340776.172944: security_capable_retprobe: (capable_wrt_inode_uidgid+0x40/0x70 <- security_capable) arg1=0xffffffff

0xffffffff is -1 and it is EPERM

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-27 21:11:10 +01:00
Azat Khuzhin
e6695196aa tests/integration: add SYS_ADMIN capability for mount/remount
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-27 21:11:10 +01:00
Azat Khuzhin
1e3f33ad4b tests/integration: fix --privileged passthrough
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-27 21:11:10 +01:00
Azat Khuzhin
6b42b66257 Simply filesystem helpers to check is-readable/writable/executable
Use one system call - faccessat(), over multiple system calls.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-27 21:11:10 +01:00
Kruglov Pavel
96700abbe1
Merge pull request #45678 from azat/formats/json-parse-tupels
Add ability to ignore unknown keys in JSON object for named tuples
2023-01-27 21:11:05 +01:00