Conversation
a08e9d6 to
025688d
Compare
Member
|
This is an automated comment for commit 77c5de7 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page Successful checks
|
cb32f58 to
6930843
Compare
5c5a05d to
91dcf5d
Compare
ff9b4ef to
91bebb6
Compare
f8d3d0d to
af63d1c
Compare
43d965a to
9b1b17b
Compare
Member
Author
|
Found a bug: It happens here: ClickHouse/src/Storages/MergeTree/PartMetadataManagerOrdinary.cpp Lines 11 to 14 in a1d1f76 |
376593a to
cd52e32
Compare
cd52e32 to
d330b0d
Compare
al13n321
approved these changes
Mar 7, 2024
al13n321
reviewed
Mar 7, 2024
d330b0d to
32b2c49
Compare
Member
Author
30 tasks
31 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#50217
the main changes here are:
src/Common/HostResolvePool.{h.cpp}
That class resolves host into multiply addresses
Features:
selectBest()chooses the address by random with weights. The more ip is used the lesser weight it has. When new address is happened, it takes more weight. But still not all requests are assigned to the new address.history_time.setFail()it is marked as faulty. Such address won't be selected until either a) it still occurs in resolve set afterhistory_time or b) all other addresses are pessimized as well.DB::DNSResolver::instance(). Usually it does not happen more often than once inhistory_time. But also new resolve performed eachsetFail()call.src/Common/ConnectionPool.{h,cpp}
That classes manage connections to the endpoint
Features:
Session::connect()/Session::reconnect()callsSession::reconnect()uses the pool as wellsrc/IO/ReadWriteBufferFromHTTP.h
I have removed all unnecessary complications from it. Make more straightforward errors/retries handling.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
This PR makes http/https connections reusable for all uses cases. Even when response is 3xx or 4xx.