Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

1.1.0

Choose a tag to compare

@Grokzen Grokzen released this 27 Oct 00:44
  • Refactored exception handling and exception classes.
  • Added READONLY mode support, scales reads using slave nodes.
  • Fix repr for ClusterConnectionPool and ClusterReadOnlyConnectionPool
  • Add max_connections_per_node parameter to ClusterConnectionPool so that max_connections parameter is calculated per-node rather than across the whole cluster.
  • Improve thread safty of get_connection_by_slot and get_connection_by_node methods (iandyh)
  • Improved error handling when sending commands to all nodes, e.g. info. Now the connection takes retry_on_timeout as an option and retry once when there is a timeout. (iandyh)
  • Added support for SCRIPT LOAD, SCRIPT FLUSH, SCRIPT EXISTS and EVALSHA commands. (alisaifee)
  • Improve thread safety to avoid exceptions when running one client object inside multiple threads and doing resharding of the cluster at the same time.
  • Fix ASKING error handling so now it really sends ASKING to next node during a reshard operation. This improvement was also made to pipelined commands.
  • Improved thread safety in pipelined commands, along better explanation of the logic inside pipelining with code comments.