-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5/5] Add Async MultiplexedClusterConnection #640
base: main
Are you sure you want to change the base?
Commits on Aug 23, 2022
-
cluster_client: implement proper builder pattern
- implement proper builder pattern by adding `new` & `builder` methods to ClusterClient and `new` & `build` methods to ClusterClientBuilder - deprecate & redirect `open` methods for ClusterClient & ClusterClientBuilder - move build method to ClusterClientBuilder
Configuration menu - View commit details
-
Copy full SHA for 84349bb - Browse repository at this point
Copy the full SHA 84349bbView commit details -
cluster_client: use ClusterParams struct to pass params
- this is to simplify passing multiple params to & inside ClusterConnection impl
Configuration menu - View commit details
-
Copy full SHA for b5ec28e - Browse repository at this point
Copy the full SHA b5ec28eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79fe0ff - Browse repository at this point
Copy the full SHA 79fe0ffView commit details -
cluster: simplify TlsMode logic and add tls_insecure param
- use plain host:port node naming, even for TLS as the tls mode/insecure flag will always be the same for all connections
Configuration menu - View commit details
-
Copy full SHA for 44a3de6 - Browse repository at this point
Copy the full SHA 44a3de6View commit details -
cluster: refactor connect & create_initial_connections
- move the connect method inside impl - create new Connection directly instead of creating a Client first - convert to methods & use required params from self instead of passing - set connections within create_initial_connections & call refresh_slots
Configuration menu - View commit details
-
Copy full SHA for 77025aa - Browse repository at this point
Copy the full SHA 77025aaView commit details -
cluster: keep all params in ClusterParams struct & use it to pass all…
… cluster related params - remove unnecessary RefCell from params - this is to simplify passing multiple params to & inside the impl
Configuration menu - View commit details
-
Copy full SHA for dee0504 - Browse repository at this point
Copy the full SHA dee0504View commit details -
Configuration menu - View commit details
-
Copy full SHA for a12d245 - Browse repository at this point
Copy the full SHA a12d245View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24544d4 - Browse repository at this point
Copy the full SHA 24544d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34a8613 - Browse repository at this point
Copy the full SHA 34a8613View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb94250 - Browse repository at this point
Copy the full SHA cb94250View commit details -
cluster: move slots response parsing logic to get_slots function
- rename get_slots to parse_slots_response - move coverage checks & Slot creation logic into this fn - move CLUSTER SLOTS query logic out of this fn - this to easily reuse this function in the Async impl
Configuration menu - View commit details
-
Copy full SHA for ad326cb - Browse repository at this point
Copy the full SHA ad326cbView commit details -
cluster: remove random connection logic
- since we only operate in 100% slot coverage scenarios, there is no point in maintaining random connection logic, which is supposed to help us find missing nodes in the cluster topology - this also allows us to remove RefCell around connections & slots
Configuration menu - View commit details
-
Copy full SHA for 0033457 - Browse repository at this point
Copy the full SHA 0033457View commit details -
cluster: remove RefCell for connections/slot
- there is no point in using RefCell anymore
Configuration menu - View commit details
-
Copy full SHA for 5d14992 - Browse repository at this point
Copy the full SHA 5d14992View commit details -
cluster: consolidate routing logic into Routable trait
- this is to reuse the routing logic within ClusterConnection and also reuse it in async impl
Configuration menu - View commit details
-
Copy full SHA for e943189 - Browse repository at this point
Copy the full SHA e943189View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d744d3 - Browse repository at this point
Copy the full SHA 9d744d3View commit details -
cluster: consolidate logic for create_initial_connections & refresh_s…
…lots - set write/read timeouts just after creating connection - consolidate logic for create_initial_connections & refresh_slots connection creating/updating part into refresh_connections
Configuration menu - View commit details
-
Copy full SHA for 1088805 - Browse repository at this point
Copy the full SHA 1088805View commit details -
cluster: directly expose Slot fields instead of bare methods
- there is no point in having unnecessary indirection
Configuration menu - View commit details
-
Copy full SHA for 0b9cb6b - Browse repository at this point
Copy the full SHA 0b9cb6bView commit details -
cluster: merge send_all_commands & recv_all_commands
- there is no point in having 2 different functions
Configuration menu - View commit details
-
Copy full SHA for 14f6d33 - Browse repository at this point
Copy the full SHA 14f6d33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bfa0a6 - Browse repository at this point
Copy the full SHA 5bfa0a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for de8a514 - Browse repository at this point
Copy the full SHA de8a514View commit details -
aio: fix ConnectionLike trait documentation & add supports_pipelining…
…/supports_transactions
Configuration menu - View commit details
-
Copy full SHA for d4608c3 - Browse repository at this point
Copy the full SHA d4608c3View commit details -
sio: improve ConnectionLike trait documentation & add req_pipeline/su…
…pports_transactions
Configuration menu - View commit details
-
Copy full SHA for 0884896 - Browse repository at this point
Copy the full SHA 0884896View commit details -
cluster: use common pipeline instead of separate ClusterPipeline
- remove ClusterPipeline & add re-exports for Pipeline/pipe - use `req_pipeline` instead of the packed version to avoid unpacking again for cluster - move cluster-specific pipeline checks into the new req_pipeline trait function
Configuration menu - View commit details
-
Copy full SHA for 7d5aca7 - Browse repository at this point
Copy the full SHA 7d5aca7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9968153 - Browse repository at this point
Copy the full SHA 9968153View commit details