Commit Graph

91191 Commits

Author SHA1 Message Date
Antonio Andelic
71e4bd0689
Merge pull request #37565 from ClickHouse/keeper-broken-to-detached
Move clickhouse-keeper broken logs to specific folder
2022-06-14 08:23:17 +02:00
Sergei Trifonov
94b33498ae
Merge pull request #37810 from ClickHouse/trace-d3-gantt 2022-06-14 07:41:48 +02:00
Yakov Olkhovskiy
e13dc23d34
Merge pull request #38011 from ClickHouse/follow-up-compressor
Follow up on self-extracting-executable
2022-06-14 01:07:00 -04:00
Denny Crane
41ad84b67e
Update CHANGELOG.md 2022-06-13 23:20:24 -03:00
DanRoscigno
b3928dcb55 add docs 2022-06-13 21:17:05 -04:00
Yakov Olkhovskiy
539100fc4a some refactoring, cleaning, types fixed in fprintf 2022-06-13 20:25:19 -04:00
kssenii
0d2dae0046 Add const, rename settings 2022-06-14 00:47:03 +02:00
kssenii
74cffaf186 Merge master 2022-06-14 00:45:19 +02:00
kssenii
66ec0e41fa Fix test 2022-06-14 00:17:00 +02:00
Vitaly Baranov
241b51c7d4
Add implicit grants with grant option too. (#38017) 2022-06-14 00:09:51 +02:00
alesapin
a694ba5fc3
Merge pull request #38033 from ClickHouse/disk_transaction
More consts for disks
2022-06-14 00:01:22 +02:00
kssenii
11c624914a Fix black 2022-06-13 21:46:57 +02:00
Nikolai Kochetov
43dff9d34c Black 2022-06-13 19:44:12 +00:00
kssenii
34e63b20fb Review fixes 2022-06-13 21:27:54 +02:00
alesapin
267dd28e11 More consts for disks 2022-06-13 21:07:10 +02:00
Anton Popov
e6517164f2 add test and comment 2022-06-13 17:30:58 +00:00
Maksim Kita
20227e0718 Fixed style check 2022-06-13 18:49:20 +02:00
Pavel Novitskiy
f4d757cd6d remove unused args 2022-06-13 17:56:35 +02:00
Antonio Andelic
e5504f1b33 Merge branch 'master' into revert-37534-revert-37036-keeper-preprocess-operations 2022-06-13 15:43:10 +00:00
Yakov Olkhovskiy
ce395dc68d resolving conflicts 2022-06-13 11:41:32 -04:00
Mikhail f. Shiryaev
539e423744
Use git.sha to avoid 0000000 2022-06-13 17:41:05 +02:00
Nikolai Kochetov
695d586604 Fix possible crash in Distributed async insert in case of removing a replica from config. 2022-06-13 15:21:43 +00:00
Antonio Andelic
b9cf6fe367 Merge branch 'master' into pp-system-unfreeze 2022-06-13 14:46:30 +00:00
Maksim Kita
eb861499c7 Fixed tests 2022-06-13 16:43:11 +02:00
Antonio Andelic
879e162f92 Fix revision write for Freeze 2022-06-13 14:32:40 +00:00
Maksim Kita
88dfcaa892
Merge pull request #38023 from kitaisreal/examples-coroutines-build-fix
Examples coroutines build fix
2022-06-13 16:09:46 +02:00
Igor Nikonov
de273b043d Decimal: noexcept move constructor/assignment operator 2022-06-13 13:42:54 +00:00
Maksim Kita
98a89b50ff Use pdqsort instead of standard sort 2022-06-13 15:31:08 +02:00
Maksim Kita
b63089ab7a Examples coroutines build fix 2022-06-13 15:21:37 +02:00
alesapin
d984763b95
Update src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2022-06-13 15:10:20 +02:00
Robert Schulze
e25fbb9292
Log official/non-official build and integrated/separate debug symbols
The goal is to find out why some of the binaries with official name
(BuilderDebRelease, BuilderBinRelease) produced by CI still contain no
hash section.

(also, strip and objcopy are mandatory tools and we don't need to check
for their existence at this point)
2022-06-13 12:34:09 +00:00
Anton Popov
cf47b1c96e
Merge pull request #37305 from CurtizJ/dynamic-columns-15
Fix some cases of insertion nested arrays to columns of type Object
2022-06-13 14:28:36 +02:00
kssenii
debe467ee7 Review fixes 2022-06-13 14:25:42 +02:00
Antonio Andelic
e9904501bc use correct version in DiskObjectStorageMetadata 2022-06-13 11:53:25 +00:00
Pavel Novitskiy
31c084567a Add release commit hash to image labels 2022-06-13 13:39:28 +02:00
alesapin
06d94a4dde
Merge pull request #37659 from frew/master
Support `batch_delete` capability for GCS
2022-06-13 13:39:01 +02:00
Robert Schulze
027fe1db9d
Merge pull request #37970 from ClickHouse/color_diagnostics
Always disable --color-diagnostics for LLVM
2022-06-13 13:32:19 +02:00
Robert Schulze
35c3944d1a
Warn when gold is used instead of lld 2022-06-13 11:31:08 +00:00
Maksim Kita
daa128f378 Fixed performance tests 2022-06-13 13:31:02 +02:00
Azat Khuzhin
7210be1534 Disable send_logs_level for INSERT into Distributed to avoid possible hung
In case of INSERT into Distributed table with send_logs_level!=none it
is possible to receive tons of Log packets, and w/o consuming it
properly the socket buffer will be full, and eventually the query will
hung.

This happens because receiver will not read data until it will send logs
packets, but sender does not reads those Log packets and so receiver
hung, and hence the sender will hung too, because receiver do not
consume Data packets anymore.

In the initial version of this patch I tried to properly consume Log
packets, but it is not possible to ensure that before writing Data
blocks all Log packets had been consumed, that said that with current
protocol implementation it is not possible to fix Log packets consuming
properly, to avoid deadlock, so send_logs_level had been simply
disabled.

But note, that this does not differs to the user, in what ClickHouse did
before, since before it simply does not consume those packets, so the
client does not saw those messages anyway.

<details>

The receiver:

    Poco::Net::SocketImpl::poll(Poco::Timespan const&, int)
    Poco::Net::SocketImpl::sendBytes(void const*, int, int)
    Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int)
    DB::WriteBufferFromPocoSocket::nextImpl()
    DB::TCPHandler::sendLogData(DB::Block const&)
    DB::TCPHandler::sendLogs()
    DB::TCPHandler::readDataNext()
    DB::TCPHandler::processInsertQuery()

    State      Recv-Q  Send-Q          Local Address:Port         Peer Address:Port Process
    ESTAB      4331792 211637           127.0.0.1:9000            127.0.0.1:24446 users:(("clickhouse-serv",pid=46874,fd=3850))

The sender:

    Poco::Net::SocketImpl::poll(Poco::Timespan const&, int)
    Poco::Net::SocketImpl::sendBytes(void const*, int, int)
    Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int)
    DB::WriteBufferFromPocoSocket::nextImpl()
    DB::WriteBuffer::write(char const*, unsigned long)
    DB::CompressedWriteBuffer::nextImpl()
    DB::WriteBuffer::write(char const*, unsigned long)
    DB::SerializationString::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const
    DB::NativeWriter::write(DB::Block const&)
    DB::Connection::sendData(DB::Block const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool)
    DB::RemoteInserter::write(DB::Block)
    DB::RemoteSink::consume(DB::Chunk)
    DB::SinkToStorage::onConsume(DB::Chunk)

    State      Recv-Q  Send-Q         Local Address:Port         Peer Address:Port Process
    ESTAB      67883   3008240           127.0.0.1:24446           127.0.0.1:9000  users:(("clickhouse-serv",pid=41610,fd=25))

</details>

v2: rebase to use clickhouse_client_timeout and add clickhouse_test_wait_queries
v3: use KILL QUERY
v4: adjust the test
v5: disable send_logs_level for INSERT into Distributed
v6: add no-backward-compatibility-check tag
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-13 13:44:33 +03:00
Maksim Kita
1247ba1b01 Hierarchical dictionaries performance test fix 2022-06-13 12:31:39 +02:00
Maksim Kita
411e1ad227 Fixed tests 2022-06-13 12:30:38 +02:00
Mikhail f. Shiryaev
79b4648c96
Merge pull request #38016 from ClickHouse/clickhouse-client-readme
Add another useful `docker exec` option
2022-06-13 12:25:02 +02:00
Mikhail f. Shiryaev
a78ff2b9bb
Merge pull request #37979 from ClickHouse/minio-images
Generalize setup_minio.sh
2022-06-13 12:20:02 +02:00
xiedeyantu
9f4489ac03
Fix MacOS build faild (#38007) 2022-06-13 12:14:21 +02:00
mergify[bot]
2bf9818af0
Merge branch 'master' into keeper-broken-to-detached 2022-06-13 10:04:54 +00:00
Mikhail f. Shiryaev
1e67885915
Add another useful docker exec option 2022-06-13 12:03:11 +02:00
Mikhail f. Shiryaev
b4fa81f4a7
Merge pull request #38015 from vdimir/upd-docker-client-doc
Update docker run client command in docs
2022-06-13 11:58:21 +02:00
Kseniia Sumarokova
7fd1140e96
Merge pull request #38004 from xiedeyantu/optimize_max_cache
fix when open enable_filesystem_query_cache_limit, throw LOGICAL_ERROR
2022-06-13 11:54:09 +02:00
Antonio Andelic
e67b6c3125 Fix trailing whitespace 2022-06-13 09:53:16 +00:00