Commit Graph

99672 Commits

Author SHA1 Message Date
BoloniniD
d188601881 Fix style 2022-10-06 21:41:26 +03:00
Nikolai Kochetov
c1cc04d44d Revert #27787 2022-10-06 20:27:55 +02:00
Azat Khuzhin
20dbf5eb34 Fix possible timeout exception for distributed queries with use_hedged_requests=0
In case of possible EINTR (i.e. query profiler) it is possible for
select() from getReplicaForReading() (this is the stage when the
initiator is waiting for Cancel packet from the remote shards, that can
be sent in case of enough rows was read, or the query had been cancelled
explicitly) to return without any sockets ready, and
getReplicaForReading() will assume that the timeout happened.

Here is a stacktrace example:

    [ 59205 ] {04f3d3a4-7346-4ef2-bf57-928f9e55ed89} <Error> TCPHandler: Code: 159. DB::Exception: Received from b8:9000. DB::Exception: Timeout (-1000 ms) exceeded while reading from . Stack trace:

    0. Poco::Exception::Exception() @ 0x17e26eac in /usr/bin/clickhouse
    1. DB::Exception::Exception() @ 0xb550b9a in /usr/bin/clickhouse
    2. DB::Exception::Exception<>() @ 0x15ad1c81 in /usr/bin/clickhouse
    3. DB::MultiplexedConnections::getReplicaForReading(bool) @ 0x15ad16fc in /usr/bin/clickhouse
    4. DB::MultiplexedConnections::receivePacketUnlocked() @ 0x15ad02fd in /usr/bin/clickhouse
    5. DB::MultiplexedConnections::drain() @ 0x15ad0df8 in /usr/bin/clickhouse
    6. DB::ConnectionCollector::drainConnections(DB::IConnections&, bool) @ 0x1443c205 in /usr/bin/clickhouse
    7. DB::RemoteQueryExecutor::finish() @ 0x1445ea6a in /usr/bin/clickhouse

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-06 18:20:33 +02:00
Azat Khuzhin
4f268cb414 Fix exception message on timeout (host was missing)
Previously before the exception there is a loop for disconnecting, so
dumpAddress* will not return anything, fix this, by saving the
addresses before.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-06 18:14:53 +02:00
Nikolay Degterinsky
522948fa2a
Merge branch 'master' into patch-1 2022-10-06 17:47:36 +02:00
Nikolay Degterinsky
80aac4ced7
Merge pull request #42124 from jus1096/master
add %z offset
2022-10-06 17:47:10 +02:00
kssenii
2d96c81f4c Fix 2022-10-06 17:09:20 +02:00
Nikolay Degterinsky
c5ff73cb25
Merge branch 'master' into master 2022-10-06 16:55:34 +02:00
Dan Roscigno
e7f7d5cadb
Merge pull request #42091 from DanRoscigno/combine-requirements-install-docs
Combine install doc and system requirements doc into one
2022-10-06 10:29:00 -04:00
Dan Roscigno
4bc92cc5a8
Merge branch 'master' into combine-requirements-install-docs 2022-10-06 10:28:19 -04:00
Raúl Marín
6b0ad85640 Fix build without TSA 2022-10-06 16:26:48 +02:00
Nikolay Degterinsky
16a8145deb
Merge pull request #42046 from evillique/fix-bz2-decoding
Fix bzip2 decoding issue
2022-10-06 16:02:09 +02:00
Dan Roscigno
41fb3cb7da
Merge branch 'master' into combine-requirements-install-docs 2022-10-06 09:39:11 -04:00
DanRoscigno
655d2b298d adjust heading level 2022-10-06 09:38:30 -04:00
alesapin
74c6fdd541
Merge pull request #42082 from ClickHouse/gh-runner-at
Add `at` to runner AMI, bump gh runner version
2022-10-06 15:19:13 +02:00
alesapin
3373480ede
Merge pull request #42036 from ClickHouse/fix_one_more_no_such_key
Fix No such key during table drop
2022-10-06 14:50:02 +02:00
ltrk2
696a294ef3 Add null pointer checks 2022-10-06 05:48:04 -07:00
Jus
72015dca4d
add %z offset
Add placeholder %z
2022-10-06 16:45:18 +04:00
Robert Schulze
cc24fcd6d5
Merge pull request #41873 from ClickHouse/generated-file-cleanup
Consolidate CMake-generated config headers
2022-10-06 14:31:03 +02:00
Raúl Marín
adbaaca2f5
QOL log improvements (#41947)
* Uniformize disk reservation logs

* Remove log about destroying stuff that appears all the time

* More tweaks on disk reservation logs

* Reorder logs in hash join

* Remove log that provides little information

* Collapse part removal logs

Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2022-10-06 14:22:44 +02:00
Robert Schulze
78be400ac0
Merge remote-tracking branch 'origin/master' into generated-file-cleanup 2022-10-06 12:22:43 +00:00
Nikolay Degterinsky
54ec6a5047
Merge pull request #42071 from evillique/new-http-compression-methods
Add new HTTP compression methods
2022-10-06 14:21:39 +02:00
Alexey Milovidov
546609c6e5
Merge pull request #42114 from ClickHouse/auto/v22.6.9.11-stable
Update version_date.tsv and changelogs after v22.6.9.11-stable
2022-10-06 14:49:42 +03:00
Nikita Mikhaylov
860e34e760
Resurrect parallel distributed insert select with s3Cluster (#41535) 2022-10-06 13:47:32 +02:00
Anton Popov
80ebbfbc56
Merge pull request #42066 from CurtizJ/fix-fuzzer-3
Fix crash in `SummingMergeTree` with `LowCardinality`
2022-10-06 13:46:26 +02:00
Nikita Mikhaylov
766107df0a
Fixed the restriction on maximum size of replicated fetches (#42090) 2022-10-06 13:18:46 +02:00
Anton Popov
aabec50988
Merge pull request #42040 from CurtizJ/async-inserts-log
Add system table `asynchronous_insert_log`
2022-10-06 13:14:41 +02:00
Alexander Tokmakov
3a934591e4 fix 2022-10-06 13:11:54 +02:00
alesapin
adb34f6eae
Merge branch 'master' into fix_one_more_no_such_key 2022-10-06 12:42:16 +02:00
alesapin
6d24e16fda
Merge pull request #42067 from ClickHouse/fix_drop_of_completely_dropped_table
Fix drop of completely dropped table
2022-10-06 12:40:38 +02:00
Kseniia Sumarokova
316824c02a
Merge pull request #42085 from elenatorro/use_send_metadata_setting_on_storage_config
Use send_metadata instead of send_object_metadata
2022-10-06 12:33:25 +02:00
Maksim Kita
6ad435d034
Merge branch 'master' into function-name-normalization-header-functions 2022-10-06 13:29:21 +03:00
Kseniia Sumarokova
3cff776109
Merge pull request #41254 from filimonov/system_disks_unreserved_space
Add unreserved_space column to system.disks
2022-10-06 12:28:23 +02:00
Maksim Kita
0df77a6df7
Merge pull request #42065 from ucasfl/minor
remove unused virtual keyword
2022-10-06 13:26:37 +03:00
Vladimir C
97fb381255
Merge pull request #41813 from zhongyuankai/fix_dist_msg 2022-10-06 11:19:56 +02:00
Vladimir C
3f24c904ad
Merge pull request #41842 from amosbird/index_analysis_1 2022-10-06 11:14:21 +02:00
Vladimir C
0513824fa2
Merge pull request #42049 from ucasfl/parse-date 2022-10-06 11:11:42 +02:00
Vladimir C
8123f2f308
Merge pull request #42104 from ClickHouse/vdimir/issue-41820 2022-10-06 11:09:08 +02:00
Robert Schulze
da5a2e2db0
Merge remote-tracking branch 'origin/master' into generated-file-cleanup
Physical merge conflicts:
- src/Common/ZooKeeper/ZooKeeperImpl.cpp
- src/Core/config_core.h.in
- src/Functions/FunctionsAES.h
- src/Functions/config_functions.h.in
- src/configure_config.cmake

Logical merge conflicts:
- Functions/tryDecrypt.cpp
2022-10-06 08:43:25 +00:00
robot-clickhouse
fd65257153 Update version_date.tsv and changelogs after v22.6.9.11-stable 2022-10-06 08:36:14 +00:00
Robert Schulze
a5590d6685
Merge pull request #42084 from arenadata/ADQM-599-B
Improve work of date time functions like toLastDayOfMonth on range boundaries
2022-10-06 10:32:17 +02:00
Dan Roscigno
23aa435182
Merge branch 'master' into combine-requirements-install-docs 2022-10-05 21:30:54 -04:00
Anton Popov
190e1f6830
Merge branch 'master' into async-inserts-log 2022-10-06 01:59:27 +02:00
BoloniniD
87f06bbe0b Fix [[noreturn]] function variant 2022-10-05 23:38:44 +03:00
Alexander Tokmakov
d682c2ccdb fix 2022-10-05 22:13:16 +02:00
Alexey Milovidov
aa9e8f1cde
Merge branch 'master' into new-http-compression-methods 2022-10-05 23:07:01 +03:00
Alexey Milovidov
c8c96ecca3
Merge pull request #42076 from azat/autocrlf
Ignore core.autocrlf for tests references
2022-10-05 23:05:37 +03:00
Alexey Milovidov
25d13b89e9
Merge pull request #41142 from MeenaRenganathan22/OpenSSL_InHouse
Changes to support the OpenSSL In-house build.
2022-10-05 23:02:04 +03:00
Alexey Milovidov
a46206571e
Update CMakeLists.txt 2022-10-05 23:00:49 +03:00
Alexey Milovidov
89b1a5188f
Update CMakeLists.txt 2022-10-05 22:59:44 +03:00