Skip to content

Commit 5868209

Browse files
authored
Merge branch 'master' into add-dynamic-startup-nodes-flag-to-async-redis-cluster
2 parents 6f53c02 + 0d28291 commit 5868209

File tree

2 files changed

+77
-0
lines changed

2 files changed

+77
-0
lines changed

CHANGES

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,80 @@
11

2+
* Support transactions in ClusterPipeline
3+
* Removing support for RedisGraph module. RedisGraph support is deprecated since Redis Stack 7.2 (https://redis.com/blog/redisgraph-eol/)
4+
* Fix lock.extend() typedef to accept float TTL extension
5+
* Update URL in the readme linking to Redis University
6+
* Move doctests (doc code examples) to main branch
7+
* Update `ResponseT` type hint
8+
* Allow to control the minimum SSL version
9+
* Add an optional lock_name attribute to LockError.
10+
* Fix return types for `get`, `set_path` and `strappend` in JSONCommands
11+
* Connection.register_connect_callback() is made public.
12+
* Fix async `read_response` to use `disable_decoding`.
13+
* Add 'aclose()' methods to async classes, deprecate async close().
14+
* Fix #2831, add auto_close_connection_pool=True arg to asyncio.Redis.from_url()
15+
* Fix incorrect redis.asyncio.Cluster type hint for `retry_on_error`
16+
* Fix dead weakref in sentinel connection causing ReferenceError (#2767)
17+
* Fix #2768, Fix KeyError: 'first-entry' in parse_xinfo_stream.
18+
* Fix #2749, remove unnecessary __del__ logic to close connections.
19+
* Fix #2754, adding a missing argument to SentinelManagedConnection
20+
* Fix `xadd` command to accept non-negative `maxlen` including 0
21+
* Revert #2104, #2673, add `disconnect_on_error` option to `read_response()` (issues #2506, #2624)
22+
* Add `address_remap` parameter to `RedisCluster`
23+
* Fix incorrect usage of once flag in async Sentinel
24+
* asyncio: Fix memory leak caused by hiredis (#2693)
25+
* Allow data to drain from async PythonParser when reading during a disconnect()
26+
* Use asyncio.timeout() instead of async_timeout.timeout() for python >= 3.11 (#2602)
27+
* Add a Dependabot configuration to auto-update GitHub action versions.
28+
* Add test and fix async HiredisParser when reading during a disconnect() (#2349)
29+
* Use hiredis-py pack_command if available.
30+
* Support `.unlink()` in ClusterPipeline
31+
* Simplify synchronous SocketBuffer state management
32+
* Fix string cleanse in Redis Graph
33+
* Make PythonParser resumable in case of error (#2510)
34+
* Add `timeout=None` in `SentinelConnectionManager.read_response`
35+
* Documentation fix: password protected socket connection (#2374)
36+
* Allow `timeout=None` in `PubSub.get_message()` to wait forever
37+
* add `nowait` flag to `asyncio.Connection.disconnect()`
38+
* Update README.md links
39+
* Fix timezone handling for datetime to unixtime conversions
40+
* Fix start_id type for XAUTOCLAIM
41+
* Remove verbose logging from cluster.py
42+
* Add retry mechanism to async version of Connection
43+
* Compare commands case-insensitively in the asyncio command parser
44+
* Allow negative `retries` for `Retry` class to retry forever
45+
* Add `items` parameter to `hset` signature
46+
* Create codeql-analysis.yml (#1988). Thanks @chayim
47+
* Add limited support for Lua scripting with RedisCluster
48+
* Implement `.lock()` method on RedisCluster
49+
* Fix cursor returned by SCAN for RedisCluster & change default target to PRIMARIES
50+
* Fix scan_iter for RedisCluster
51+
* Remove verbose logging when initializing ClusterPubSub, ClusterPipeline or RedisCluster
52+
* Fix broken connection writer lock-up for asyncio (#2065)
53+
* Fix auth bug when provided with no username (#2086)
54+
* Fix missing ClusterPipeline._lock (#2189)
55+
* Added dynaminc_startup_nodes configuration to RedisCluster
56+
* Fix reusing the old nodes' connections when cluster topology refresh is being done
57+
* Fix RedisCluster to immediately raise AuthenticationError without a retry
58+
* ClusterPipeline Doesn't Handle ConnectionError for Dead Hosts (#2225)
59+
* Remove compatibility code for old versions of Hiredis, drop Packaging dependency
60+
* The `deprecated` library is no longer a dependency
61+
* Failover handling improvements for RedisCluster and Async RedisCluster (#2377)
62+
* Fixed "cannot pickle '_thread.lock' object" bug (#2354, #2297)
63+
* Added CredentialsProvider class to support password rotation
64+
* Enable Lock for asyncio cluster mode
65+
* Fix Sentinel.execute_command doesn't execute across the entire sentinel cluster bug (#2458)
66+
* Added a replacement for the default cluster node in the event of failure (#2463)
67+
* Fix for Unhandled exception related to self.host with unix socket (#2496)
68+
* Improve error output for master discovery
69+
* Make `ClusterCommandsProtocol` an actual Protocol
70+
* Add `sum` to DUPLICATE_POLICY documentation of `TS.CREATE`, `TS.ADD` and `TS.ALTER`
71+
* Prevent async ClusterPipeline instances from becoming "false-y" in case of empty command stack (#3061)
72+
* Close Unix sockets if the connection attempt fails. This prevents `ResourceWarning`s. (#3314)
73+
* Close SSL sockets if the connection attempt fails, or if validations fail. (#3317)
74+
* Eliminate mutable default arguments in the `redis.commands.core.Script` class. (#3332)
75+
* Fix SSL verification with `ssl_cert_reqs="none"` and `ssl_check_hostname=True` by automatically setting `check_hostname=False` when `verify_mode=ssl.CERT_NONE` (#3635)
76+
77+
278
* 3.5.3 (June 1, 2020)
379
* Restore try/except clauses to __del__ methods. These will be removed
480
in 4.0 when more explicit resource management if enforced. #1339

redis/asyncio/cluster.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ class RedisCluster(AbstractRedis, AbstractRedisCluster, AsyncRedisClusterCommand
129129
| Enable read from replicas in READONLY mode.
130130
When set to true, read commands will be assigned between the primary and
131131
its replications in a Round-Robin manner.
132+
The data read from replicas is eventually consistent with the data in primary nodes.
132133
:param load_balancing_strategy:
133134
| Enable read from replicas in READONLY mode and defines the load balancing
134135
strategy that will be used for cluster node selection.

0 commit comments

Comments
 (0)