Azat Khuzhin
6da5707f8f
Fix possible missing detachQuery() in case of exception in readers
...
This can create leaks, since detachQuery() responsible for cleaning,
i.e. ThreadGroupStatus::finished_threads_counters_memory
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-29 11:30:17 +02:00
Azat Khuzhin
b16891da8d
Avoid using of ThreadGroupStatus of the MainThreadStatus
...
One should not use MainThreadStatus, since ThreadGroupStatus can hold
some states, and it is better not to play with this, since this may
create leaks.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-29 11:30:17 +02:00
Azat Khuzhin
9fff08eac7
WriteBufferFromS3: remove unused ThreadGroupStatus
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-29 11:30:17 +02:00
Azat Khuzhin
269453a646
Avoid leaking of ThreadGroupStatus::finished_threads_counters_memory
...
Cleanup them in ThreadStatus::detachQuery(), anyway they cannot be
received after by the client.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-29 11:08:50 +02:00
alesapin
7ce0afc0df
Merge pull request #40670 from Avogar/kafka
...
Add setting to disable limit on kafka_num_consumers
2022-08-29 10:53:35 +02:00
Dan Roscigno
4d9cfb9d05
Merge pull request #40731 from DanRoscigno/replace-symlink
...
Replace symlink
2022-08-28 21:08:44 -04:00
Alexey Milovidov
b72fceb441
Merge pull request #40708 from lesandie/test_s3_table_functions
...
Added integration test for s3 table function
2022-08-29 03:49:53 +03:00
Alexey Milovidov
18eaf7d0dc
Merge pull request #40721 from ClickHouse/enable_zero_copy_replication_in_ci
...
Enable zero-copy replication in CI
2022-08-29 03:49:23 +03:00
Dan Roscigno
f2feac1718
Merge branch 'master' into replace-symlink
2022-08-28 20:49:15 -04:00
Alexey Milovidov
71f6c52c2d
Merge pull request #40727 from amosbird/column-transformer-fix1
...
Correct format of APPLY transformer param
2022-08-29 03:48:04 +03:00
Alexey Milovidov
307e8f2da9
Merge pull request #40729 from ClickHouse/remove-useless-method
...
Remove useless method
2022-08-29 03:46:34 +03:00
Alexey Milovidov
9f052e1515
Merge pull request #40733 from azat/fix-doc-check
...
Update aspell-dict to fix doc check
2022-08-29 03:43:10 +03:00
DanRoscigno
753afd0584
update links
2022-08-28 20:41:29 -04:00
Dan Roscigno
74ce3462fe
Merge branch 'master' into replace-symlink
2022-08-28 20:10:23 -04:00
Azat Khuzhin
35f5e56159
Update aspell-dict to fix doc check
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-29 00:27:19 +02:00
DanRoscigno
b50fa8b5a9
replace symlinks
2022-08-28 17:34:50 -04:00
DanRoscigno
3c36660488
replace symlinks
2022-08-28 17:27:24 -04:00
Alexey Milovidov
84f9432e7e
Merge pull request #40724 from azat/update-bash-completion
...
Update available formats for bash completion
2022-08-29 00:14:48 +03:00
Alexey Milovidov
8448242785
Merge pull request #40716 from azat/fix-gdb-index
...
Fix gdb index (makes gdb 17x faster)
2022-08-29 00:13:58 +03:00
Alexey Milovidov
ae97e880d7
Merge pull request #40710 from azat/DWARF-5
...
Support for DWARF-5 in in house DWARF parser
2022-08-29 00:13:33 +03:00
Alexey Milovidov
dc49b353cf
Fix style
2022-08-28 22:52:23 +02:00
Alexey Milovidov
82ef85e713
Merge pull request #40722 from kssenii/fix-test-02382
...
Fix flaky test
2022-08-28 23:34:10 +03:00
Alexey Milovidov
27782ceef8
Remove useless method
2022-08-28 22:33:42 +02:00
Dan Roscigno
19d105a7fb
Merge pull request #40725 from DanRoscigno/add-more-slugs
...
Replacing symlinks in docs with includes
2022-08-28 14:18:31 -04:00
Dan Roscigno
1c675fa1f0
Merge branch 'master' into add-more-slugs
2022-08-28 14:13:25 -04:00
DanRoscigno
71891938ae
replace symlinks with includes
2022-08-28 14:08:07 -04:00
Diego Nieto (lesandie)
3d50dbea34
Black reformatting
2022-08-28 20:05:39 +02:00
Alexey Milovidov
a82723b5d9
Merge pull request #40719 from ClickHouse/kssenii-patch-4
...
Update 02313_filesystem_cache_seeks.queries
2022-08-28 21:04:48 +03:00
Amos Bird
d1fbe51b81
Correct format of APPLY transformer param
2022-08-29 01:21:12 +08:00
Dan Roscigno
96cd94196e
Merge branch 'ClickHouse:master' into add-more-slugs
2022-08-28 12:06:37 -04:00
DanRoscigno
fad2e071eb
replace symlinks with includes
2022-08-28 11:58:59 -04:00
DanRoscigno
37127c683c
remove symlinks
2022-08-28 11:35:03 -04:00
Azat Khuzhin
29877d3992
Update available formats for bash completion
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-28 17:22:32 +02:00
DanRoscigno
5d1e3ee4d8
remove duplicate
2022-08-28 11:04:51 -04:00
alesapin
bcc8106182
Merge branch 'master' into enable_zero_copy_replication_in_ci
2022-08-28 17:04:08 +02:00
alesapin
98d84402e6
Fix test
2022-08-28 17:03:04 +02:00
DanRoscigno
5b5fcc56aa
add slugs
2022-08-28 10:53:34 -04:00
Alexey Milovidov
ddff5e9145
Merge pull request #40712 from ClickHouse/ci-cmake-self-extractable
...
cmake: Disable default ENABLE_CLICKHOUSE_SELF_EXTRACTING
2022-08-28 17:12:19 +03:00
Alexey Milovidov
308cd1adb9
Merge pull request #40717 from azat/fix-build-id
...
Fix usage of SHA1 for BuildID
2022-08-28 17:09:36 +03:00
Alexey Milovidov
fc29303ff3
Merge pull request #40685 from ClickHouse/nlp-functional-test
...
Rewrite NLP tests from integration to functional
2022-08-28 17:05:42 +03:00
Alexey Milovidov
f518844f06
Merge pull request #40709 from ClickHouse/all_new_table_functions_must_be_documented
...
All new table functions must be documented
2022-08-28 17:05:20 +03:00
Alexey Milovidov
00074a5e14
Merge pull request #40711 from ClickHouse/all_new_functions_must_be_documented
...
All new functions must be documented
2022-08-28 17:05:05 +03:00
DanRoscigno
db1a3b717c
add slugs
2022-08-28 09:58:27 -04:00
kssenii
3be79fc145
Fix
2022-08-28 15:57:46 +02:00
DanRoscigno
c4caa35cfd
add frontmatter dashes
2022-08-28 09:53:52 -04:00
Azat Khuzhin
e03870bc8b
Common/Dwarf: fix clang-tidy
2022-08-28 15:51:46 +02:00
alesapin
0b827207db
Enable zero-copy replication in CI
2022-08-28 15:46:11 +02:00
Azat Khuzhin
19178a8f18
Fix gdb index (makes gdb 17x faster)
...
Right now LINKER_NAME contains version so it does not work:
Aug 27 13:02:10 -- Using linker: /usr/bin/ld.lld-14
Without this patch:
$ time gdb ~/ch/clickhouse/.bld-release/programs/clickhouse -batch
real 1m20.564s
user 1m18.622s
sys 0m1.940s
$ time lldb-13 clickhouse -batch
real 0m9.353s
user 1m31.035s
sys 0m8.346s
With:
$ time gdb clickhouse -batch
real 0m4.769s
user 0m3.969s
sys 0m0.800s
$ time lldb clickhouse -batch
real 0m6.703s
user 0m45.383s
sys 0m4.934s
So by just adding 4.15MiB to the binary size, gdb start up time improved
17 times.
$ objdump -j .gdb_index -h .bld-release/programs/clickhouse
.bld-release/programs/clickhouse: file format elf64-x86-64
Sections:
Idx Name Size VMA LMA File off Algn
40 .gdb_index 00426d74 0000000000000000 0000000000000000 7fb43443 2**0
CONTENTS, READONLY, DEBUGGING
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-28 15:01:34 +02:00
Kseniia Sumarokova
d6efbf039e
Update 02313_filesystem_cache_seeks.queries
2022-08-28 14:49:53 +02:00
Kseniia Sumarokova
a0bc5b6ea4
Merge pull request #40705 from azat/stress/max_read_buffer_size
...
Fix LOGICAL_ERROR with max_read_buffer_size=0 during reading marks
2022-08-28 12:41:16 +02:00