Invalidation messages for client-side caching (see CLIENT TRACKING) are sent to the special channel __redis__:invalidate.
Simply changing it would make Valkey incompatible with Redis OSS 7.2, so we don't want to do it like that. We want to change this channel name in a backward-compatible way:
If the client is subscribed to __redis__:invalidate, we send the invalidation messages to this channel and if subscribed to __valkey__:invalidate we send to that channel.
Invalidation messages for client-side caching (see CLIENT TRACKING) are sent to the special channel
__redis__:invalidate.Simply changing it would make Valkey incompatible with Redis OSS 7.2, so we don't want to do it like that. We want to change this channel name in a backward-compatible way:
If the client is subscribed to
__redis__:invalidate, we send the invalidation messages to this channel and if subscribed to__valkey__:invalidatewe send to that channel.