Skip to content

v2.7.0rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@DriverX DriverX released this 14 Dec 12:21
· 2 commits to master since this release
f597f81

Rework PubSub and fix race conditions (#27)

  • add aioredis_cluster.aioredis.stream module
  • rework PubSub command execution flow for prevent race conditions on spontaneously server channels unsubscribe push
  • make fully dedicated RedisConnection implementation for cluster
  • RedisConnection once entered in PubSub mode was never exit in them, because is too hard handle spontaneously unsubscribe events from Redis with simultaneously (P|S)UNSUBSCRIBE manually calls
  • fully rewrite handling PUB/SUB replies/events
  • for Cluster, RedisConnection and ConnectionsPool in_pubsub indicates flag when connector have in pubsub mode connections instead number of PUB/SUB channels
  • add key slot handling for sharded PubSub channels
  • fix and improve legacy aioredis tests
  • add tests for py3.12
  • add tests for Redis 7.2
  • more tests